Lighthouse has a new layout. Prefer the old one? Return to the old layout, and switch back any time from the link at the top of each page.

Changeset [252b8f5ca5231c29bbe2a3c71561fabad3f81749] by Alexander Ljungberg

Revision 252b8f5ca5231c29bbe2a3c71561fabad3f81749, committed by Alexander Ljungberg · December 15th, 2012 @ 01:48 AM

Fixed: [CPApp windows] contained nil.

Before this fix, CPApp tried to add nil to its internal list of windows, even that nil should not be added to a CPArray. Second, that nil was actually returned by [CPApp windows] rather than an expected list of only CPWindow instances.

This fix makes [CPApp windows] return only actual windows, replaces the internal _windows[0] placeholder with CPNull, and ensures this CPNull is never actually exposed outside of the class.
https://github.com/cappuccino/cappuccino/commit/252b8f5ca5231c29bbe...

2 changed files

  • M AppKit/CPApplication.j
  • M Tests/AppKit/CPApplicationTest.j