home *** CD-ROM | disk | FTP | other *** search
/ OpenStep 4.2J (Developer) / os42jdev.iso / NextDeveloper / OpenStepConversion / ConversionScripts / NSNameConversion.tops < prev    next >
Text File  |  1996-08-30  |  51KB  |  1,719 lines

  1. /*********** NSNameConversion: DPS Defines ***********/
  2.  
  3. replace "NX_CLEAR" with "NSCompositeClear"
  4.  
  5. replace "NX_COPY" with "NSCompositeCopy"
  6.  
  7. replace "NX_SOVER" with "NSCompositeSourceOver"
  8.  
  9. replace "NX_SIN" with "NSCompositeSourceIn"
  10.  
  11. replace "NX_SOUT" with "NSCompositeSourceOut"
  12.  
  13. replace "NX_SATOP" with "NSCompositeSourceAtop"
  14.  
  15. replace "NX_DOVER" with "NSCompositeDestinationOver"
  16.  
  17. replace "NX_DIN" with "NSCompositeDestinationIn"
  18.  
  19. replace "NX_DOUT" with "NSCompositeDestinationOut"
  20.  
  21. replace "NX_DATOP" with "NSCompositeDestinationAtop"
  22.  
  23. replace "NX_XOR" with "NSCompositeXOR"
  24.  
  25. replace "NX_PLUSD" with "NSCompositePlusDarker"
  26.  
  27. replace "NX_HIGHLIGHT" with "NSCompositeHighlight"
  28.  
  29. replace "NX_PLUSL" with "NSCompositePlusLighter"
  30.  
  31. replace "NX_DATA" with "NSAlphaEqualToData"
  32.  
  33. replace "NX_ONES" with "NSAlphaAlwaysOne"
  34.  
  35. replace "NX_RETAINED" with "NSBackingStoreRetained"
  36.  
  37. replace "NX_NONRETAINED" with "NSBackingStoreNonretained"
  38.  
  39. replace "NX_BUFFERED" with "NSBackingStoreBuffered"
  40.  
  41. replace "NX_ABOVE" with "NSWindowAbove"
  42.  
  43. replace "NX_BELOW" with "NSWindowBelow"
  44.  
  45. replace "NX_OUT" with "NSWindowOut"
  46.  
  47. /*********** NSNameConversion: IM Defines ***********/
  48.  
  49. replace "BACKHALF" with "NSBackIMHalf"
  50.  
  51. replace "FRONTHALF" with "NSFrontIMHalf"
  52.  
  53. replace "IM_COLOREDINLINEINPUT" with "NSIMColorInlineInput"
  54.  
  55. replace "IM_COLORINLINEINPUT" with "NSIMColorInlineInput"
  56.  
  57. replace "IM_HIGHLIGHT" with "NSIMHighlightModeMatrix"
  58.  
  59. replace "IM_INLINEINPUT" with "NSIMInlineInput"
  60.  
  61. replace "IM_NOATTRIBUTE" with "NSNoIMAttribute"
  62.  
  63. replace "IM_NOSUPPORT" with "NSIMNoSupport"
  64.  
  65. replace "IM_PORTNAMEENTRY" with "NSInputManagerPortName"
  66.  
  67. replace "IM_UNDERLINE" with "NSUnderlineIMAttribute"
  68.  
  69. replace "IM_WINDOWINPUT" with "NSIMWindowInput"
  70.  
  71. /*********** NSNameConversion: Globals ***********/
  72.  
  73. replace "NXApp" with "NSApp"
  74.   
  75. replace "NXarrow" with "[NSCursor arrowCursor]"
  76.  
  77. replace "NXArrow" with "[NSCursor arrowCursor]"
  78.  
  79. replace "NXAsciiPboard" with "NSStringPboardType"
  80.  
  81. replace "NXAsciiPboardType" with "NSStringPboardType"
  82.  
  83. replace "NXColorPboardType" with "NSColorPboardType"
  84.  
  85. replace "NXColorSpaceFromDepth" with "NSColorSpaceFromDepth"
  86.  
  87. replace "NXDirectoryFileType" with "NSDirectoryFileType"
  88.  
  89. replace "NXDragOperation" with "unsigned int"
  90.  
  91. replace "NXDragPboard" with "NSDragPboard"
  92.  
  93. replace "NXFileContentsPboardType" with "NSFileContentsPboardType"
  94.  
  95. replace "NXFilenamePboard" with "NSFilenamesPboardType"
  96.  
  97. replace "NXFilenamePboardType" with "NSFilenamesPboardType"
  98.  
  99. replace "NXFindInfoPBName" with "NSFindPboard"
  100.  
  101. replace "NXFindInfoPboard" with "NSFindPboardType"
  102.  
  103. replace "NXFindPboard" with "NSFindPboard"
  104.  
  105. replace "NXFontPBName" with "NSFontPboard"
  106.  
  107. replace "NXFontPboard" with "NSFontPboard"
  108.  
  109. replace "NXFontPboardType" with "NSFontPboardType"
  110.  
  111. replace "NXGeneralPboard" with "NSGeneralPboard"
  112.  
  113. replace "NXibeam" with "[NSCursor IBeamCursor]"
  114.  
  115. replace "NXIBeam" with "[NSCursor IBeamCursor]"
  116.  
  117. replace "NXJournalerRequest" with "NSJournalerRequest"
  118.  
  119. replace "NXMeasurementUnit" with "NSMeasurementUnit"
  120.  
  121. replace "NXParagraphProp" with "NSParagraphProperty"
  122.  
  123. replace "NXPostScriptPboard" with "NSPostScriptPboardType"
  124.  
  125. replace "NXPostScriptPboardType" with "NSPostScriptPboardType"
  126.  
  127. replace "NXRTFPboard" with "NSRTFPboardType"
  128.  
  129. replace "NXRTFPboardType" with "NSRTFPboardType"
  130.  
  131. replace "NXRulerPBName" with "NSRulerPboard"
  132.  
  133. replace "NXRulerPboard" with "NSRulerPboard"
  134.  
  135. replace "NXRulerPboardType" with "NSRulerPboardType"
  136.  
  137. replace "NXSelectionPBName" with "NSGeneralPboard"
  138.  
  139. replace "NXScreenDump" with "NSScreenDump"
  140.  
  141. replace "NXSelectionPboard" with "NSGeneralPboard"
  142.  
  143. replace "NXSelectionPboardType" with "NSGeneralPboardType"
  144.  
  145. replace "NXTIFFPboard" with "NSTIFFPboardType"
  146.  
  147. replace "NXTIFFPboardType" with "NSTIFFPboardType"
  148.  
  149. replace "NXTabularTextPboard" with "NSTabularTextPboardType"
  150.  
  151. replace "NXTabularTextPboardType" with "NSTabularTextPboardType"
  152.  
  153. replace "NXWindowDepth" with "NSWindowDepth"
  154.  
  155. replace "NXWindowDepthType" with "NSWindowDepth"
  156.  
  157. /*********** NSNameConversion: NX Defines ***********/
  158.  
  159. replace "NX_17MAPPING" with "NS17FontMapping"
  160.  
  161. replace "NX_88MAPPING" with "NS88FontMapping"
  162.  
  163. replace "NX_97MAPPING" with "NS97FontMapping"
  164.  
  165. replace "NX_ABOVEBOTTOM" with "NSAboveBottom"
  166.  
  167. replace "NX_ABOVETOP" with "NSAboveTop"
  168.  
  169. replace "NX_ACKNOWLEDGE" with "NSAcknowledge"
  170.  
  171. replace "NX_ADDTAB" with "NSAddTabParagraph"
  172.  
  173. replace "NX_ADDTRAIT" with "NSAddTraitFontAction"
  174.  
  175. replace "NX_ALERTALTERNATE" with "NSAlertAlternateReturn"
  176.  
  177. replace "NX_ALERTDEFAULT" with "NSAlertDefaultReturn"
  178.  
  179. replace "NX_ALERTERROR" with "NSAlertErrorReturn"
  180.  
  181. replace "NX_ALERTOTHER" with "NSAlertOtherReturn"
  182.  
  183. replace "NX_ALLMODESMASK" with "NSColorPanelAllModesMask"
  184.  
  185. replace "NX_ALPHABITMAP" with "NSAlphaBitmap"
  186.  
  187. replace "NX_ANYTYPE" with "NSAnyType"
  188.  
  189. replace "NX_APPACT" with "NSApplicationActivatedEventType"
  190.  
  191. replace "NX_APPBASE" with same
  192.     error "NSNameConversion:  NX_APPBASE is obsolete.  The exception mechanism in OpenStep is very different from NextStep 3.x.  Please see the Conversion Guide for a discussion of the new exception mechanism."
  193.  
  194. replace "NX_APPDEACT" with "NSApplicationDeactivatedEventType"
  195.  
  196. replace "NX_APPICONWINDOW" with "NSJournalerApplicationIconWindowCode"
  197.  
  198. replace "NX_APPKITERRBASE" with same
  199.     error "NSNameConversion:  NX_APPKITERRBASE is obsolete.  The exception mechanism in OpenStep is very different from NextStep 3.x.  Please see the Conversion Guide for a discussion of the new exception mechanism."
  200.  
  201. replace "NX_APPKIT_ERROR_BASE" with same
  202.     error "NSNameConversion:  NX_APPKIT_ERROR_BASE is obsolete.  The exception mechanism in OpenStep is very different from NextStep 3.x.  Please see the Conversion Guide for a discussion of the new exception mechanism."
  203.  
  204. replace "NX_APPPOSTYPE" with "NSMsgApplicationPosition"
  205.  
  206. replace "NX_APP_ERROR_BASE" with same
  207.     error "NSNameConversion:  NX_APP_ERROR_BASE is obsolete.  The exception mechanism in OpenStep is very different from NextStep 3.x.  Please see the Conversion Guide for a discussion of the new exception mechanism."
  208.  
  209. replace "NX_ASCENDINGORDER" with "NSAscendingPageOrder"
  210.  
  211. replace "NX_ATBOTTOM" with "NSAtBottom"
  212.  
  213. replace "NX_ATTOP" with "NSAtTop"
  214.  
  215. replace "NX_AUTOPAGINATION" with "NSAutoPagination"
  216.  
  217. replace "NX_BACKSPACE" with "NSBackspaceKey"
  218.  
  219. replace "NX_BACKTAB" with "NSBacktabTextMovement"
  220.  
  221. replace "NX_badBitmapParams" with "NSBadBitmapParametersException"
  222.  
  223. replace "NX_BASEFONTMAPPING" with "NSBaseFontMapping"
  224.  
  225. replace "NX_BASETHRESHOLD" with "NSBaseThreshhold"
  226.  
  227. replace "NX_BELOWBOTTOM" with "NSBelowBottom"
  228.  
  229. replace "NX_BELOWTOP" with "NSBelowTop"
  230.  
  231. replace "NX_BEZEL" with "NSBezelBorder"
  232.  
  233. replace "NX_BOLD" with "NSBoldFontMask"
  234.  
  235. replace "NX_BORDERED" with "NSCellIsBordered"
  236.  
  237. replace "NX_BTAB" with "NSBacktabKey"
  238.  
  239. replace "NX_BUTTONINSET" with "NSCellIsInsetButton"
  240.  
  241. replace "NX_CANCELTAG" with "NSCancelButton"
  242.  
  243. replace "NX_CELLDISABLED" with "NSCellDisabled"
  244.  
  245. replace "NX_CELLEDITABLE" with "NSCellEditable"
  246.  
  247. replace "NX_CELLHIGHLIGHTED" with "NSCellHighlighted"
  248.  
  249. replace "NX_CELLSTATE" with "NSCellState"
  250.  
  251. replace "NX_CENTERALIGN" with "NSCenterAlignedParagraph"
  252.  
  253. replace "NX_CENTERED" with "NSCenterTextAlignment"
  254.  
  255. replace "NX_CHANGEBACKGROUND" with "NSChangeBackgroundCellMask"
  256.  
  257. replace "NX_CHANGECONTENTS" with "NSCellChangesContents"
  258.  
  259. replace "NX_CHANGEGRAY" with "NSChangeGrayCellMask"
  260.  
  261. replace "NX_CHANGETRAIT" with "NSAddTraitFontAction"
  262.  
  263. replace "NX_CHARNUMPOSTYPE" with "NSMsgCharacterNumberPosition"
  264.  
  265. replace "NX_CLIPPAGINATION" with "NSClipPagination"
  266.  
  267. replace "NX_CMYKColorSpace" with "NSCMYKColorSpace"
  268.  
  269. replace "NX_CMYKMODE" with "NSCMYKModeColorPanel"
  270.  
  271. replace "NX_CMYKMODEMASK" with "NSColorPanelCMYKModeMask"
  272.  
  273. replace "NX_CODEC" with "NSCODECRecordingDevice"
  274.  
  275. replace "NX_COLORLISTMODE" with "NSColorListModeColorPanel"
  276.  
  277. replace "NX_COLORLISTMODEMASK" with "NSColorPanelColorListModeMask"
  278.  
  279. replace "NX_COMPRESSED" with "NSCompressedFontMask"
  280.  
  281. replace "NX_CONDENSED" with "NSCondensedFontMask"
  282.  
  283. replace "NX_CONTENTS" with "NSContentsCellMask"
  284.  
  285. replace "NX_CPCANCELBUTTON" with "NSCPCancelButton"
  286.  
  287. replace "NX_CPHOSTTITLE" with "NSCPHostTitle"
  288.  
  289. replace "NX_CPICONBUTTON" with "NSCPImageButton"
  290.  
  291. replace "NX_CPNAMETITLE" with "NSCPNameTitle"
  292.  
  293. replace "NX_CPOKBUTTON" with "NSCPOkButton"
  294.  
  295. replace "NX_CPPORTTITLE" with "NSCPPortTitle"
  296.  
  297. replace "NX_CPPRINTERNAMEFIELD" with "NSCPPrinterNameField"
  298.  
  299. replace "NX_CPPRINTERNAMETITLE" with "NSCPPrinterNameTitle"
  300.  
  301. replace "NX_CPPRINTERNOTEFIELD" with "NSCPPrinterNoteField"
  302.  
  303. replace "NX_CPPRINTERNOTETITLE" with "NSCPPrinterNoteTitle"
  304.  
  305. replace "NX_CPPRINTERTYPEFIELD" with "NSCPPrinterTypeField"
  306.  
  307. replace "NX_CPPRINTERTYPETITLE" with "NSCPPrinterTypeTitle"
  308.  
  309. replace "NX_CPTITLEFIELD" with "NSCPTitleField"
  310.  
  311. replace "NX_CPTYPETITLE" with "NSCPTypeTitle"
  312.  
  313. replace "NX_CR" with "NSCarriageReturnKey"
  314.  
  315. replace "NX_CUSTOMPALETTEMODE" with "NSCustomPaletteModeColorPanel"
  316.  
  317. replace "NX_CUSTOMPALETTEMODEMASK" with "NSColorPanelCustomPaletteModeMask"
  318.  
  319. replace "NX_CUSTOMPALETTE_INSERTION" with same
  320.     error "NSNameConversion:  NX_CUSTOMPALETTE_INSERTION is obsolete because insertionOrder in NSColorPickerDefaults is obsolete. Remove insertionOrder from your code."
  321.  
  322. replace "NX_CustomColorSpace" with "NSCustomColorSpace"
  323.  
  324. replace "NX_DATETYPE" with "NSDateType"
  325.  
  326. replace "NX_DECLINE" with "NSScrollerDecrementLine"
  327.  
  328. replace "NX_DECPAGE" with "NSScrollerDecrementPage"
  329.  
  330. replace "NX_DELETE" with "NSDeleteKey"
  331.  
  332. replace "NX_DESCENDINGORDER" with "NSDescendingPageOrder"
  333.  
  334. replace "NX_DOCKLEVEL" with "NSDockWindowLevel"
  335.  
  336. replace "NX_DOUBLETYPE" with "NSDoubleType"
  337.  
  338. replace "NX_DOWN" with "NSDownTextMovement"
  339.  
  340. replace "NX_DSP" with "NSDSPRecordingDevice"
  341.  
  342. replace "NX_DragOperationAll" with "NSDragOperationAll"
  343.  
  344. replace "NX_DragOperationCopy" with "NSDragOperationCopy"
  345.  
  346. replace "NX_DragOperationGeneric" with "NSDragOperationGeneric"
  347.  
  348. replace "NX_DragOperationLink" with "NSDragOperationLink"
  349.  
  350. replace "NX_DragOperationNone" with "NSDragOperationNone"
  351.  
  352. replace "NX_DragOperationPrivate" with "NSDragOperationPrivate"
  353.  
  354. replace "NX_EPSSEGMENT" with "NSEPSSegment"
  355.  
  356. replace "NX_ESCAPEMAPPING" with "NSEscapeFontMapping"
  357.  
  358. replace "NX_EXPANDED" with "NSExpandedFontMask"
  359.  
  360. replace "NX_FAXTAG" with "NSFaxButton"
  361.  
  362. replace "NX_FIGSPACE" with "NSFontFigureSpace"
  363.  
  364. replace "NX_FIRSTINDENT" with "NSFirstIndentParagraph"
  365.  
  366. replace "NX_FITPAGINATION" with "NSFitPagination"
  367.  
  368. replace "NX_FLOATINGLEVEL" with "NSFloatingWindowLevel"
  369.  
  370. replace "NX_FLOATTYPE" with "NSFloatType"
  371.  
  372. replace "NX_FONTCHARDATA" with "NSFontCharacterData"
  373.  
  374. replace "NX_FONTCOMPOSITES" with "NSFontComposites"
  375.  
  376. replace "NX_FONTHEADER" with "NSFontHeader"
  377.  
  378. replace "NX_FONTKERNING" with "NSFontKerning"
  379.  
  380. replace "NX_FONTMETRICS" with "NSFontMetrics"
  381.  
  382. replace "NX_FONTWIDTHS" with "NSFontWidths"
  383.  
  384. replace "NX_FPCURRENTFIELD" with "NSFPCurrentField"
  385.  
  386. replace "NX_FPPREVIEWBUTTON" with "NSFPPreviewButton"
  387.  
  388. replace "NX_FPPREVIEWFIELD" with "NSFPPreviewField"
  389.  
  390. replace "NX_FPREVERTBUTTON" with "NSFPRevertButton"
  391.  
  392. replace "NX_FPSETBUTTON" with "NSFPSetButton"
  393.  
  394. replace "NX_FPSIZEFIELD" with "NSFPSizeField"
  395.  
  396. replace "NX_FPSIZETITLE" with "NSFPSizeTitle"
  397.  
  398. replace "NX_GR" with "NSGRFontMapping"
  399.  
  400. replace "NX_GRAYMODE" with "NSGrayModeColorPanel"
  401.  
  402. replace "NX_GRAYMODEMASK" with "NSColorPanelGrayModeMask"
  403.  
  404. replace "NX_GROOVE" with "NSGrooveBorder"
  405.  
  406. replace "NX_HEAVIER" with "NSHeavierFontAction"
  407.  
  408. replace "NX_HEIGHTSIZABLE" with "NSViewHeightSizable"
  409.  
  410. replace "NX_HIGHLIGHTMODE" with "NSIMHighlightModeMatrix"
  411.  
  412. replace "NX_HSBMODE" with "NSHSBModeColorPanel"
  413.  
  414. replace "NX_HSBMODEMASK" with "NSColorPanelHSBModeMask"
  415.  
  416. replace "NX_ICONABOVE" with "NSImageAbove"
  417.  
  418. replace "NX_ICONBELOW" with "NSImageBelow"
  419.  
  420. replace "NX_ICONCELL" with "NSIconCellType"
  421.  
  422. replace "NX_ICONHEIGHT" with "NSIconSize.height"
  423.  
  424. replace "NX_ICONHORIZONTAL" with "NSCellHasIconHorizontal"
  425.  
  426. replace "NX_ICONLEFT" with "NSImageLeft"
  427.  
  428. replace "NX_ICONONLEFTORBOTTOM" with "NSCellHasImageOnLeftOrBottom"
  429.  
  430. replace "NX_ICONONLY" with "NSImageOnly"
  431.  
  432. replace "NX_ICONOVERLAPS" with "NSImageOverlaps"
  433.  
  434. replace "NX_ICONRIGHT" with "NSImageRight"
  435.  
  436. replace "NX_ICONSEGMENT" with "NSIconSegment"
  437.  
  438. replace "NX_ICONWIDTH" with "NSIconSize.width"
  439.  
  440. replace "NX_ILLEGAL" with "NSIllegalTextMovement"
  441.  
  442. replace "NX_INCLINE" with "NSScrollerIncrementLine"
  443.  
  444. replace "NX_INCORRECTMESSAGE" with "NSIncorrectMessage"
  445.  
  446. replace "NX_INCPAGE" with "NSScrollerIncrementPage"
  447.  
  448. replace "NX_INDENT" with "NSIndentParagraph"
  449.  
  450. replace "NX_INTTYPE" with "NSIntType"
  451.  
  452. replace "NX_ISAPPLICATION" with same 
  453.     error "NSNameConversion:  NX_ISAPPLICATION is obsolete because Speaker and Listener are obsolete. Use DO instead."
  454.  
  455. replace "NX_ISDIRECTORY" with same
  456.     error "NSNameConversion:  NX_ISDIRECTORY is obsolete because Speaker and Listener are obsolete. Use DO instead."
  457.  
  458. replace "NX_ISFILE" with same
  459.     error "NSNameConversion:  NX_ISFILE is obsolete because Speaker and Listener are obsolete. Use DO instead."
  460.  
  461. replace "NX_ISFLOPPYMOUNT" with same
  462.     error "NSNameConversion:  NX_ISFLOPPYMOUNT is obsolete because Speaker and Listener are obsolete. Use DO instead."
  463.  
  464. replace "NX_ISNETMOUNT" with same
  465.     error "NSNameConversion:  NX_ISNETMOUNT is obsolete because Speaker and Listener are obsolete. Use DO instead."
  466.  
  467. replace "NX_ISODMOUNT" with same
  468.     error "NSNameConversion:  NX_ISODMOUNT is obsolete because Speaker and Listener are obsolete. Use DO instead."
  469.  
  470. replace "NX_ISSCSIMOUNT" with same
  471.     error "NSNameConversion:  NX_ISSCSIMOUNT is obsolete because Speaker and Listener are obsolete. Use DO instead."
  472.  
  473. replace "NX_ITALIC" with "NSItalicFontMask"
  474.  
  475. replace "NX_JOURNALFLAG" with "NSJournalFlag"
  476.  
  477. replace "NX_JOURNALFLAGMASK" with "NSJournalFlagMask"
  478.  
  479. replace "NX_JOURNALREQUEST" with "NSJournalerRequest"
  480.  
  481. replace "NX_JUMP" with "NSScrollerKnobSlot"
  482.  
  483. replace "NX_JUSTALIGN" with "NSJustificationAlignedParagraph"
  484.  
  485. replace "NX_JUSTIFIED" with "NSJustifiedTextAlignment"
  486.  
  487. replace "NX_KEYWINDOW" with "NSJournalerKeyWindowCode"
  488.  
  489. replace "NX_KNOB" with "NSScrollerKnob"
  490.  
  491. replace "NX_KNOBSLOT" with "NSScrollerKnobSlot"
  492.  
  493. replace "NX_LANDSCAPE" with "NSLandscapeOrientation"
  494.  
  495. replace "NX_LASTJRNEVENT" with "NSLastJournalerEventJournalerEvent"
  496.  
  497. replace "NX_LEFT" with "NSLeftTextMovement"
  498.  
  499. replace "NX_LEFTALIGN" with "NSLeftAlignedParagraph"
  500.  
  501. replace "NX_LEFTALIGNED" with "NSLeftTextAlignment"
  502.  
  503. replace "NX_LEFTMARGIN" with "NSLeftMarginParagraph"
  504.  
  505. replace "NX_LEFTTAB" with "NSLefttabKey"
  506.  
  507. replace "NX_LIGHTBYBACKGROUND" with "NSCellLightsByBackground"
  508.  
  509. replace "NX_LIGHTBYCONTENTS" with "NSCellLightsByContents"
  510.  
  511. replace "NX_LIGHTBYGRAY" with "NSCellLightsByGray"
  512.  
  513. replace "NX_LIGHTER" with "NSLighterFontAction"
  514.  
  515. replace "NX_LINE" with "NSLineBorder"
  516.  
  517. replace "NX_LINENUMPOSTYPE" with "NSMsgLineNumberPosition"
  518.  
  519. replace "NX_LISTMODE" with "NSListModeMatrix"
  520.  
  521. replace "NX_LIST_INSERTION" with same
  522.     error "NSNameConversion:  NX_LIST_INSERTION is obsolete because insertionOrder in NSColorPickerDefaults is obsolete. Remove insertionOrder from your code."
  523.  
  524. replace "NX_MAINMENU" with "NSJournalerMainMenuCode"
  525.  
  526. replace "NX_MAINMENULEVEL" with "NSMainMenuWindowLevel"
  527.  
  528. replace "NX_MAINWINDOW" with "NSJournalerMainWindowCode"
  529.  
  530. replace "NX_MATCHESDEVICE" with "NSImageRepMatchesDevice"
  531.  
  532. replace "NX_MAXFRAMESTRINGLENGTH" with same
  533.     error "NSNameConversion:  NX_MAXFRAMESTRINGLENGTH is obsolete because it is no longer necessary."
  534.  
  535. replace "NX_MAXMESSAGE" with "NSMaxMessage"
  536.  
  537. replace "NX_MAXMSGPARAMS" with "NSMaxRemoteMethodParameters"
  538.  
  539. replace "NX_MAXXMARGINSIZABLE" with "NSViewMaxXMargin"
  540.  
  541. replace "NX_MAXYMARGINSIZABLE" with "NSViewMaxYMargin"
  542.  
  543. replace "NX_MINXMARGINSIZABLE" with "NSViewMinXMargin"
  544.  
  545. replace "NX_MINYMARGINSIZABLE" with "NSViewMinYMargin"
  546.  
  547. replace "NX_MODALRESPTHRESHOLD" with "NSModalResponseThreshold"
  548.  
  549. replace "NX_MOMENTARYCHANGE" with "NSMomentaryChangeButton"
  550.  
  551. replace "NX_MOMENTARYPUSH" with "NSMomentaryPushButton"
  552.  
  553. replace "NX_MOUSEDOWNWINDOW" with "NSJournalerMouseDownWindowCode"
  554.  
  555. replace "NX_MOUSELOCATION" with "NSMouseLocationJournalerEvent"
  556.  
  557. replace "NX_NARROW" with "NSNarrowFontMask"
  558.  
  559. replace "NX_NOALPHA" with "NSNoAlpha"
  560.  
  561. replace "NX_NOALPHABITMAP" with "NSNoAlphaBitmap"
  562.  
  563. replace "NX_NOBORDER" with "NSNoBorder"
  564.  
  565. replace "NX_NOFONTCHANGE" with "NSNoFontChangeAction"
  566.  
  567. replace "NX_NONABORTABLEFLAG" with "NSJournalerNonAbortableFlag"
  568.  
  569. replace "NX_NONABORTABLEMASK" with "NSJournalerNonabortableMask"
  570.  
  571. replace "NX_NONE" with "NSNoCellMask"
  572.  
  573. replace "NX_NONSTANDARDCHARSET" with "NSNonStandardCharacterSetFontMask"
  574.  
  575. replace "NX_NOPART" with "NSScrollerNoPart"
  576.  
  577. replace "NX_NORMALLEVEL" with "NSNormalWindowLevel"
  578.  
  579. replace "NX_NOTITLE" with "NSNoTitle"
  580.  
  581. replace "NX_NOTSIZABLE" with "NSViewNotSizable"
  582.  
  583. replace "NX_NULLCELL" with "NSNullCellType"
  584.  
  585. replace "NX_OKTAG" with "NSOKButton"
  586.  
  587. replace "NX_ONOFF" with "NSOnOffButton"
  588.  
  589. replace "NX_OPCANCELBUTTON" with "NSFileHandlingPanelCancelButton"
  590.  
  591. replace "NX_OPFORM" with "NSFileHandlingPanelForm"
  592.  
  593. replace "NX_OPICONBUTTON" with "NSFileHandlingPanelImageButton"
  594.  
  595. replace "NX_OPOKBUTTON" with "NSFileHandlingPanelOkButton"
  596.  
  597. replace "NX_OPTITLEFIELD" with "NSFileHandlingPanelTitleField"
  598.  
  599. replace "NX_OVERLAPPINGICON" with "NSCellHasOverlappingIcon"
  600.  
  601. replace "NX_OneIsBlackColorSpace" with "NSOneIsBlackColorSpace"
  602.  
  603. replace "NX_OneIsWhiteColorSpace" with "NSOneIsWhiteColorSpace"
  604.  
  605. replace "NX_PERIODICMASK" with "NSPeriodicMask"
  606.  
  607. replace "NX_PLAYING" with "NSJournalerPlaying"
  608.  
  609. replace "NX_PLCANCELBUTTON" with "NSPLCancelButton"
  610.  
  611. replace "NX_PLHEIGHTFORM" with "NSPLHeightForm"
  612.  
  613. replace "NX_PLICONBUTTON" with "NSPLImageButton"
  614.  
  615. replace "NX_PLOKBUTTON" with "NSPLOKButton"
  616.  
  617. replace "NX_PLPAPERSIZEBUTTON" with "NSPLPaperSizeButton"
  618.  
  619. replace "NX_PLPORTLANDMATRIX" with "NSPLOrientationMatrix"
  620.  
  621. replace "NX_PLTITLEFIELD" with "NSPLTitleField"
  622.  
  623. replace "NX_PLUNITSBUTTON" with "NSPLUnitsButton"
  624.  
  625. replace "NX_PLWIDTHFORM" with "NSPLWidthForm"
  626.  
  627. replace "NX_PORTRAIT" with "NSPortraitOrientation"
  628.  
  629. replace "NX_POSDOUBLETYPE" with "NSPositiveDoubleType"
  630.  
  631. replace "NX_POSFLOATTYPE" with "NSPositiveFloatType"
  632.  
  633. replace "NX_POSINTTYPE" with "NSPositiveIntType"
  634.  
  635. replace "NX_POSTER" with "NSPosterFontMask"
  636.  
  637. replace "NX_POWEROFF" with "NSPowerOffEventType"
  638.  
  639. replace "NX_PPAUTOMANUALBUTTON" with "NSPPAutomanualButton"
  640.  
  641. replace "NX_PPCOPIESFIELD" with "NSPPCopiesField"
  642.  
  643. replace "NX_PPICONBUTTON" with "NSPPImageButton"
  644.  
  645. replace "NX_PPNAMEFIELD" with "NSPPNameField"
  646.  
  647. replace "NX_PPNAMETITLE" with "NSPPNameTitle"
  648.  
  649. replace "NX_PPNOTEFIELD" with "NSPPNoteField"
  650.  
  651. replace "NX_PPNOTETITLE" with "NSPPNoteTitle"
  652.  
  653. replace "NX_PPPAGECHOICEMATRIX" with "NSPPPageChoiceMatrix"
  654.  
  655. replace "NX_PPPAGERANGEFROM" with "NSPPPageRangeFrom"
  656.  
  657. replace "NX_PPPAGERANGETO" with "NSPPPageRangeTo"
  658.  
  659. replace "NX_PPRESOLUTIONBUTTON" with "NSPPResolutionButton"
  660.  
  661. replace "NX_PPSTATUSFIELD" with "NSPPStatusField"
  662.  
  663. replace "NX_PPSTATUSTITLE" with "NSPPStatusTitle"
  664.  
  665. replace "NX_PPTITLEFIELD" with "NSPPTitleField"
  666.  
  667. replace "NX_PREVIEWTAG" with "NSPPPreviewButton"
  668.  
  669. replace "NX_PRINTERTABLEERROR" with "NSPrinterTableError"
  670.  
  671. replace "NX_PRINTERTABLENOTFOUND" with "NSPrinterTableNotFound"
  672.  
  673. replace "NX_PRINTERTABLEOK" with "NSPrinterTableOK"
  674.  
  675. replace "NX_PRINTKEYMAXLEN" with "NSMaxCharactersInPrintKey"
  676.  
  677. replace "NX_PUSHIN" with "NSPushInCellMask"
  678.  
  679. replace "NX_PUSHONPUSHOFF" with "NSPushOnPushOffButton"
  680.  
  681. replace "NX_RADIOBUTTON" with "NSRadioButton"
  682.  
  683. replace "NX_RADIOMODE" with "NSRadioModeMatrix"
  684.  
  685. replace "NX_RCVTIMEOUT" with "NSDefaultSendAndReceiveTimeout"
  686.  
  687. replace "NX_RECORDING" with "NSJournalerRecording"
  688.  
  689. replace "NX_REGEXPRPOSTYPE" with "NSMsgRegularExpressionPosition"
  690.  
  691. replace "NX_REMOVETAB" with "NSRemoveTabParagraph"
  692.  
  693. replace "NX_REMOVETRAIT" with "NSRemoveTraitFontAction"
  694.  
  695. replace "NX_RESPONSEMSG" with "NSResponseMessage"
  696.  
  697. replace "NX_RETURN" with "NSReturnTextMovement"
  698.  
  699. replace "NX_RGBColorSpace" with "NSCalibratedRGBColorSpace"
  700.  
  701. replace "NX_RGBMODE" with "NSRGBModeColorPanel"
  702.  
  703. replace "NX_RGBMODEMASK" with "NSColorPanelRGBModeMask"
  704.  
  705. replace "NX_RIDGE" with "NSGrooveBorder"
  706.  
  707. replace "NX_RIGHT" with "NSRightTextMovement"
  708.  
  709. replace "NX_RIGHTALIGN" with "NSRightAlignedParagraph"
  710.  
  711. replace "NX_RIGHTALIGNED" with "NSRightTextAlignment"
  712.  
  713. replace "NX_RIGHTMARGIN" with "NSRightMarginParagraph"
  714.  
  715. replace "NX_RUNABORTED" with "NSRunAbortedResponse"
  716.  
  717. replace "NX_RUNCONTINUES" with "NSRunContinuesResponse"
  718.  
  719. replace "NX_RUNMODALTHRESHOLD" with "NSRunModalThreshold"
  720.  
  721. replace "NX_RUNSTOPPED" with "NSRunStoppedResponse"
  722.  
  723. replace "NX_SAVETAG" with "NSPPSaveButton"
  724.  
  725. replace "NX_SCREENCHANGED" with "NSScreenChangedEventType"
  726.  
  727. replace "NX_SCROLLARROWSMAXEND" with "NSScrollerArrowsMaxEnd"
  728.  
  729. replace "NX_SCROLLARROWSMINEND" with "NSScrollerArrowsMinEnd"
  730.  
  731. replace "NX_SCROLLARROWSNONE" with "NSScrollerArrowsNone"
  732.  
  733. replace "NX_SCROLLERALLPARTS" with "NSAllScrollerParts"
  734.  
  735. replace "NX_SCROLLERNOPARTS" with "NSNoScrollerParts"
  736.  
  737. replace "NX_SCROLLERONLYARROWS" with "NSOnlyScrollerArrows"
  738.  
  739. replace "NX_SCROLLERWIDTH" with "[Scroller scrollerWidth]"
  740.  
  741. replace "NX_SELECTORFMSG" with "NSSelectorFMessage"
  742.  
  743. replace "NX_SELECTORPMSG" with "NSSelectorPMessage"
  744.  
  745. replace "NX_SENDTIMEOUT" with "NSDefaultSendAndReceiveTimeout"
  746.  
  747. replace "NX_SIZEDOWN" with "NSSizeDownFontAction"
  748.  
  749. replace "NX_SIZEUP" with "NSSizeUpFontAction"
  750.  
  751. replace "NX_SLIDERS_INSERTION" with same
  752.     error "NSNameConversion: NX_SLIDERS_INSERTION is obsolete because insertionOrder in NSColorPickerDefaults is obsolete. Remove insertionOrder from your code."
  753.  
  754. replace "NX_SMALLCAPS" with "NSSmallCapsFontMask"
  755.  
  756. replace "NX_SPBROWSER" with "NSFileHandlingPanelBrowser"
  757.  
  758. replace "NX_SPCANCELBUTTON" with "NSFileHandlingPanelCancelButton"
  759.  
  760. replace "NX_SPECIALORDER" with "NSSpecialPageOrder"
  761.  
  762. replace "NX_SPFORM" with "NSFileHandlingPanelForm"
  763.  
  764. replace "NX_SPICONBUTTON" with "NSFileHandlingPanelImageButton"
  765.  
  766. replace "NX_SPOKBUTTON" with "NSFileHandlingPanelOKButton"
  767.  
  768. replace "NX_SPTITLEFIELD" with "NSFileHandlingPanelTitleField"
  769.  
  770. replace "NX_SS2" with "NSSS2FontMapping"
  771.  
  772. replace "NX_STOPPED" with "NSJournalerStopped"
  773.  
  774. replace "NX_SUBMENULEVEL" with "NSSubmenuWindowLevel"
  775.  
  776. replace "NX_SUBSVECTORMAPPING" with "NSSubsvectorFontMapping"
  777.  
  778. replace "NX_SWITCH" with "NSSwitchButton"
  779.  
  780. replace "NX_TAB" with "NSTabTextMovement"
  781.  
  782. replace "NX_TEXTCELL" with "NSTextCellType"
  783.  
  784. replace "NX_TEXTPER" with "NSTextBlockSize"
  785.  
  786. replace "NX_TEXTPOSTYPE" with "NSMsgTextPosition"
  787.  
  788. replace "NX_TIFFSEGMENT" with "NSTIFFSegment"
  789.  
  790. replace "NX_TIFF_COMPRESSION_CCITTFAX3" with "NSTIFFCompressionCCITTFAX3"
  791.  
  792. replace "NX_TIFF_COMPRESSION_CCITTFAX4" with "NSTIFFCompressionCCITTFAX4"
  793.  
  794. replace "NX_TIFF_COMPRESSION_JPEG" with "NSTIFFCompressionJPEG"
  795.  
  796. replace "NX_TIFF_COMPRESSION_LZW" with "NSTIFFCompressionLZW"
  797.  
  798. replace "NX_TIFF_COMPRESSION_NEXT" with "NSTIFFCompressionNEXT"
  799.  
  800. replace "NX_TIFF_COMPRESSION_NONE" with "NSTIFFCompressionNone"
  801.  
  802. replace "NX_TIFF_COMPRESSION_OLDJPEG" with "NSTIFFCompressionOldJPEG"
  803.  
  804. replace "NX_TIFF_COMPRESSION_PACKBITS" with "NSTIFFCompressionPackBits"
  805.  
  806. replace "NX_tiffError" with "NSTIFFException"
  807.  
  808. replace "NX_TITLEONLY" with "NSNoImage"
  809.  
  810. replace "NX_TOGGLE" with "NSToggleButton"
  811.  
  812. replace "NX_TOKENHEIGHT" with "NSTokenSize.height"
  813.  
  814. replace "NX_TOKENWIDTH" with "NSTokenSize.width"
  815.  
  816. replace "NX_TRACKMODE" with "NSTrackModeMatrix"
  817.  
  818. replace "NX_UNBOLD" with "NSUnboldFontMask"
  819.  
  820. replace "NX_UNIQUEALPHABITMAP" with "NSUniqueAlphaBitmap"
  821.  
  822. replace "NX_UNIQUEBITMAP" with "NSUniqueBitmap"
  823.  
  824. replace "NX_UNITALIC" with "NSUnitalicFontMask"
  825.  
  826. replace "NX_UNKNOWNORDER" with "NSUnknownPageOrder"
  827.  
  828. replace "NX_UNKNOWNWINDOW" with "NSJournalerUnknownWindowCode"
  829.  
  830. replace "NX_UP" with "NSUpTextMovement"
  831.  
  832. replace "NX_UnitCentimeter" with "NSCentimeterUnit"
  833.  
  834. replace "NX_UnitInch" with "NSInchUnit"
  835.  
  836. replace "NX_UnitPica" with "NSPicaUnit"
  837.  
  838. replace "NX_UnitPoint" with "NSPointUnit"
  839.  
  840. replace "NX_VIAPANEL" with "NSViaPanelFontAction"
  841.  
  842. replace "NX_WHEELMODE" with "NSWheelModeColorPanel"
  843.  
  844. replace "NX_WHEELMODEMASK" with "NSColorPanelWheelModeMask"
  845.  
  846. replace "NX_WHEEL_INSERTION" with same
  847.     error "NSNameConversion: NX_WHEEL_INSERTION is obsolete because insertionOrder in NSColorPickerDefaults is obsolete. Remove insertionOrder from your code."
  848.     
  849. replace "NX_WIDTHSIZABLE" with "NSViewWidthSizable"
  850.  
  851. replace "NX_WINDRAGGED" with "NSWindowDraggedJournalerEvent"
  852.  
  853. replace "NX_WINEXPOSED" with "NSWindowExposedEventType"
  854.  
  855. replace "NX_WINMOVED" with "NSWindowMovedEventType"
  856.  
  857. replace "NX_WORKSPACEREPLY" with "NXWorkspaceReplyName"
  858.  
  859. replace "NX_WORKSPACEREQUEST" with "NXWorkspaceName"
  860.  
  861. /*********** NSNameConversion: WSM Defines ***********/
  862.  
  863. replace "WSM_COMPRESS_OPERATION" with "NSWorkspaceCompressOperation"
  864.  
  865. replace "WSM_COPY_OPERATION" with "NSWorkspaceCopyOperation"
  866.  
  867. replace "WSM_DECOMPRESS_OPERATION" with "NSWorkspaceDecompressOperation"
  868.  
  869. replace "WSM_DECRYPT_OPERATION" with "NSWorkspaceDecryptOperation"
  870.  
  871. replace "WSM_DESTROY_OPERATION" with "NSWorkspaceDestroyOperation"
  872.  
  873. replace "WSM_DUPLICATE_OPERATION" with "NSWorkspaceDuplicateOperation"
  874.  
  875. replace "WSM_ENCRYPT_OPERATION" with "NSWorkspaceEncryptOperation"
  876.  
  877. replace "WSM_LINK_OPERATION" with "NSWorkspaceLinkOperation"
  878.  
  879. replace "WSM_MOVE_OPERATION" with "NSWorkspaceMoveOperation"
  880.  
  881. replace "WSM_RECYCLE_OPERATION" with "NSWorkspaceRecycleOperation"
  882.  
  883. /*********** NSNameConversion: one removed enum ***********/
  884.  
  885. replace "if ([<buttoncell> getParameter:NX_ICONISKEYEQUIVALENT])" with "if ([<buttoncell> keyEquivalentFont])"
  886.  
  887. /*********** NSNameConversion: Typedefs in subclassed methods ***********/
  888.  
  889. /* this is tricky because ButtonCell overloaded Cell's setType method */
  890.  
  891. replace "[<obj> setType:<aButtonTypeConstant>]" with "[<obj> setButtonType:<aButtonTypeConstant>]"
  892.     where "<aButtonTypeConstant>" isOneOf {
  893.         "NSMomentaryPushButton",
  894.     "NSPushOnPushOffButton",
  895.     "NSToggleButton",
  896.     "NSSwitchButton",
  897.     "NSRadioButton",
  898.     "NSMomentaryChangeButton",
  899.     "NSOnOffButton"
  900.     }
  901.  
  902. replace "@<intOrImp> <isKindOf(ButtonCell) class><w w2><any interface><w w1>@end" with same
  903.     within ("<interface>") {
  904.     replace "setType:(int)aType" with "setButtonType:(NSButtonType)aType"
  905.     }
  906.     where "<intOrImp>" isOneOf {
  907.         "interface",
  908.     "implementation"
  909.     }
  910.  
  911. replace "@<intOrImp> <isKindOf(Button) class><w w2><any interface><w w1>@end" with same
  912.     within ("<interface>") {
  913.     replace "setType:(int)aType" with "setButtonType:(NSButtonType)aType"
  914.     }
  915.     where "<intOrImp>" isOneOf {
  916.         "interface",
  917.     "implementation"
  918.     }
  919.  
  920. replace "@<intOrImp> <isKindOf(Cell) class><w w2><any interface><w w1>@end" with same
  921.     within ("<interface>") {
  922.     replace "- (int)type" with "- (NSCellType)type"
  923.     replace "setType:(int)aType" with "setType:(NSCellType)aType"
  924.     }
  925.     where "<intOrImp>" isOneOf {
  926.         "interface",
  927.     "implementation"
  928.     }
  929.  
  930. replace "- (int)alignment" with "- (NSTextAlignment)alignment"
  931.  
  932. replace "setAlignment:(int)mode" with "setAlignment:(NSTextAlignment)mode"
  933.  
  934. replace "- (int)getParameter:(int)aParameter" with "- (int)getParameter:(NSCellAttribute)aParameter"
  935.  
  936. replace "setParameter:(int)aParameter to:(int)value" with "setParameter:(NSCellAttribute)aParameter to:(int)value"
  937.  
  938. replace "- (int)msgSetPosition:(<b type1>)aString posType:(int)anInt andSelect:(int)sflag ok:(int *)flag" with "- (int)msgSetPosition:(<b type1>)aString posType:(NSMsgPositionType)aPosition andSelect:(int)sflag ok:(int *)flag"
  939.  
  940. replace "@<intOrImp> <isKindOf(Matrix) class><w w2><any interface><w w1>@end" with same
  941.     within ("<interface>") {
  942.     replace "- (int)mode" with "- (NSMatrixMode)mode"
  943.     replace "setMode:(int)aMode" with "setMode:(NSMatrixMode)aMode"
  944.     }
  945.     where "<intOrImp>" isOneOf {
  946.         "interface",
  947.     "implementation"
  948.     }
  949.  
  950. replace "- (void)getCompression:(int *)compression andFactor:(float *)factor" with "- (void)getCompression:(NSTIFFCompression *)compression andFactor:(float *)factor"
  951.  
  952. replace "- (void)setCompression:(int)compression andFactor:(float)factor" with "- (void)setCompression:(NSTIFFCompression)compression andFactor:(float)factor"
  953.  
  954. replace "writeTIFF:(<b type1>)stream usingCompression:(int)compression" with "writeTIFF:(<b type1>)stream usingCompression:(NSTIFFCompression)compression"
  955.  
  956. replace "writeTIFF:(<b type1>)stream usingCompression:(int)compression andFactor:(float)compressionFactor" with "writeTIFF:(<b type1>)stream usingCompression:(NSTIFFCompression)compression andFactor:(float)compressionFactor"
  957.  
  958. replace "+ (void)getTIFFCompressionTypes:(const int **)list count:(int *)numTypes" with "+ (void)getTIFFCompressionTypes:(const NSTIFFCompression **)list count:(int *)numTypes"
  959.  
  960. replace "+ (NSString *)localizedNameForTIFFCompressionType:(int)compression" with "+ (NSString *)localizedNameForTIFFCompressionType:(NSTIFFCompression)compression"
  961.  
  962. replace "- (BOOL)canBeCompressedUsing:(int)compression" with "- (BOOL)canBeCompressedUsing:(NSTIFFCompression)compression"
  963.  
  964. replace "- (int)statusForTable:(NSString *)table" with "- (NSPrinterTableStatus)statusForTable:(NSString *)table"
  965.  
  966. replace "- (NSMeasurementUnit)setRulerUnits:(NXMeasurementUnit)unit" with "- (NSMeasurementUnit)setRulerUnits:(NSMeasurementUnit)unit"
  967.  
  968. replace "setOrientation:(char)mode andAdjust:(BOOL)flag" with "setOrientation:(NSPrintingOrientation)mode andAdjust:(BOOL)flag"
  969.  
  970. replace "- (char)orientation" with "- (NSPrintingOrientation)orientation"
  971.  
  972. replace "setHorizPagination:(int)mode" with "setHorizontalPagination:(NSPrintingPaginationMode)mode"
  973.  
  974. replace "- (int)horizPagination" with "- (NSPrintingPaginationMode)horizontalPagination"
  975.  
  976. replace "setVerticalPagination:(int)mode" with "setVerticalPagination:(NSPrintingPaginationMode)mode"
  977.  
  978. replace "- (int)vertPagination" with "- (NSPrintingPaginationMode)verticalPagination"
  979.  
  980. replace "setPageOrder:(char)mode" with "setPageOrder:(NSPrintingPageOrder)mode"
  981.  
  982. replace "- (char)pageOrder" with "- (NSPrintingPageOrder)pageOrder"
  983.  
  984. replace "setArrowsPosition:(int)where" with "setArrowsPosition:(NSScrollArrowPosition)where"
  985.  
  986. replace "- (int)testPart:(NSPoint)thePoint" with "- (NSScrollerPart)testPart:(NSPoint)thePoint"
  987.  
  988. replace "initFrame:(NSRect)frameRect text:(<b type1>)theText alignment:(int)mode" with "initFrame:(NSRect)frameRect text:(<b type1>)theText alignment:(NSTextAlignment)mode"
  989.  
  990. replace "newFrame:(NSRect)frameRect text:(<b type1>)theText alignment:(int)mode" with "newFrame:(NSRect)frameRect text:(<b type1>)theText alignment:(NSTextAlignment)mode"
  991.  
  992. replace "- (int)borderType" with "- (NSBorderType)borderType"
  993.  
  994. replace "- (int)titlePosition" with "- (NSTitlePosition)titlePosition"
  995.  
  996. replace "setBorderType:(int)aType" with "setBorderType:(NSBorderType)aType"
  997.  
  998. replace "setTitlePosition:(int)aPosition" with "setTitlePosition:(NSTitlePosition)aPosition"
  999.   
  1000. replace "borderType:(int)aType" with "borderType:(NSBorderType)aType"
  1001.  
  1002. replacemethod "pasteboard:provideData:" with "pasteboard:provideDataForType:"
  1003.  
  1004. /*********** NSNameConversion: Functions ***********/
  1005.  
  1006. replace "NXAdjustTextCache" with "NSAdjustTextCache"
  1007.   
  1008. replace "NXApplicationFileType" with "NSApplicationFileType"
  1009.   
  1010. replace "NXAttachPopUpList" with "NSAttachPopUpList"
  1011.   
  1012. replace "NXBPSFromDepth" with "NSBitsPerSampleFromDepth "
  1013.   
  1014. replace "NXBeep" with "NSBeep"
  1015.     
  1016. replace "NXCBreakTable" with "NSCBreakTable"
  1017.   
  1018. replace "NXCBreakTableSize" with "NSCBreakTableSize"
  1019.   
  1020. replace "NXCCharCatTable" with "NSCCharCatTable"
  1021.   
  1022. replace "NXCClickTable" with "NSCClickTable"
  1023.   
  1024. replace "NXCClickTableSize" with "NSCClickTableSize"
  1025.   
  1026. replace "NXCSmartLeftChars" with "NSCSmartLeftChars"
  1027.   
  1028. replace "NXCSmartRightChars" with "NSCSmartRightChars"
  1029.   
  1030. replace "NXChunkCopy" with "NSChunkCopy"
  1031.   
  1032. replace "NXChunkGrow" with "NSChunkGrow"
  1033.   
  1034. replace "NXChunkMalloc" with "NSChunkMalloc"
  1035.   
  1036. replace "NXChunkRealloc" with "NSChunkRealloc"
  1037.   
  1038. replace "NXChunkZoneCopy" with "NSChunkZoneCopy"
  1039.   
  1040. replace "NXChunkZoneGrow" with "NSChunkZoneGrow"
  1041.   
  1042. replace "NXChunkZoneMalloc" with "NSChunkZoneMalloc"
  1043.   
  1044. replace "NXChunkZoneRealloc" with "NSChunkZoneRealloc"
  1045.   
  1046. replace "NXClick" with "NSClick"
  1047.   
  1048. replace "NXCompleteFilename("  with same
  1049.     error "NSNameConversion: NXExpandFileName() is obsolete, see NSPathUtilities.h"
  1050.  
  1051. replace "NXContainRect" with "NSContainRect"
  1052.   
  1053. replace "NXConvertFile" with "NSConvertFile"
  1054.   
  1055. replace "NXConvertGlobalToWinNum" with "NSConvertGlobalToWindowNumber"
  1056.   
  1057. replace "NXConvertType" with "NSConvertType"
  1058.   
  1059. replace "NXConvertWinNumToGlobal" with "NSConvertWindowNumberToGlobal"
  1060.   
  1061. replace "NXCopyCurrentGState(<b args>)" with "PScurrentgstate(<b args>), PSpop()"
  1062.   
  1063. replace "NXCountWindows" with "NSCountWindows"
  1064.   
  1065. replace "NXCreateFileContentsPboardType" with "NSCreateFileContentsPboardType"
  1066.   
  1067. replace "NXCreateFilenamePboardType" with "NSCreateFilenamePboardType"
  1068.   
  1069. replace "NXCreatePopUpListButton" with "NSCreatePopUpListButton"
  1070.   
  1071. replace "NXDataLinkFilenameExtension" with "NSDataLinkFilenameExtension"
  1072.   
  1073. replace "NXDataLinkPboardType" with "NSDataLinkPboardType"
  1074.   
  1075. replace "NXDefaultStringOrderTable" with "NSDefaultStringOrderTable"
  1076.   
  1077. replace "NXDirectoryFileType" with "NSDirectoryFileType"
  1078.   
  1079. replace "NXDrawALine" with "NSDrawALine"
  1080.     
  1081. replace "NXEditorFilter" with "NSEditorFilter"
  1082.     
  1083. replace "NXEnglishBreakTable" with "NSEnglishBreakTable"
  1084.   
  1085. replace "NXEnglishBreakTableSize" with "NSEnglishBreakTableSize"
  1086.   
  1087. replace "NXEnglishCharCatTable" with "NSEnglishCharCatTable"
  1088.   
  1089. replace "NXEnglishClickTable" with "NSEnglishClickTable"
  1090.   
  1091. replace "NXEnglishClickTableSize" with "NSEnglishClickTableSize"
  1092.   
  1093. replace "NXEnglishNoBreakTable" with "NSEnglishNoBreakTable"
  1094.   
  1095. replace "NXEnglishNoBreakTableSize" with "NSEnglishNoBreakTableSize"
  1096.   
  1097. replace "NXEnglishSmartLeftChars" with "NSEnglishSmartLeftChars"
  1098.   
  1099. replace "NXEnglishSmartRightChars" with "NSEnglishSmartRightChars"
  1100.   
  1101. replace "NXExpandFilename("  with same
  1102.     error "NSNameConversion: NXExpandFileName() is obsolete, see NSPathUtilities.h"
  1103.  
  1104. replace "NXExpandPasteboard" with "NSExpandPasteboard"
  1105.   
  1106. replace "NXFieldFilter" with "NSFieldFilter"
  1107.   
  1108. replace "NXFilesystemFileType" with "NSFilesystemFileType"
  1109.   
  1110. replace "NXFlushTextCache" with "NSFlushTextCache"
  1111.   
  1112. replace "NXFreeAlertPanel" with "NSReleaseAlertPanel"
  1113.   
  1114. replace "NXFrontWindow" with "NSFrontWindow"
  1115.   
  1116. replace "NXGetAlertPanel" with "NSGetAlertPanel"
  1117.     
  1118. replace "NXGetFileType" with "NSGetFileType"
  1119.   
  1120. replace "NXGetFileTypes" with "NSGetFileTypes"
  1121.       
  1122. replace "NXGetOrPeekEvent" with "NSGetOrPeekEvent"
  1123.   
  1124. replace "NXGetWindowServerMemory" with "NSGetWindowServerMemory"
  1125.   
  1126. replace "NXHomeDirectory" with "NSHomeDirectory"
  1127.   
  1128. replace "NXIntersectsRect" with "NSIntersectsRect"
  1129.   
  1130. replace "NXIsServicesMenuItemEnabled" with "NSShowsServicesMenuItem"
  1131.  
  1132. replace "NXLogError" with "NSLog"
  1133.     
  1134. replace "NXNullObject" with "DPSNullObject"
  1135.   
  1136. replace "NXNumberOfColorComponents" with "NSNumberOfColorComponents "
  1137.   
  1138. replace "NXOrderStrings" with "NSOrderStrings"
  1139.   
  1140. replace "NXPerformService" with "NSPerformService"
  1141.   
  1142. replace "NXPing" with "PSWait"
  1143.   
  1144. replace "NXPlainFileType" with "NSPlainFileType"
  1145.   
  1146. replace "NXPossibleConversionSourcesForType" with "NSPossibleConversionSourcesForType"
  1147.   
  1148. replace "NXProcessID" with "getpid()"
  1149.   
  1150. replace "NXReadWordTable" with "NSReadWordTable"
  1151.   
  1152. replace "NXRunAlertPanel" with "NSRunAlertPanel"
  1153.   
  1154. replace "NXRunLocalizedAlertPanel" with "NSRunLocalizedAlertPanel"
  1155.   
  1156. replace "NXScanALine" with "NSScanALine"
  1157.   
  1158. replace "NXSetGState" with "PSsetgstate"
  1159.   
  1160. replace "NXSetServicesMenuItemEnabled" with "NSSetShowsServicesMenuItem"
  1161.   
  1162. replace "NXSetTextCache" with "NSSetTextCache"
  1163.   
  1164. replace "NXSetTopLevelErrorHandler" with "NSSetTopLevelErrorHandler"
  1165.   
  1166. replace "NXShellCommandFileType" with "NSShellCommandFileType"
  1167.   
  1168. replace "NXSystemDomainName" with "NSSystemDomainName"
  1169.   
  1170. replace "NXTextFontInfo" with "NSTextFontInfo"
  1171.   
  1172. replace "NXTopLevelErrorHandler" with "NSErrorHandler"
  1173.   
  1174. replace "NXTopLevelErrorHandler(" with "NSTopLevelErrorHandler("
  1175.   
  1176. replace "NXTypedFileContentsPboardType" with "NSTypedFileContentsPboardType"
  1177.   
  1178. replace "NXTypedFilenamePboardType" with "NSTypedFilenamePboardType"
  1179.     
  1180. replace "NXUpdateDynamicServices" with "NSUpdateDynamicServices"
  1181.     
  1182. replace "NXUserName" with "NSUserName"
  1183.   
  1184. replace "NXWindowList" with "NSWindowList"
  1185.   
  1186. /*********** Zones ***********/
  1187.  
  1188. replace "NXZone" with "NSZone"
  1189.  
  1190. replace "NXDefaultMallocZone" with "NSDefaultMallocZone"
  1191.  
  1192. replace "NXCreateZone" with "NSCreateZone"
  1193.  
  1194. replace "NXDestroyZone" with "NSRecycleZone"
  1195.     
  1196. replace "NXNameZone" with "NSSetZoneName"
  1197.  
  1198. replace "NXZoneName" with "NSZoneName"
  1199.  
  1200. replace "NXZoneMalloc" with "NSZoneMalloc"
  1201.  
  1202. replace "NXZoneRealloc" with "NSZoneRealloc"
  1203.  
  1204. replace "NXZoneFree" with "NSZoneFree"
  1205.  
  1206. replace "NXZoneCalloc" with "NSZoneCalloc"
  1207.  
  1208. replace "NXZoneFromPtr" with "NSZoneFromPointer"
  1209.  
  1210. replace "NXCopyStringBufferFromZone(<buffer>, <zone>)" with "NXCopyStringBufferFromZone(<buffer>, (NXZone *)<zone>)"
  1211.  
  1212. replace "NXStreamCreateFromZone(<mode>, <createbuf>, <zone>)" with "NXStreamCreateFromZone(<mode>, <createbuf>, (NXZone *)<zone>)"
  1213.  
  1214. replace "NXReadRootObjectFromBufferWithZone(<buffer>, <length>, <zone>)" with "NXReadRootObjectFromBufferWithZone(<buffer>, <length>, (NXZone *)<zone>)"
  1215.  
  1216. replace "NXGetTypedStreamZone(<stream>)" with "(NXZone *)NXGetTypedStreamZone(<stream>)"
  1217.  
  1218. replace "NXSetTypedStreamZone(<stream>, <zone>)" with "NXSetTypedStreamZone(<stream>, (NXZone *)<zone>)"
  1219.  
  1220. replace "NXCreateHashTableFromZone(<proto>, <cap>, <info>, <zone>)" with "NXCreateHashTableFromZone(<proto>, <cap>, <info>, (NXZone *)<zone>)"
  1221.  
  1222. replace "(NXZone *)(NXZone *)" with "(NXZone *)"
  1223. /*********** NSNameConversion: Class Names ***********/
  1224.  
  1225. replace "ActionCell" with "NSActionCell"
  1226.   
  1227. replace "Alert" with "NSAlert"
  1228.   
  1229. replace "Application" with "NSApplication"
  1230.  
  1231. replace "EOApplication" with "NSApplication"
  1232.   
  1233. replace "Bitmap" with "Bitmap"
  1234.   
  1235. replace "Box" with "NSBox"
  1236.   
  1237. replace "Button" with "NSButton"
  1238.   
  1239. replace "ButtonCell" with "NSButtonCell"
  1240.   
  1241. replace "Cell" with "NSCell"
  1242.   
  1243. replace "ChoosePrinter" with "NSChoosePrinter"
  1244.   
  1245. replace "ClientInputManager" with "NSClientInputManager"
  1246.   
  1247. replace "ClipView" with "NSClipView"
  1248.   
  1249. replace "ColumnCell" with "NSColumnCell"
  1250.   
  1251. replace "Control" with "NSControl"
  1252.   
  1253. replace "CustomObject" with "NSCustomObject"
  1254.   
  1255. replace "CustomView" with "NSCustomView"
  1256.   
  1257. replace "DocServer" with "NSDocServer"
  1258.   
  1259. replace "FocusState" with "NSFocusState"
  1260.   
  1261. replace "Font" with "NSFont"
  1262.   
  1263. replace "FontFile" with "NSFontFile"
  1264.   
  1265. replace "FontManager" with "NSFontManager"
  1266.   
  1267. replace "FontPanel" with "NSFontPanel"
  1268.   
  1269. replace "Form" with "NSForm"
  1270.   
  1271. replace "FormCell" with "NSFormCell"
  1272.   
  1273. replace "FrameView" with "NSFrameView"
  1274.   
  1275. replace "IBConnector" with "NSIBConnector"
  1276.   
  1277. replace "IBControlConnector" with "NSIBControlConnector"
  1278.   
  1279. replace "IBHelpConnector" with "NSIBHelpConnector"
  1280.   
  1281. replace "IBObjectData" with "NSIBObjectData"
  1282.   
  1283. replace "IBOutletConnector" with "NSIBOutletConnector"
  1284.   
  1285. replace "Listener.h" with "obsoleteListener.h"
  1286.   
  1287. replace "Matrix" with "NSMatrix"
  1288.   
  1289. replace "Menu" with "NSMenu"
  1290.   
  1291. replace "MenuCell" with "NSMenuItem"
  1292.   
  1293. replace "MenuTemplate" with "NSMenuTemplate"
  1294.   
  1295. replace "MenuTemplateCallee" with "NSMenuTemplateCallee"
  1296.   
  1297. replace "NXAcceptsColorBrowser" with "NSAcceptsColorBrowser"
  1298.   
  1299. replace "NXBitmapImageRep" with "NSBitmapImageRep"
  1300.   
  1301. replace "NXBrowser" with "NSBrowser"
  1302.   
  1303. replace "NXBrowserCell" with "NSBrowserCell"
  1304.   
  1305. replace "NXCMYKSliders" with "NSCMYKSliders"
  1306.   
  1307. replace "NXCachedImageRep" with "NSCachedImageRep"
  1308.   
  1309. replace "NXCheapFileRef" with "NSCheapFileRef"
  1310.   
  1311. replace "NXColorHolder" with "NSColorHolder"
  1312.   
  1313. replace "NXColorList" with "NSColorList"
  1314.   
  1315. replace "NXColorListFrozenNameTable" with "NSColorListFrozenNameTable"
  1316.   
  1317. replace "NXColorListNameTable" with "NSColorListNameTable"
  1318.   
  1319. replace "NXColorListOpenPanel" with "NSColorListOpenPanel"
  1320.   
  1321. replace "NXColorPaletteOpenPanel" with "NSColorPaletteOpenPanel"
  1322.   
  1323. replace "NXColorPanel" with "NSColorPanel"
  1324.   
  1325. replace "NXColorPicker" with "NSColorPicker"
  1326.   
  1327. replace "NXColorPickerList" with "NSColorPickerList"
  1328.   
  1329. replace "NXColorPickerSliders" with "NSColorPickerSliders"
  1330.   
  1331. replace "NXColorPickerUser" with "NSColorPickerUser"
  1332.   
  1333. replace "NXColorPickerUserView" with "NSColorPickerUserView"
  1334.   
  1335. replace "NXColorPickerWheel" with "NSColorPickerWheel"
  1336.   
  1337. replace "NXColorPickerWheelView" with "NSColorPickerWheelView"
  1338.   
  1339. replace "NXColorSwatch" with "NSColorSwatch"
  1340.   
  1341. replace "NXColorWell" with "NSColorWell"
  1342.   
  1343. replace "NXCursor" with "NSCursor"
  1344.   
  1345. replace "NXCustomImageRep" with "NSCustomImageRep"
  1346.   
  1347. replace "NXDataLink" with "NSDataLink"
  1348.   
  1349. replace "NXDataLinkManager" with "NSDataLinkManager"
  1350.   
  1351. replace "NXDataLinkPanel" with "NSDataLinkPanel"
  1352.   
  1353. replace "NXDeserializer" with "NSAKDeserializer"
  1354.   
  1355. replace "NXDeserializerStream" with "NSAKDeserializerStream"
  1356.   
  1357. replace "NXDictionaryEntry" with "NSDictionaryEntry"
  1358.   
  1359. replace "NXDirInfo" with "NSDirInfo"
  1360.   
  1361. replace "NXDirInfoDeserializer" with "NSDirInfoDeserializer"
  1362.   
  1363. replace "NXDirInfoSerializer" with "NSDirInfoSerializer"
  1364.   
  1365. replace "NXDocInfo" with "NSDocInfo"
  1366.   
  1367. replace "NXDocumentDeserializer" with "NSDocumentDeserializer"
  1368.   
  1369. replace "NXDocumentSerializer" with "NSDocumentSerializer"
  1370.   
  1371. replace "NXEPSImageRep" with "NSEPSImageRep"
  1372.   
  1373. replace "NXFaxCoverView" with "NSFaxCoverView"
  1374.   
  1375. replace "NXFaxPanel" with "NSFaxPanel"
  1376.   
  1377. replace "NXFaxPaperBox" with "NSFaxPaperBox"
  1378.   
  1379. replace "NXFaxTimeCtl" with "NSFaxTimeCtl"
  1380.   
  1381. replace "NXFileDragSource" with "NSFileDragSource"
  1382.   
  1383. replace "NXFileRef" with "NSFileRef"
  1384.   
  1385. replace "NXGraphicCell" with "NSGraphicCell"
  1386.   
  1387. replace "NXGraphicImport" with "NSGraphicImport"
  1388.   
  1389. replace "NXGreySliders" with "NSGreySliders"
  1390.   
  1391. replace "NXHSBSliders" with "NSHSBSliders"
  1392.   
  1393. replace "NXHardLinkInfo" with "NSHardLinkInfo"
  1394.   
  1395. replace "NXHelpLinkInspector" with "NSHelpLinkInspector"
  1396.   
  1397. replace "NXHelpMarkerInspector" with "NSHelpMarkerInspector"
  1398.   
  1399. replace "NXHelpPanel" with same
  1400.     error "NSNameConversion:  NXHelpPanel is obsolete.  Use NSHelpManager."
  1401.  
  1402. replace "NXHelpText" with "NSHelpText"
  1403.  
  1404. replace "NXImage" with "NSImage"
  1405.   
  1406. replace "NXImageRep" with "NSImageRep"
  1407.  
  1408. replace "NXImageView" with "NSImageView"
  1409.  
  1410. replace "NXJournalListener" with same
  1411.     warning "NSNameConversion:  Journaling is not supported in OpenStep."
  1412.   
  1413. replace "NXJournalSpeaker" with same
  1414.     warning "NSNameConversion:  Journaling is not supported in OpenStep."
  1415.  
  1416. replace "NXJournaler.h" with same
  1417.     warning "NSNameConversion:  Journaling is not supported in OpenStep."
  1418.  
  1419. replace "NXLazyBrowserCell" with "NSLazyBrowserCell"
  1420.   
  1421. replace "NXLazyBrowserList" with "NSLazyBrowserList"
  1422.   
  1423. replace "NXLeafProxy" with "NSLeafProxy"
  1424.   
  1425. replace "NXLinkCell" with "NSLinkCell"
  1426.   
  1427. replace "NXLinkOpenPanel" with "NSLinkOpenPanel"
  1428.   
  1429. replace "NXMarkerCell" with "NSMarkerCell"
  1430.   
  1431. replace "NXNoBranchIconBrowserCell" with "NSNoBranchIconBrowserCell"
  1432.   
  1433. replace "NXNonFactoryKludgeObj" with "NSNonFactoryKludgeObj"
  1434.   
  1435. replace "NXPPDParse" with "NSPPDParse"
  1436.   
  1437. replace "NXPanelController" with "NSPanelController"
  1438.   
  1439. replace "NXPasteboardFilter" with "NSPasteboardFilter"
  1440.   
  1441. replace "NXPasteboardProxy" with "NSPasteboardProxy"
  1442.   
  1443. replace "NXPath" with "NSPath"
  1444.   
  1445. replace "NXPathComponent" with "NSPathComponent"
  1446.   
  1447. replace "NXPrinter" with "NSPrinter"
  1448.   
  1449. replace "NXPrinterFeatures" with "NSPrinterFeatures"
  1450.   
  1451. replace "NXRGBSliders" with "NSRGBSliders"
  1452.   
  1453. replace "NXRTFD" with "NSRTFD"
  1454.   
  1455. replace "NXRTFDImageHandler" with "NSRTFDImageHandler"
  1456.   
  1457. replace "NXRelPath" with "NSRelPath"
  1458.   
  1459. replace "NXRulerToken" with "NSRulerToken"
  1460.   
  1461. replace "NXRulerView" with "NSRulerView"
  1462.   
  1463. replace "NXSelection" with "NSSelection"
  1464.   
  1465. replace "NXSerializer" with "NSAKSerializer"
  1466.   
  1467. replace "NXSerializerStream" with "NSAKSerializerStream"
  1468.   
  1469. replace "NXServicesPasteboard" with "NSServicesPasteboard"
  1470.   
  1471. replace "NXSmartFileRef" with "NSSmartFileRef"
  1472.   
  1473. replace "NXSpellBrowserCell" with "NSSpellBrowserCell"
  1474.   
  1475. replace "NXSpellChecker" with "NSSpellChecker"
  1476.   
  1477. replace "NXSpellServer" with "NSSpellServer"
  1478.   
  1479. replace "NXSplitView" with "NSSplitView"
  1480.   
  1481. replace "NXSymlinkPathComponent" with "NSSymlinkPathComponent"
  1482.   
  1483. replace "NXTabStopList" with "NSTabStopList"
  1484.   
  1485. replace "NXTaggedBrowserCell" with "NSTaggedBrowserCell"
  1486.   
  1487. replace "NXUniqueTabs" with "NSUniqueTabs"
  1488.   
  1489. replace "NXViewFrameCell" with "NSViewFrameCell"
  1490.   
  1491. replace "NXWorkspaceRequestProxy" with "NSWorkspaceRequestProxy"
  1492.   
  1493. replace "NXXYShow" with "NSXYShow"
  1494.   
  1495. replace "NameTable" with "NSNameTable"
  1496.   
  1497. replace "NibData" with "NSNibData"
  1498.   
  1499. replace "Object" with "NSObject"
  1500.   
  1501. replace "OpenPanel" with "NSOpenPanel"
  1502.   
  1503. replace "PSMatrix" with "NSPSMatrix"
  1504.   
  1505. replace "PageLayout" with "NSPageLayout"
  1506.   
  1507. replace "Panel" with "NSPanel"
  1508.   
  1509. replace "PaperView" with "NSPaperView"
  1510.   
  1511. replace "Pasteboard" with "NSPasteboard"
  1512.   
  1513. replace "PopUpList" with "NSPopUpList"
  1514.   
  1515. replace "PrintInfo" with "NSPrintInfo"
  1516.   
  1517. replace "PrintPanel" with "NSPrintPanel"
  1518.   
  1519. replace "QueryCell" with "NSQueryCell"
  1520.   
  1521. replace "QueryText" with "NSQueryText"
  1522.   
  1523. replace "Responder" with "NSResponder"
  1524.   
  1525. replace "SafeLock" with "NSSafeLock"
  1526.   
  1527. replace "SavePanel" with "NSSavePanel"
  1528.   
  1529. replace "ScrollView" with "NSScrollView"
  1530.   
  1531. replace "Scroller" with "NSScroller"
  1532.   
  1533. replace "SelectionCell" with same
  1534.     error "NSNameConversion:  SelectionCell is obsolete.  Use a Browser or subclass NSCell."
  1535.   
  1536. replace "Slider" with "NSSlider"
  1537.   
  1538. replace "SliderCell" with "NSSliderCell"
  1539.   
  1540. replace "Speaker.h" with "obsoleteSpeaker.h"
  1541.   
  1542. replace "TaggedCell" with "NSTaggedCell"
  1543.   
  1544. replace "Text" with "NSText"
  1545.   
  1546. replace "TextField" with "NSTextField"
  1547.   
  1548. replace "TextFieldCell" with "NSTextFieldCell"
  1549.   
  1550. replace "View" with "NSView"
  1551.   
  1552. replace "Window" with "NSWindow"
  1553.   
  1554. replace "WindowTemplate" with "NSWindowTemplate"
  1555.  
  1556. replace "graphics.h" with "NSGraphics.h"
  1557.  
  1558. replace "objc_getClass(<b args>)" with same
  1559.     warning "NSNameConversion:  Class names have changed. Check that the class name passed in is real."
  1560.  
  1561. replace "objc_lookUpClass(<b args>)" with same
  1562.     warning "NSNameConversion:  Class names have changed. Check that the class name passed in is real."
  1563.  
  1564. replace "objc_getMetaClass(<b args>)" with same
  1565.     warning "NSNameConversion:  Class names have changed. Check that the class name passed in is real."
  1566.  
  1567. replace "NXTableView" with "NSTableView"
  1568.     error "NSNameConversion: NXTableView is replaced by NSTableView, which has been completely redesigned.  There are no intermediate headers for NSTableView.  We recommend converting uses of NXTableView after all the conversion stages.  There is a TableView script that provides some assistance."
  1569.  
  1570. replace "<formatterClass>" with same
  1571.     error "NSNameConversion: NXTableView is replaced by NSTableView, which has been completely redesigned.  NSTableView now uses cells instead of formatters. There are no intermediate headers for NSTableView.  We recommend converting uses of NXTableView after all the conversion stages.  There is a TableView script that provides some assistance."
  1572.     where "<formatterClass>" isOneOf {
  1573.     "NXFormatter",
  1574.     "NXImageFormatter"
  1575.     "NXEditableFormatter"
  1576.     "NXTextFormatter"
  1577.     }
  1578.  
  1579. replace "NXTableVector" with same
  1580.     error "NSNameConversion: NXTableView is replaced by NSTableView, which has been completely redesigned.  NSTableView now uses NSTableColumn objects. There are no intermediate headers for NSTableView.  We recommend converting uses of NXTableView after all the conversion stages.  There is a TableView script that provides some assistance."
  1581.  
  1582. /*********** NSNameConversion: Typedefs and enums ***********/
  1583.  
  1584. replace "NXChunk" with "NSTextChunk"
  1585.  
  1586. replace "NXModalSession" with "NSModalSession"
  1587.  
  1588. replace "NXLinkEnumerationState" with "NSLinkEnumerationState"
  1589.  
  1590. replace "NXDataLinkUpdateMode" with "NSDataLinkUpdateMode"
  1591.  
  1592. replace "NX_UpdateContinuously" with "NSUpdateContinuously"
  1593.  
  1594. replace "NX_UpdateWhenSourceSaved" with "NSUpdateWhenSourceSaved"
  1595.  
  1596. replace "NX_UpdateManually" with "NSUpdateManually"
  1597.  
  1598. replace "NX_UpdateNever" with "NSUpdateNever"
  1599.  
  1600. replace "NXDataLinkDisposition" with "NSDataLinkDisposition"
  1601.  
  1602. replace "NX_LinkInDestination" with "NSLinkInDestination"
  1603.  
  1604. replace "NX_LinkInSource" with "NSLinkInSource"
  1605.  
  1606. replace "NX_LinkBroken" with "NSLinkBroken"
  1607.  
  1608. replace "NXDataLinkNumber" with "NSDataLinkNumber"
  1609.  
  1610. replace "NXFontTraitMask" with "NSFontTraitMask"
  1611.  
  1612. replace "NXRTFDError" with "NSRTFDError"
  1613.  
  1614. replace "NX_RTFDErrorNone" with "NSRTFDErrorNone"
  1615.  
  1616. replace "NX_RTFDErrorSaveAborted" with "NSRTFDErrorSaveAborted"
  1617.  
  1618. replace "NX_RTFDErrorUnableToWriteFile" with "NSRTFDErrorUnableToWriteFile"
  1619.  
  1620. replace "NX_RTFDErrorUnableToCloseFile" with "NSRTFDErrorUnableToCloseFile"
  1621.  
  1622. replace "NX_RTFDErrorUnableToCreatePackage" with "NSRTFDErrorUnableToCreatePackage"
  1623.  
  1624. replace "NX_RTFDErrorUnableToCreateBackup" with "NSRTFDErrorUnableToCreateBackup"
  1625.  
  1626. replace "NX_RTFDErrorUnableToDeleteBackup" with "NSRTFDErrorUnableToDeleteBackup"
  1627.  
  1628. replace "NX_RTFDErrorUnableToDeleteTemp" with "NSRTFDErrorUnableToDeleteTemp"
  1629.  
  1630. replace "NX_RTFDErrorUnableToDeleteOriginal" with "NSRTFDErrorUnableToDeleteOriginal"
  1631.  
  1632. replace "NX_RTFDErrorFileDoesntExist" with "NSRTFDErrorFileDoesntExist"
  1633.  
  1634. replace "NX_RTFDErrorUnableToReadFile" with "NSRTFDErrorUnableToReadFile"
  1635.  
  1636. replace "NX_RTFDErrorInsufficientAccess" with "NSRTFDErrorInsufficientAccess"
  1637.  
  1638. replace "NX_RTFDErrorMalformedRTFD" with "NSRTFDErrorMalformedRTFD"
  1639.  
  1640. replace "NXStreamSeekMode" with "NSStreamSeekMode"
  1641.  
  1642. replace "NX_StreamStart" with "NSStreamStart"
  1643.  
  1644. replace "NX_StreamCurrent" with "NSStreamCurrent"
  1645.  
  1646. replace "NX_StreamEnd" with "NStreamEnd"
  1647.  
  1648. replace "NXBreakArray" with "NSBreakArray"
  1649.  
  1650. replace "NXCharArray" with "NSCharArray"
  1651.  
  1652. replace "NXCharFilterFunc" with "NSCharFilterFunc"
  1653.  
  1654. replace "NXFSM" with "NSFSM"
  1655.  
  1656. replace "NXHeightChange" with "NSHeightChange"
  1657.  
  1658. replace "NXHeightInfo" with "NSHeightInfo"
  1659.  
  1660. replace "NXLay" with "NSLay"
  1661.  
  1662. replace "NXLayArray" with "NSLayArray"
  1663.  
  1664. replace "NXLayFlags" with "NSLayFlags"
  1665.  
  1666. replace "NXLayInfo" with "NSLayInfo"
  1667.  
  1668. replace "NXLineDesc" with "NSLineDesc"
  1669.  
  1670. replace "NXRun" with "NSRun"
  1671.  
  1672. replace "NXRunArray" with "NSRunArray"
  1673.  
  1674. replace "NXRunFlags" with "NSRunFlags"
  1675.  
  1676. replace "NXSelPt" with "NSSelPt"
  1677.  
  1678. replace "NXTabStop" with "NSTabStop"
  1679.  
  1680. replace "NXTextBlock" with "NSTextBlock"
  1681.  
  1682. replace "NXTextCache" with "NSTextCache"
  1683.  
  1684. replace "NXTextFilterFunc" with "NSTextFilterFunc"
  1685.  
  1686. replace "NXTextFunc" with "NSTextFunc"
  1687.  
  1688. replace "NXTextStyle" with "NSTextStyle"
  1689.  
  1690. replace "NXWidthArray" with "NSWidthArray"
  1691.  
  1692. /*********** NSNameConversion: protocols ***********/
  1693.  
  1694. replace "NXDraggingInfo" with "NSDraggingInfo"
  1695.  
  1696. /*********** uppercase file names ***********/
  1697.  
  1698. replace "appkit/" with "AppKit/"
  1699. replace "appkit.h" with "AppKit.h"
  1700.  
  1701. replace "dpsclient/" with "DPSClient/"
  1702.  
  1703. replace "foundation/" with "Foundation/"
  1704. replace "foundation.h" with "Foundation.h"
  1705.  
  1706. replace "soundkit/" with "SoundKit/"
  1707. replace "soundkit.h" with "SoundKit.h"
  1708.  
  1709. /* note that EOApplication, NXImageView and NXTableView are convered above, hence NS is used here */
  1710. replace "eointerface/NSApplication.h" with "AppKit/NSApplication.h"
  1711. replace "eointerface/NSImageView.h" with "AppKit/NSImageView.h"
  1712. replace "eointerface/NSTableView.h" with "AppKit/NSTableView.h"
  1713. replace "eointerface/" with "EOInterface1x/"
  1714. replace "eointerface.h" with "EOInterface1x.h"
  1715.  
  1716. replace "eoaccess/" with "EOAccess1x/"
  1717. replace "eoaccess.h" with "EOAccess1x.h"
  1718.  
  1719.