Skip to content


Subversion checkout URL

You can clone with
Download ZIP
Commits on Jun 6, 2010
  1. @Me1000
  2. @aljungberg @Me1000

    Fixed: the actual delegate method definition somehow didn't make it i…

    aljungberg committed with Me1000
    …nto the change enabling outlineView:shouldEditTableColumn:item: for outline view inline editing. This commit predefines all CPOutlineView delegate methods.
  3. Don't supress exceptions in the backtrace decorator, add an exception…

    Ross Boucher committed
    … supressing decarator.
  4. @stevegeek

    Javascript Date object returns month between 0 and 11

    stevegeek committed with Ross Boucher
  5. @saikat

    Adding checks for existence of DOM when calling CPPlatformWindow+DOM-…

    saikat committed with Ross Boucher
    …only methods
Commits on Jun 5, 2010
  1. @tolmasky

    Fix for browser:acceptDrop:atRow:column:dropOperation: not being call…

    tolmasky committed
    …ed if browser:validateDrop:proposedRow:column:dropOperation: is implemented.
    Reviewed by me.
Commits on Jun 4, 2010
  1. @Me1000
Commits on Jun 3, 2010
  1. @Me1000
Commits on Jun 2, 2010
  1. @Me1000
Commits on Jun 1, 2010
  1. @Me1000
  2. @klaaspieter @Me1000

    call tableview doubleclick action even if target is nil (action will …

    klaaspieter committed with Me1000
    …travel down the responder chain)
Commits on May 28, 2010
  1. Missing #include had broken the slider color picker.

    Ross Boucher committed
  2. Minor cleanup to the current test cases.

    Ross Boucher committed
  3. Merge remote branch 'klaaspieter/bindings-fixes' into bindings

    Ross Boucher committed
Commits on May 27, 2010
  1. @klaaspieter
  2. @klaaspieter
  3. @aljungberg

    Fixed: [_CPImageAndTextView setDimsImage] wasn't working right due to…

    aljungberg committed
    … checking if a non existent variable equalled the current value.
  4. @aljungberg
  5. @aljungberg
Commits on May 26, 2010
  1. @aljungberg
  2. @aljungberg

    Reverse update value binding when control editing stops, not only whe…

    aljungberg committed
    …n the action fires. This causes tabbing out of a text field to update the binding source. Based on the description of the bindings option NSContinuouslyUpdatesValueBindingOption this is the right thing to do: if NSContinuouslyUpdatesValueBindingOption is on, update on every character; "otherwise the update is made only when the user interface item resigns as the responder."
  3. @aljungberg

    Hack to make [textField bind:CPValueBinding ...] work. Without this, …

    aljungberg committed
    …any observed change leads to a [textField setValue:X forKey:"value"] which in turn leads to a direct ivar access changing the value in textField._value. This means the text field has no idea the value changed and it doesn't update to show the new text. I'm not sure what the right solution should be here. It looks like _replacementKeyPathForBinding should play into this and change the end result to [textField setValue:X forKey:"objectValue"] which would work fine. But currently _replacementKeyPathForBinding applies to the observed key path, not the bound one.
  4. @aljungberg

    Fixed bindings problems where 'nil' would be transformed into @"". Al…

    aljungberg committed
    …so, CPIsNilTransformerName and its inverse couldn't work because any nil value was immediately returned without transformations being applied. Full complement of unit tests included, based on Cocoa empirical testing.
    Fixed with CPKeyValueBinding: the CPValueTransformerNameBindingOption option would cause an exception due a missing import.
  5. @aljungberg

    The problem with initialize in fb5950c turned out to be caused by a C…

    aljungberg committed
    …appuccino bug with class methods and arguments named 'name'. Renaming the argument solved the problem so I reverted the initialize change. This fix also fixes valueTransformerForName.
  6. @aljungberg
  7. @aljungberg

    Fixed: including CPValueTransformer.j causes an infinite loop due to …

    aljungberg committed
    …the recent Objective-J (mis?) behavior that every class has to inherit from CPObject. Also, the transformer map failed to initialize properly with the existing setup code for reasons which were not immediately clear. Moving the initialization to a regular + initialize method eliminated the problem.
    Fixed: CPKeyValueBinding.j would throw an exception if a named value transformer option was specified, due to CPValueTransformer.j not being imported.
  8. @aljungberg

    Fixed: the array controller remove method mapped selection indexes to…

    aljungberg committed
    … the content array instead of the arranged objects, leading to the wrong objects being removed as filters and sort descriptors were effectively ignored.
  9. @aljungberg
  10. @aljungberg

    Optimized table data loading when using bindings for the cell values.…

    aljungberg committed
    … A special code path in the CPTableColumn's prepareDataView:forRow: method turns a O(n) operation into O(1) where n is the number of items in the model array.
  11. @aljungberg

    Fixed: the CPArrayController code to remove out of bounds selections …

    aljungberg committed
    …failed to remove the last selected item if the new arrangedObjects array was empty.
  12. @aljungberg

    Fixed: CPArrayController could get out of bounds selections if a call…

    aljungberg committed
    … to rearrangeObjects caused objects to disappear from the arranged set.
  13. @aljungberg

    Fixed: CPArrayController would throw out of bounds exceptions when it…

    aljungberg committed
    …s content array was shortened and items at the end were selected.
    Extended avoid empty selection support so that when the last item is selected and deleted, the (previously) second to last item is selected instead. Works as expected with multiple selections.
  14. @aljungberg

    Performance fix: willChange and didChange for CPArrayController's sel…

    aljungberg committed
    …ectionIndexes were sent doubly.
  15. @aljungberg

    CPArrayController now pushes new selections to the bound model for se…

    aljungberg committed
    …lectionIndexes. Using this, support for selectsInsertedObjects was added.
    This commit also fixes a performance problem where calling setSelectionIndexes with a selection equal to the one already active caused a selection update.
  16. @aljungberg

    Fixed: the CPArrayController addObject: optimization for fast index u…

    aljungberg committed
    …pdates would never fire with a nil _filterPredicate, causing rearrangeObjects to be called needlessly.
Something went wrong with that request. Please try again.