Changeset [93cc97002a1bfc13de019ebd8e4660e284c7f028] by Aparajita Fishman

March 31st, 2012 @ 03:40 PM

Cocoa conformance and bug fixes

  • showRelativeToRect:ofView:preferredEdge: must take provide a view, and if the rect is empty it defaults to the view's bounds.
  • If If showRelativeToRect is called while a popover is closing, it is ignored.
  • If showRelativeToRect is called when the popover is already open, it should just reposition the existing popover.
  • close should NOT consult the delegate's popoverShouldClose. Only performClose should do that.
  • If a window is closed, all of its popovers immediately order out.
  • Updated demo app to cover more cases.
  • Note that child popovers are currently not supported, as this requires support for child windows in CPWindow. https://github.com/cappuccino/cappuccino/commit/93cc97002a1bfc13de0...

Committed by Aparajita Fishman

  • A Tests/Manual/CPPopover/Resources/MainMenu.cib
  • A Tests/Manual/CPPopover/Resources/MainMenu.xib
  • M AppKit/CPPopover.j
  • M AppKit/CPWindow/_CPAttachedWindowView.j
  • M AppKit/_CPAttachedWindow.j
  • M Tests/Manual/CPPopover/AppController.j
  • M Tests/Manual/CPPopover/Info.plist
  • M Tests/Manual/CPPopover/Jakefile
  • M Tests/Manual/CPPopover/index-debug.html
  • M Tools/nib2cib/NSPopover.j
New-ticket Create new ticket

Create your profile

Help contribute to this project by taking a few moments to create your personal profile. Create your profile »

The Cappuccino Web Framework, including AppKit, Foundation, and Objective-J.

Shared Ticket Bins