mirror of
https://github.com/cappuccino/cappuccino.git
synced 2026-10-03 23:56:16 +00:00
- It turns out Cocoa DOES recalculate the loop when calling recalculateKeyViewLoop. It does not wait until selectNext/PreviousKeyView is called. - Cocoa calculates the key view loop for nibs that do not have one, but does not call recalculateKeyViewLoop. - If there is no first responder and no initial first responder when a window first becomes key, use the first valid key view, not the first geometric key view. - Made allViews function a method, not sure why it was a function. - Unit tests now pass.
Requires objj be installed, as well as ojunit, located at http://github.com/cappuccino/ojunit
Run individual tests using a command similar to the following:
objj ojunit/OJTestRunnerText.j cappuccino/Tests/Foundation/CPDateTest.j