Skip to content

Fix NSBox, NSMenu, add __NSMethodExceptionProem - #549

Merged
colemancda merged 4 commits into
masterfrom
xcode25-first-launch
Dec 4, 2026
Merged

colemancda merged 4 commits into
masterfrom
xcode25-first-launch

Conversation

@colemancda

@colemancda colemancda commented Dec 4, 2026 •

Copy link
Copy Markdown
Member

Summary

Takes the i386 Xcode 2.5 to its New User assistant under perry32, and fixes a New Smart List regression in NetNewsWire 3.

  • NSBox keeps its content view in place as the box grows it. A flexible margin had autoresizing move the view first, which pushed NetNewsWire 3's condition row out of its box.
  • NSMenu answers +menuZone and -indexOfItemWithTarget:andAction:, without which Xcode's AppleScript dictionary plug-in failed to load.
  • Foundation has __NSMethodExceptionProem, without which Xcode quit at launch.

Xcode 2.5

The assistant draws and pages from Welcome to File Management, only with PERRY_UNIMPLEMENTED=continue and PERRY_OBJC_UNRECOGNIZED=continue. Still open:

Xcode 2.5's New User assistant, on its Welcome page

  • Without them it quits at launch on -[XCTextMacroSpecification isMenu]: the class has the method, but forwarding from XCSpecificationProxy doesn't reach it.
  • __NSReadThemeImageFromRsrc is missing.
  • After Finish, New Project raises Xcode's "already running modal" assertion.
  • PDFKit, vmutils, AppleScriptKit and OSAKit have no provider.

Testing

On a Debian 13 laptop, in the perry-dev image: New Smart List draws its condition row inside the box again, the plug-in loads, and Xcode no longer stops at the missing function. These runs were of the same changes on the netnewswire3 tree; this branch hasn't been rebuilt on master. No automated tests were run, and Calculator, which the earlier NSBox change was for, wasn't rechecked.

A flexible margin has autoresizing move the content view before the box
grows it, which pushed NetNewsWire 3's condition row out of its box.
Xcode 2.5's AppleScript dictionary plug-in failed to load without them.
Xcode 2.5 calls Foundation's private function to start an exception's
reason about a method, and quit without it.
@colemancda
colemancda merged commit 216fa6c into master Dec 4, 2026
9 checks passed
@colemancda colemancda changed the title Take Xcode 2.5 to its New User assistant Fix NSBox, NSMenu, add __NSMethodExceptionProem Dec 4, 2026
@colemancda
colemancda deleted the xcode25-first-launch branch December 4, 2026 08:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant