Permalink
Commits on Jan 29, 2013
Commits on Jan 19, 2013
  1. New demos repository.

    aljungberg committed Jan 19, 2013
  2. New website location.

    aljungberg committed Jan 19, 2013
Commits on Jan 15, 2013
  1. Argument check CPIndexSet indexSetWithIndex:.

    Without this check, an index set could be initialised with NaN which would later lead to an infinite loop when enumerating the index set.
    
    This error makes the error early and explicit.
    aljungberg committed Jan 15, 2013
  2. Fixed: CPApplicationTest.

    A recent commit broke it.
    aljungberg committed Jan 15, 2013
Commits on Jan 12, 2013
  1. Formatting

    aparajita committed Jan 12, 2013
  2. Missing semicolon

    aparajita committed Jan 12, 2013
  3. Merge branch 'key-view-loop'

    Conflicts:
    	AppKit/CPWindow/CPWindow.j
    aparajita committed Jan 12, 2013
Commits on Jan 11, 2013
  1. Window resize tweak...

    - If a window is fixed width or fixed height, then no resize cursor is shown and no resize area is active on the edges that cannot be resized.
    - Optimized CG calls in CPWindow.
    - Added fixed height window to test app.
    aparajita committed Jan 11, 2013
  2. New: -CPHTTPURLResponse allHeaderFields.

    When a CPURLConnection response is of the CPHTTPURLResponse type, the raw HTTP headers can now be retrieved through the allHeaderFields message.
    aljungberg committed Jan 11, 2013
  3. Add missing source header.

    aljungberg committed Jan 11, 2013
Commits on Jan 10, 2013
  1. Merge pull request #1711 from slevenbits/new-window-resize

    This commit provides resizing of windows from all sides. The legacy style, which displays a resize thumb in the lower right, can be restored with [CPWindow setGlobalResizeStyle:CPWindowResizeStyleLegacy].
    aparajita committed Jan 10, 2013
  2. Hooked up the edit menu

    aparajita committed Jan 10, 2013
  3. Key view...

    - Factored out blur handler from CPTokenField into CPTextField.
    - CPTextField will no longer lose focus unnecessarily.
    - Changed switch style in CPWindow -sendEvent.
    - Added menu bar to KeyViewLoop test app.
    aparajita committed Jan 10, 2013
  4. Key view loop enhancements...

    - Nested views are now handled recursively as they are in Cocoa.
    - Added a nested view test in the test app.
    aparajita committed Jan 10, 2013
  5. Fix return value type.

    aljungberg committed Jan 10, 2013
  6. More key view loop madness

    - 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.
    aparajita committed Jan 10, 2013
Commits on Jan 9, 2013
  1. small style fix

    primalmotion committed Jan 9, 2013
  2. Minor formatting changes

    ahankinson committed Jan 9, 2013
  3. Fixed: XCodeCapp reads the user's shell environment

    Before this fix, XCodeCapp always ran under /bin/bash, causing problems when trying to source the files from other shells, like /bin/zsh
    
    This fix reads the shell information directly from the user's environment and XCC to run using that shell.
    ahankinson committed Jan 9, 2013
  4. Key view loop fixes/improvements

    - Removed unnecessary code at beginning of CPTextField -becomeFirstResponder that might have been a hack to get around a bug I fixed.
    - Fixed race condition in setTimeout closure in CPTextField -becomeFirstResponder.
    - CPWindow -setInitialFirstResponder now works reliably and follows Cocoa behavior in that if -makeFirstResponder is called with something other than the window before the window is first shown, it will override the initial first responder.
    - Like Cocoa, until the first responder is set during window load, the first responder is the window by default, not the content view.
    - Optimized search for any view that has a previous/next key view set.
    - Sheets can become key windows again.
    - CPWindow -recalculateKeyViewLoop now just marks the loop as dirty, per Cocoa docs.
    - CPWindow -autorecalculatesKeyViewLoop now behaves per Cocoa, it only has an effect when views are added or removed.
    - If the first responder does not have a valid previous/next key view, it does not resign to nil, per Cocoa behavior.
    - Code optimization and cleanup.
    - Test app (KeyViewLoopTest) that demonstrates various scenarios.
    aparajita committed Jan 9, 2013
Commits on Jan 8, 2013
  1. Fix import.

    aljungberg committed Jan 8, 2013
  2. Formatting.

    aljungberg committed Jan 8, 2013