mirror of
https://github.com/cappuccino/cappuccino.git
synced 2026-11-22 14:35:52 +00:00
Deploying to gh-pages from @ cappuccino/cappuccino@3aa053e7a8 🚀
This commit is contained in:
1 parent
fdc656d489
commit
5f9e33a40d
3 files changed
+439
-261
No files matched your search
@@ -21662,7 +21662,7 @@ class_addMethods(meta_class, [new objj_method(sel_getUid("openPanel"), function
|
||||
|
||||
,["id"])]);
|
||||
}
|
||||
p;15;CPOutlineView.jt;126416;@STATIC;1.0;i;10;CPButton.ji;15;CPTableColumn.ji;13;CPTableView.jt;126342;objj_executeFile("CPButton.j", YES);objj_executeFile("CPTableColumn.j", YES);objj_executeFile("CPTableView.j", YES);CPOutlineViewColumnDidMoveNotification = "CPOutlineViewColumnDidMoveNotification";
|
||||
p;15;CPOutlineView.jt;126416;@STATIC;1.0;i;10;CPButton.ji;15;CPTableColumn.ji;13;CPTableView.ji;12;CPTreeNode.jt;126325;objj_executeFile("CPButton.j", YES);objj_executeFile("CPTableColumn.j", YES);objj_executeFile("CPTableView.j", YES);objj_executeFile("CPTreeNode.j", YES);CPOutlineViewColumnDidMoveNotification = "CPOutlineViewColumnDidMoveNotification";
|
||||
CPOutlineViewColumnDidResizeNotification = "CPOutlineViewColumnDidResizeNotification";
|
||||
CPOutlineViewItemDidCollapseNotification = "CPOutlineViewItemDidCollapseNotification";
|
||||
CPOutlineViewItemDidExpandNotification = "CPOutlineViewItemDidExpandNotification";
|
||||
@@ -23101,8 +23101,8 @@ class_addMethods(the_class, [new objj_method(sel_getUid("setValueFor:"), functio
|
||||
var destination = ((___r1 = self._info), ___r1 == null ? ___r1 : (___r1.isa.method_msgSend["objectForKey:"] || _objj_forward)(___r1, "objectForKey:", CPObservedObjectKey)),
|
||||
keyPath = ((___r1 = self._info), ___r1 == null ? ___r1 : (___r1.isa.method_msgSend["objectForKey:"] || _objj_forward)(___r1, "objectForKey:", CPObservedKeyPathKey)),
|
||||
value = (destination == null ? destination : (destination.isa.method_msgSend["valueForKeyPath:"] || _objj_forward)(destination, "valueForKeyPath:", keyPath));
|
||||
if (!value || !(value == null ? value : (value.isa.method_msgSend["isKindOfClass:"] || _objj_forward)(value, "isKindOfClass:", (CPTreeNode == null ? CPTreeNode : (CPTreeNode.isa.method_msgSend["class"] || _objj_forward)(CPTreeNode, "class")))))
|
||||
self._rootNode = ((___r1 = (CPTreeNode == null ? CPTreeNode : (CPTreeNode.isa.method_msgSend["alloc"] || _objj_forward)(CPTreeNode, "alloc"))), ___r1 == null ? ___r1 : (___r1.isa.method_msgSend["initWithRepresentedObject:"] || _objj_forward)(___r1, "initWithRepresentedObject:", nil));
|
||||
if (!value || !(value == null ? value : (value.isa.method_msgSend["isKindOfClass:"] || _objj_forward)(value, "isKindOfClass:", (CPTreeNode.isa.method_msgSend["class"] || _objj_forward)(CPTreeNode, "class"))))
|
||||
self._rootNode = ((___r1 = (CPTreeNode.isa.method_msgSend["alloc"] || _objj_forward)(CPTreeNode, "alloc")), ___r1 == null ? ___r1 : (___r1.isa.method_msgSend["initWithRepresentedObject:"] || _objj_forward)(___r1, "initWithRepresentedObject:", nil));
|
||||
else
|
||||
self._rootNode = value;
|
||||
if (((___r1 = self._source), ___r1 == null ? ___r1 : (___r1.isa.method_msgSend["dataSource"] || _objj_forward)(___r1, "dataSource")) !== self)
|
||||
@@ -23168,6 +23168,7 @@ class_addMethods(the_class, [new objj_method(sel_getUid("initWithBinding:name:to
|
||||
{
|
||||
self = (objj_getClass("_CPOutlineViewSelectionIndexPathsBinder").super_class.method_dtable["initWithBinding:name:to:keyPath:options:from:"] || _objj_forward)(self, "initWithBinding:name:to:keyPath:options:from:", aBinding, aName, aDestination, aKeyPath, options, aSource);
|
||||
((___r1 = (CPNotificationCenter.isa.method_msgSend["defaultCenter"] || _objj_forward)(CPNotificationCenter, "defaultCenter")), ___r1 == null ? ___r1 : (___r1.isa.method_msgSend["addObserver:selector:name:object:"] || _objj_forward)(___r1, "addObserver:selector:name:object:", self, sel_getUid("outlineViewSelectionDidChange:"), CPOutlineViewSelectionDidChangeNotification, aSource));
|
||||
return self;
|
||||
var ___r1;
|
||||
}
|
||||
|
||||
@@ -45729,7 +45730,7 @@ var meta_class = the_class.isa;class_addMethods(the_class, [new objj_method(sel_
|
||||
|
||||
,["void"])]);
|
||||
}
|
||||
p;12;CPTreeNode.jt;12134;@STATIC;1.0;I;21;Foundation/CPObject.jI;24;Foundation/CPIndexPath.jI;20;Foundation/CPArray.jt;12034;objj_executeFile("Foundation/CPObject.j", NO);objj_executeFile("Foundation/CPIndexPath.j", NO);objj_executeFile("Foundation/CPArray.j", NO);
|
||||
p;12;CPTreeNode.jt;16998;@STATIC;1.0;I;21;Foundation/CPObject.jI;24;Foundation/CPIndexPath.jI;20;Foundation/CPArray.jt;16898;objj_executeFile("Foundation/CPObject.j", NO);objj_executeFile("Foundation/CPIndexPath.j", NO);objj_executeFile("Foundation/CPArray.j", NO);
|
||||
{var the_class = objj_allocateClassPair(CPObject, "CPTreeNode"),
|
||||
meta_class = the_class.isa;class_addIvars(the_class, [new objj_ivar("_representedObject", "id"), new objj_ivar("_parentNode", "CPTreeNode"), new objj_ivar("_childNodes", "CPMutableArray")]);objj_registerClassPair(the_class);
|
||||
class_addMethods(the_class, [new objj_method(sel_getUid("representedObject"), function $CPTreeNode__representedObject(self, _cmd)
|
||||
@@ -45737,22 +45738,12 @@ class_addMethods(the_class, [new objj_method(sel_getUid("representedObject"), fu
|
||||
return self._representedObject;
|
||||
}
|
||||
|
||||
,["id"]), new objj_method(sel_getUid("setRepresentedObject:"), function $CPTreeNode__setRepresentedObject_(self, _cmd, newValue)
|
||||
{
|
||||
self._representedObject = newValue;
|
||||
}
|
||||
|
||||
,["void","id"]), new objj_method(sel_getUid("parentNode"), function $CPTreeNode__parentNode(self, _cmd)
|
||||
,["id"]), new objj_method(sel_getUid("parentNode"), function $CPTreeNode__parentNode(self, _cmd)
|
||||
{
|
||||
return self._parentNode;
|
||||
}
|
||||
|
||||
,["CPTreeNode"]), new objj_method(sel_getUid("setParentNode:"), function $CPTreeNode__setParentNode_(self, _cmd, newValue)
|
||||
{
|
||||
self._parentNode = newValue;
|
||||
}
|
||||
|
||||
,["void","CPTreeNode"]), new objj_method(sel_getUid("initWithRepresentedObject:"), function $CPTreeNode__initWithRepresentedObject_(self, _cmd, anObject)
|
||||
,["CPTreeNode"]), new objj_method(sel_getUid("initWithRepresentedObject:"), function $CPTreeNode__initWithRepresentedObject_(self, _cmd, anObject)
|
||||
{
|
||||
self = (objj_getClass("CPTreeNode").super_class.method_dtable["init"] || _objj_forward)(self, "init");
|
||||
if (self)
|
||||
@@ -45763,18 +45754,64 @@ class_addMethods(the_class, [new objj_method(sel_getUid("representedObject"), fu
|
||||
return self;
|
||||
}
|
||||
|
||||
,["id","id"]), new objj_method(sel_getUid("indexPath"), function $CPTreeNode__indexPath(self, _cmd)
|
||||
,["id","id"]), new objj_method(sel_getUid("init"), function $CPTreeNode__init(self, _cmd)
|
||||
{
|
||||
if (self._parentNode)
|
||||
return (self.isa.method_msgSend["initWithRepresentedObject:"] || _objj_forward)(self, "initWithRepresentedObject:", nil);
|
||||
}
|
||||
|
||||
,["id"]), new objj_method(sel_getUid("_wouldCreateCycleWithNode:"), function $CPTreeNode___wouldCreateCycleWithNode_(self, _cmd, aTreeNode)
|
||||
{
|
||||
for (var node = self; node; node = node._parentNode)
|
||||
{
|
||||
var index = ((___r1 = ((___r2 = self._parentNode), ___r2 == null ? ___r2 : (___r2.isa.method_msgSend["childNodes"] || _objj_forward)(___r2, "childNodes"))), ___r1 == null ? ___r1 : (___r1.isa.method_msgSend["indexOfObjectIdenticalTo:"] || _objj_forward)(___r1, "indexOfObjectIdenticalTo:", self));
|
||||
var parentPath = ((___r1 = self._parentNode), ___r1 == null ? ___r1 : (___r1.isa.method_msgSend["indexPath"] || _objj_forward)(___r1, "indexPath"));
|
||||
if (parentPath)
|
||||
return (parentPath == null ? parentPath : (parentPath.isa.method_msgSend["indexPathByAddingIndex:"] || _objj_forward)(parentPath, "indexPathByAddingIndex:", index));
|
||||
return (CPIndexPath.isa.method_msgSend["indexPathWithIndex:"] || _objj_forward)(CPIndexPath, "indexPathWithIndex:", index);
|
||||
if (node === aTreeNode)
|
||||
return YES;
|
||||
}
|
||||
return nil;
|
||||
var ___r1, ___r2;
|
||||
return NO;
|
||||
}
|
||||
|
||||
,["BOOL","CPTreeNode"]), new objj_method(sel_getUid("_validateChildNode:"), function $CPTreeNode___validateChildNode_(self, _cmd, aTreeNode)
|
||||
{
|
||||
if (!(aTreeNode == null ? aTreeNode : (aTreeNode.isa.method_msgSend["isKindOfClass:"] || _objj_forward)(aTreeNode, "isKindOfClass:", (CPTreeNode.isa.method_msgSend["class"] || _objj_forward)(CPTreeNode, "class"))))
|
||||
{
|
||||
(CPException.isa.method_msgSend["raise:reason:"] || _objj_forward)(CPException, "raise:reason:", CPInvalidArgumentException, "CPTreeNode children must be CPTreeNode instances.");
|
||||
}
|
||||
}
|
||||
|
||||
,["void","id"]), new objj_method(sel_getUid("_removeChildNode:"), function $CPTreeNode___removeChildNode_(self, _cmd, aNode)
|
||||
{
|
||||
var index = ((___r1 = self._childNodes), ___r1 == null ? ___r1 : (___r1.isa.method_msgSend["indexOfObjectIdenticalTo:"] || _objj_forward)(___r1, "indexOfObjectIdenticalTo:", aNode));
|
||||
if (index === CPNotFound)
|
||||
{
|
||||
(CPException.isa.method_msgSend["raise:reason:"] || _objj_forward)(CPException, "raise:reason:", CPInternalInconsistencyException, "CPTreeNode parent and child relationship is inconsistent.");
|
||||
}
|
||||
aNode._parentNode = nil;
|
||||
((___r1 = self._childNodes), ___r1 == null ? ___r1 : (___r1.isa.method_msgSend["removeObjectAtIndex:"] || _objj_forward)(___r1, "removeObjectAtIndex:", index));
|
||||
var ___r1;
|
||||
}
|
||||
|
||||
,["void","CPTreeNode"]), new objj_method(sel_getUid("indexPath"), function $CPTreeNode__indexPath(self, _cmd)
|
||||
{
|
||||
if (!self._parentNode)
|
||||
return (CPIndexPath.isa.method_msgSend["indexPathWithIndexes:"] || _objj_forward)(CPIndexPath, "indexPathWithIndexes:", []);
|
||||
var indexes = [],
|
||||
node = self;
|
||||
while (node._parentNode)
|
||||
{
|
||||
var parent = node._parentNode,
|
||||
index = ((___r1 = parent._childNodes), ___r1 == null ? ___r1 : (___r1.isa.method_msgSend["indexOfObjectIdenticalTo:"] || _objj_forward)(___r1, "indexOfObjectIdenticalTo:", node));
|
||||
if (index === CPNotFound)
|
||||
{
|
||||
(CPException.isa.method_msgSend["raise:reason:"] || _objj_forward)(CPException, "raise:reason:", CPInternalInconsistencyException, "CPTreeNode parent and child relationship is inconsistent.");
|
||||
}
|
||||
(indexes == null ? indexes : (indexes.isa.method_msgSend["addObject:"] || _objj_forward)(indexes, "addObject:", index));
|
||||
node = parent;
|
||||
}
|
||||
var orderedIndexes = [],
|
||||
count = (indexes == null ? indexes : (indexes.isa.method_msgSend["count"] || _objj_forward)(indexes, "count"));
|
||||
while (count--)
|
||||
(orderedIndexes == null ? orderedIndexes : (orderedIndexes.isa.method_msgSend["addObject:"] || _objj_forward)(orderedIndexes, "addObject:", (indexes == null ? indexes : (indexes.isa.method_msgSend["objectAtIndex:"] || _objj_forward)(indexes, "objectAtIndex:", count))));
|
||||
return (CPIndexPath.isa.method_msgSend["indexPathWithIndexes:"] || _objj_forward)(CPIndexPath, "indexPathWithIndexes:", orderedIndexes);
|
||||
var ___r1;
|
||||
}
|
||||
|
||||
,["CPIndexPath"]), new objj_method(sel_getUid("isLeaf"), function $CPTreeNode__isLeaf(self, _cmd)
|
||||
@@ -45796,65 +45833,108 @@ class_addMethods(the_class, [new objj_method(sel_getUid("representedObject"), fu
|
||||
|
||||
,["CPMutableArray"]), new objj_method(sel_getUid("insertObject:inChildNodesAtIndex:"), function $CPTreeNode__insertObject_inChildNodesAtIndex_(self, _cmd, aTreeNode, anIndex)
|
||||
{
|
||||
if ((aTreeNode == null ? aTreeNode : (aTreeNode.isa.method_msgSend["isKindOfClass:"] || _objj_forward)(aTreeNode, "isKindOfClass:", (CPTreeNode.isa.method_msgSend["class"] || _objj_forward)(CPTreeNode, "class"))) && aTreeNode._parentNode)
|
||||
var count = ((___r1 = self._childNodes), ___r1 == null ? ___r1 : (___r1.isa.method_msgSend["count"] || _objj_forward)(___r1, "count"));
|
||||
if (anIndex < 0 || anIndex > count)
|
||||
{
|
||||
((___r1 = ((___r2 = aTreeNode._parentNode), ___r2 == null ? ___r2 : (___r2.isa.method_msgSend["mutableChildNodes"] || _objj_forward)(___r2, "mutableChildNodes"))), ___r1 == null ? ___r1 : (___r1.isa.method_msgSend["removeObjectIdenticalTo:"] || _objj_forward)(___r1, "removeObjectIdenticalTo:", aTreeNode));
|
||||
(CPException.isa.method_msgSend["raise:reason:"] || _objj_forward)(CPException, "raise:reason:", CPRangeException, "index (" + anIndex + ") beyond bounds (0 .. " + count + ") for insertObject:inChildNodesAtIndex:");
|
||||
}
|
||||
if ((aTreeNode == null ? aTreeNode : (aTreeNode.isa.method_msgSend["isKindOfClass:"] || _objj_forward)(aTreeNode, "isKindOfClass:", (CPTreeNode.isa.method_msgSend["class"] || _objj_forward)(CPTreeNode, "class"))))
|
||||
aTreeNode._parentNode = self;
|
||||
(self.isa.method_msgSend["_validateChildNode:"] || _objj_forward)(self, "_validateChildNode:", aTreeNode);
|
||||
if ((self.isa.method_msgSend["_wouldCreateCycleWithNode:"] || _objj_forward)(self, "_wouldCreateCycleWithNode:", aTreeNode))
|
||||
{
|
||||
(CPException.isa.method_msgSend["raise:reason:"] || _objj_forward)(CPException, "raise:reason:", CPInvalidArgumentException, "Inserting a CPTreeNode beneath itself or one of its descendants makes a cycle.");
|
||||
}
|
||||
if (aTreeNode._parentNode)
|
||||
{
|
||||
if (aTreeNode._parentNode === self)
|
||||
{
|
||||
var originalIndex = ((___r1 = self._childNodes), ___r1 == null ? ___r1 : (___r1.isa.method_msgSend["indexOfObjectIdenticalTo:"] || _objj_forward)(___r1, "indexOfObjectIdenticalTo:", aTreeNode));
|
||||
aTreeNode._parentNode = nil;
|
||||
((___r1 = self._childNodes), ___r1 == null ? ___r1 : (___r1.isa.method_msgSend["removeObjectAtIndex:"] || _objj_forward)(___r1, "removeObjectAtIndex:", originalIndex));
|
||||
if (originalIndex < anIndex)
|
||||
--anIndex;
|
||||
}
|
||||
else
|
||||
{
|
||||
((___r1 = aTreeNode._parentNode), ___r1 == null ? ___r1 : (___r1.isa.method_msgSend["_removeChildNode:"] || _objj_forward)(___r1, "_removeChildNode:", aTreeNode));
|
||||
}
|
||||
}
|
||||
aTreeNode._parentNode = self;
|
||||
((___r1 = self._childNodes), ___r1 == null ? ___r1 : (___r1.isa.method_msgSend["insertObject:atIndex:"] || _objj_forward)(___r1, "insertObject:atIndex:", aTreeNode, anIndex));
|
||||
var ___r1, ___r2;
|
||||
var ___r1;
|
||||
}
|
||||
|
||||
,["void","CPTreeNode","CPInteger"]), new objj_method(sel_getUid("removeObjectFromChildNodesAtIndex:"), function $CPTreeNode__removeObjectFromChildNodesAtIndex_(self, _cmd, anIndex)
|
||||
{
|
||||
var node = ((___r1 = self._childNodes), ___r1 == null ? ___r1 : (___r1.isa.method_msgSend["objectAtIndex:"] || _objj_forward)(___r1, "objectAtIndex:", anIndex));
|
||||
if ((node == null ? node : (node.isa.method_msgSend["isKindOfClass:"] || _objj_forward)(node, "isKindOfClass:", (CPTreeNode.isa.method_msgSend["class"] || _objj_forward)(CPTreeNode, "class"))))
|
||||
node._parentNode = nil;
|
||||
node._parentNode = nil;
|
||||
((___r1 = self._childNodes), ___r1 == null ? ___r1 : (___r1.isa.method_msgSend["removeObjectAtIndex:"] || _objj_forward)(___r1, "removeObjectAtIndex:", anIndex));
|
||||
var ___r1;
|
||||
}
|
||||
|
||||
,["void","CPInteger"]), new objj_method(sel_getUid("replaceObjectFromChildNodesAtIndex:withObject:"), function $CPTreeNode__replaceObjectFromChildNodesAtIndex_withObject_(self, _cmd, anIndex, aTreeNode)
|
||||
,["void","CPInteger"]), new objj_method(sel_getUid("replaceObjectInChildNodesAtIndex:withObject:"), function $CPTreeNode__replaceObjectInChildNodesAtIndex_withObject_(self, _cmd, anIndex, aTreeNode)
|
||||
{
|
||||
var oldTreeNode = ((___r1 = self._childNodes), ___r1 == null ? ___r1 : (___r1.isa.method_msgSend["objectAtIndex:"] || _objj_forward)(___r1, "objectAtIndex:", anIndex));
|
||||
if ((oldTreeNode == null ? oldTreeNode : (oldTreeNode.isa.method_msgSend["isKindOfClass:"] || _objj_forward)(oldTreeNode, "isKindOfClass:", (CPTreeNode.isa.method_msgSend["class"] || _objj_forward)(CPTreeNode, "class"))))
|
||||
oldTreeNode._parentNode = nil;
|
||||
if ((aTreeNode == null ? aTreeNode : (aTreeNode.isa.method_msgSend["isKindOfClass:"] || _objj_forward)(aTreeNode, "isKindOfClass:", (CPTreeNode.isa.method_msgSend["class"] || _objj_forward)(CPTreeNode, "class"))))
|
||||
aTreeNode._parentNode = self;
|
||||
(self.isa.method_msgSend["_validateChildNode:"] || _objj_forward)(self, "_validateChildNode:", aTreeNode);
|
||||
if (oldTreeNode === aTreeNode)
|
||||
return;
|
||||
if ((self.isa.method_msgSend["_wouldCreateCycleWithNode:"] || _objj_forward)(self, "_wouldCreateCycleWithNode:", aTreeNode))
|
||||
{
|
||||
(CPException.isa.method_msgSend["raise:reason:"] || _objj_forward)(CPException, "raise:reason:", CPInvalidArgumentException, "Replacing a child with itself or one of its ancestors makes a cycle.");
|
||||
}
|
||||
var oldParent = aTreeNode._parentNode;
|
||||
if (oldParent === self)
|
||||
{
|
||||
var replacementIndex = ((___r1 = self._childNodes), ___r1 == null ? ___r1 : (___r1.isa.method_msgSend["indexOfObjectIdenticalTo:"] || _objj_forward)(___r1, "indexOfObjectIdenticalTo:", aTreeNode));
|
||||
if (replacementIndex === CPNotFound)
|
||||
{
|
||||
(CPException.isa.method_msgSend["raise:reason:"] || _objj_forward)(CPException, "raise:reason:", CPInternalInconsistencyException, "CPTreeNode parent and child relationship is inconsistent.");
|
||||
}
|
||||
aTreeNode._parentNode = nil;
|
||||
((___r1 = self._childNodes), ___r1 == null ? ___r1 : (___r1.isa.method_msgSend["removeObjectAtIndex:"] || _objj_forward)(___r1, "removeObjectAtIndex:", replacementIndex));
|
||||
if (replacementIndex < anIndex)
|
||||
--anIndex;
|
||||
}
|
||||
else if (oldParent)
|
||||
{
|
||||
(oldParent == null ? oldParent : (oldParent.isa.method_msgSend["_removeChildNode:"] || _objj_forward)(oldParent, "_removeChildNode:", aTreeNode));
|
||||
}
|
||||
oldTreeNode._parentNode = nil;
|
||||
aTreeNode._parentNode = self;
|
||||
((___r1 = self._childNodes), ___r1 == null ? ___r1 : (___r1.isa.method_msgSend["replaceObjectAtIndex:withObject:"] || _objj_forward)(___r1, "replaceObjectAtIndex:withObject:", anIndex, aTreeNode));
|
||||
var ___r1;
|
||||
}
|
||||
|
||||
,["void","CPInteger","id"]), new objj_method(sel_getUid("objectInChildNodesAtIndex:"), function $CPTreeNode__objectInChildNodesAtIndex_(self, _cmd, anIndex)
|
||||
,["void","CPInteger","CPTreeNode"]), new objj_method(sel_getUid("objectInChildNodesAtIndex:"), function $CPTreeNode__objectInChildNodesAtIndex_(self, _cmd, anIndex)
|
||||
{
|
||||
return ((___r1 = self._childNodes), ___r1 == null ? ___r1 : (___r1.isa.method_msgSend["objectAtIndex:"] || _objj_forward)(___r1, "objectAtIndex:", anIndex));
|
||||
var ___r1;
|
||||
}
|
||||
|
||||
,["id","CPInteger"]), new objj_method(sel_getUid("count"), function $CPTreeNode__count(self, _cmd)
|
||||
,["id","CPInteger"]), new objj_method(sel_getUid("countOfChildNodes"), function $CPTreeNode__countOfChildNodes(self, _cmd)
|
||||
{
|
||||
return ((___r1 = self._childNodes), ___r1 == null ? ___r1 : (___r1.isa.method_msgSend["count"] || _objj_forward)(___r1, "count"));
|
||||
var ___r1;
|
||||
}
|
||||
|
||||
,["CPInteger"]), new objj_method(sel_getUid("objectAtIndex:"), function $CPTreeNode__objectAtIndex_(self, _cmd, anIndex)
|
||||
,["CPInteger"]), new objj_method(sel_getUid("sortWithSortDescriptors:recursively:"), function $CPTreeNode__sortWithSortDescriptors_recursively_(self, _cmd, sortDescriptors, shouldSortRecursively)
|
||||
{
|
||||
return ((___r1 = self._childNodes), ___r1 == null ? ___r1 : (___r1.isa.method_msgSend["objectAtIndex:"] || _objj_forward)(___r1, "objectAtIndex:", anIndex));
|
||||
var ___r1;
|
||||
}
|
||||
|
||||
,["id","CPInteger"]), new objj_method(sel_getUid("sortWithSortDescriptors:recursively:"), function $CPTreeNode__sortWithSortDescriptors_recursively_(self, _cmd, sortDescriptors, shouldSortRecursively)
|
||||
{
|
||||
((___r1 = self._childNodes), ___r1 == null ? ___r1 : (___r1.isa.method_msgSend["sortUsingDescriptors:"] || _objj_forward)(___r1, "sortUsingDescriptors:", sortDescriptors));
|
||||
if (!shouldSortRecursively)
|
||||
return;
|
||||
var count = ((___r1 = self._childNodes), ___r1 == null ? ___r1 : (___r1.isa.method_msgSend["count"] || _objj_forward)(___r1, "count"));
|
||||
while (count--)
|
||||
{
|
||||
var child = ((___r1 = self._childNodes), ___r1 == null ? ___r1 : (___r1.isa.method_msgSend["objectAtIndex:"] || _objj_forward)(___r1, "objectAtIndex:", count));
|
||||
if ((child == null ? child : (child.isa.method_msgSend["respondsToSelector:"] || _objj_forward)(child, "respondsToSelector:", sel_getUid("sortWithSortDescriptors:recursively:"))))
|
||||
(child == null ? child : (child.isa.method_msgSend["sortWithSortDescriptors:recursively:"] || _objj_forward)(child, "sortWithSortDescriptors:recursively:", sortDescriptors, YES));
|
||||
((___r1 = self._childNodes), ___r1 == null ? ___r1 : (___r1.isa.method_msgSend["sortUsingDescriptors:"] || _objj_forward)(___r1, "sortUsingDescriptors:", sortDescriptors));
|
||||
return;
|
||||
}
|
||||
var stack = [];
|
||||
(stack == null ? stack : (stack.isa.method_msgSend["addObject:"] || _objj_forward)(stack, "addObject:", self));
|
||||
while ((stack == null ? stack : (stack.isa.method_msgSend["count"] || _objj_forward)(stack, "count")))
|
||||
{
|
||||
var node = (stack == null ? stack : (stack.isa.method_msgSend["lastObject"] || _objj_forward)(stack, "lastObject"));
|
||||
(stack == null ? stack : (stack.isa.method_msgSend["removeLastObject"] || _objj_forward)(stack, "removeLastObject"));
|
||||
((___r1 = node._childNodes), ___r1 == null ? ___r1 : (___r1.isa.method_msgSend["sortUsingDescriptors:"] || _objj_forward)(___r1, "sortUsingDescriptors:", sortDescriptors));
|
||||
var count = ((___r1 = node._childNodes), ___r1 == null ? ___r1 : (___r1.isa.method_msgSend["count"] || _objj_forward)(___r1, "count"));
|
||||
while (count--)
|
||||
{
|
||||
(stack == null ? stack : (stack.isa.method_msgSend["addObject:"] || _objj_forward)(stack, "addObject:", ((___r1 = node._childNodes), ___r1 == null ? ___r1 : (___r1.isa.method_msgSend["objectAtIndex:"] || _objj_forward)(___r1, "objectAtIndex:", count))));
|
||||
}
|
||||
}
|
||||
var ___r1;
|
||||
}
|
||||
@@ -45868,10 +45948,10 @@ class_addMethods(the_class, [new objj_method(sel_getUid("representedObject"), fu
|
||||
for (var i = 0; i < length; i++)
|
||||
{
|
||||
var index = (indexPath == null ? indexPath : (indexPath.isa.method_msgSend["indexAtPosition:"] || _objj_forward)(indexPath, "indexAtPosition:", i)),
|
||||
count = (node == null ? node : (node.isa.method_msgSend["count"] || _objj_forward)(node, "count"));
|
||||
if (index >= count || index < 0)
|
||||
count = (node == null ? node : (node.isa.method_msgSend["countOfChildNodes"] || _objj_forward)(node, "countOfChildNodes"));
|
||||
if (index < 0 || index >= count)
|
||||
return nil;
|
||||
node = (node == null ? node : (node.isa.method_msgSend["objectAtIndex:"] || _objj_forward)(node, "objectAtIndex:", index));
|
||||
node = (node == null ? node : (node.isa.method_msgSend["objectInChildNodesAtIndex:"] || _objj_forward)(node, "objectInChildNodesAtIndex:", index));
|
||||
}
|
||||
return node;
|
||||
}
|
||||
@@ -45900,7 +45980,16 @@ var meta_class = the_class.isa;class_addMethods(the_class, [new objj_method(sel_
|
||||
self._parentNode = (aCoder == null ? aCoder : (aCoder.isa.method_msgSend["decodeObjectForKey:"] || _objj_forward)(aCoder, "decodeObjectForKey:", CPTreeNodeParentNodeKey));
|
||||
self._childNodes = (aCoder == null ? aCoder : (aCoder.isa.method_msgSend["decodeObjectForKey:"] || _objj_forward)(aCoder, "decodeObjectForKey:", CPTreeNodeChildNodesKey));
|
||||
if (!self._childNodes)
|
||||
self._childNodes = ((___r1 = (CPMutableArray.isa.method_msgSend["alloc"] || _objj_forward)(CPMutableArray, "alloc")), ___r1 == null ? ___r1 : (___r1.isa.method_msgSend["init"] || _objj_forward)(___r1, "init"));
|
||||
self._childNodes = [];
|
||||
if (!((___r1 = self._childNodes), ___r1 == null ? ___r1 : (___r1.isa.method_msgSend["isKindOfClass:"] || _objj_forward)(___r1, "isKindOfClass:", (CPMutableArray.isa.method_msgSend["class"] || _objj_forward)(CPMutableArray, "class"))))
|
||||
self._childNodes = ((___r1 = self._childNodes), ___r1 == null ? ___r1 : (___r1.isa.method_msgSend["mutableCopy"] || _objj_forward)(___r1, "mutableCopy"));
|
||||
var count = ((___r1 = self._childNodes), ___r1 == null ? ___r1 : (___r1.isa.method_msgSend["count"] || _objj_forward)(___r1, "count"));
|
||||
while (count--)
|
||||
{
|
||||
var child = ((___r1 = self._childNodes), ___r1 == null ? ___r1 : (___r1.isa.method_msgSend["objectAtIndex:"] || _objj_forward)(___r1, "objectAtIndex:", count));
|
||||
(self == null ? self : (self.isa.method_msgSend["_validateChildNode:"] || _objj_forward)(self, "_validateChildNode:", child));
|
||||
child._parentNode = self;
|
||||
}
|
||||
}
|
||||
return self;
|
||||
var ___r1;
|
||||
|
||||
@@ -20898,7 +20898,7 @@ class_addMethods(meta_class, [new objj_method(sel_getUid("openPanel"), function
|
||||
|
||||
,["id"])]);
|
||||
}
|
||||
p;15;CPOutlineView.jt;126416;@STATIC;1.0;i;10;CPButton.ji;15;CPTableColumn.ji;13;CPTableView.jt;126342;objj_executeFile("CPButton.j", YES);objj_executeFile("CPTableColumn.j", YES);objj_executeFile("CPTableView.j", YES);CPOutlineViewColumnDidMoveNotification = "CPOutlineViewColumnDidMoveNotification";
|
||||
p;15;CPOutlineView.jt;126416;@STATIC;1.0;i;10;CPButton.ji;15;CPTableColumn.ji;13;CPTableView.ji;12;CPTreeNode.jt;126325;objj_executeFile("CPButton.j", YES);objj_executeFile("CPTableColumn.j", YES);objj_executeFile("CPTableView.j", YES);objj_executeFile("CPTreeNode.j", YES);CPOutlineViewColumnDidMoveNotification = "CPOutlineViewColumnDidMoveNotification";
|
||||
CPOutlineViewColumnDidResizeNotification = "CPOutlineViewColumnDidResizeNotification";
|
||||
CPOutlineViewItemDidCollapseNotification = "CPOutlineViewItemDidCollapseNotification";
|
||||
CPOutlineViewItemDidExpandNotification = "CPOutlineViewItemDidExpandNotification";
|
||||
@@ -22337,8 +22337,8 @@ class_addMethods(the_class, [new objj_method(sel_getUid("setValueFor:"), functio
|
||||
var destination = ((___r1 = self._info), ___r1 == null ? ___r1 : (___r1.isa.method_msgSend["objectForKey:"] || _objj_forward)(___r1, "objectForKey:", CPObservedObjectKey)),
|
||||
keyPath = ((___r1 = self._info), ___r1 == null ? ___r1 : (___r1.isa.method_msgSend["objectForKey:"] || _objj_forward)(___r1, "objectForKey:", CPObservedKeyPathKey)),
|
||||
value = (destination == null ? destination : (destination.isa.method_msgSend["valueForKeyPath:"] || _objj_forward)(destination, "valueForKeyPath:", keyPath));
|
||||
if (!value || !(value == null ? value : (value.isa.method_msgSend["isKindOfClass:"] || _objj_forward)(value, "isKindOfClass:", (CPTreeNode == null ? CPTreeNode : (CPTreeNode.isa.method_msgSend["class"] || _objj_forward)(CPTreeNode, "class")))))
|
||||
self._rootNode = ((___r1 = (CPTreeNode == null ? CPTreeNode : (CPTreeNode.isa.method_msgSend["alloc"] || _objj_forward)(CPTreeNode, "alloc"))), ___r1 == null ? ___r1 : (___r1.isa.method_msgSend["initWithRepresentedObject:"] || _objj_forward)(___r1, "initWithRepresentedObject:", nil));
|
||||
if (!value || !(value == null ? value : (value.isa.method_msgSend["isKindOfClass:"] || _objj_forward)(value, "isKindOfClass:", (CPTreeNode.isa.method_msgSend["class"] || _objj_forward)(CPTreeNode, "class"))))
|
||||
self._rootNode = ((___r1 = (CPTreeNode.isa.method_msgSend["alloc"] || _objj_forward)(CPTreeNode, "alloc")), ___r1 == null ? ___r1 : (___r1.isa.method_msgSend["initWithRepresentedObject:"] || _objj_forward)(___r1, "initWithRepresentedObject:", nil));
|
||||
else
|
||||
self._rootNode = value;
|
||||
if (((___r1 = self._source), ___r1 == null ? ___r1 : (___r1.isa.method_msgSend["dataSource"] || _objj_forward)(___r1, "dataSource")) !== self)
|
||||
@@ -22404,6 +22404,7 @@ class_addMethods(the_class, [new objj_method(sel_getUid("initWithBinding:name:to
|
||||
{
|
||||
self = (objj_getClass("_CPOutlineViewSelectionIndexPathsBinder").super_class.method_dtable["initWithBinding:name:to:keyPath:options:from:"] || _objj_forward)(self, "initWithBinding:name:to:keyPath:options:from:", aBinding, aName, aDestination, aKeyPath, options, aSource);
|
||||
((___r1 = (CPNotificationCenter.isa.method_msgSend["defaultCenter"] || _objj_forward)(CPNotificationCenter, "defaultCenter")), ___r1 == null ? ___r1 : (___r1.isa.method_msgSend["addObserver:selector:name:object:"] || _objj_forward)(___r1, "addObserver:selector:name:object:", self, sel_getUid("outlineViewSelectionDidChange:"), CPOutlineViewSelectionDidChangeNotification, aSource));
|
||||
return self;
|
||||
var ___r1;
|
||||
}
|
||||
|
||||
@@ -44399,7 +44400,7 @@ var meta_class = the_class.isa;class_addMethods(the_class, [new objj_method(sel_
|
||||
|
||||
,["void"])]);
|
||||
}
|
||||
p;12;CPTreeNode.jt;12134;@STATIC;1.0;I;21;Foundation/CPObject.jI;24;Foundation/CPIndexPath.jI;20;Foundation/CPArray.jt;12034;objj_executeFile("Foundation/CPObject.j", NO);objj_executeFile("Foundation/CPIndexPath.j", NO);objj_executeFile("Foundation/CPArray.j", NO);
|
||||
p;12;CPTreeNode.jt;16998;@STATIC;1.0;I;21;Foundation/CPObject.jI;24;Foundation/CPIndexPath.jI;20;Foundation/CPArray.jt;16898;objj_executeFile("Foundation/CPObject.j", NO);objj_executeFile("Foundation/CPIndexPath.j", NO);objj_executeFile("Foundation/CPArray.j", NO);
|
||||
{var the_class = objj_allocateClassPair(CPObject, "CPTreeNode"),
|
||||
meta_class = the_class.isa;class_addIvars(the_class, [new objj_ivar("_representedObject", "id"), new objj_ivar("_parentNode", "CPTreeNode"), new objj_ivar("_childNodes", "CPMutableArray")]);objj_registerClassPair(the_class);
|
||||
class_addMethods(the_class, [new objj_method(sel_getUid("representedObject"), function $CPTreeNode__representedObject(self, _cmd)
|
||||
@@ -44407,22 +44408,12 @@ class_addMethods(the_class, [new objj_method(sel_getUid("representedObject"), fu
|
||||
return self._representedObject;
|
||||
}
|
||||
|
||||
,["id"]), new objj_method(sel_getUid("setRepresentedObject:"), function $CPTreeNode__setRepresentedObject_(self, _cmd, newValue)
|
||||
{
|
||||
self._representedObject = newValue;
|
||||
}
|
||||
|
||||
,["void","id"]), new objj_method(sel_getUid("parentNode"), function $CPTreeNode__parentNode(self, _cmd)
|
||||
,["id"]), new objj_method(sel_getUid("parentNode"), function $CPTreeNode__parentNode(self, _cmd)
|
||||
{
|
||||
return self._parentNode;
|
||||
}
|
||||
|
||||
,["CPTreeNode"]), new objj_method(sel_getUid("setParentNode:"), function $CPTreeNode__setParentNode_(self, _cmd, newValue)
|
||||
{
|
||||
self._parentNode = newValue;
|
||||
}
|
||||
|
||||
,["void","CPTreeNode"]), new objj_method(sel_getUid("initWithRepresentedObject:"), function $CPTreeNode__initWithRepresentedObject_(self, _cmd, anObject)
|
||||
,["CPTreeNode"]), new objj_method(sel_getUid("initWithRepresentedObject:"), function $CPTreeNode__initWithRepresentedObject_(self, _cmd, anObject)
|
||||
{
|
||||
self = (objj_getClass("CPTreeNode").super_class.method_dtable["init"] || _objj_forward)(self, "init");
|
||||
if (self)
|
||||
@@ -44433,18 +44424,64 @@ class_addMethods(the_class, [new objj_method(sel_getUid("representedObject"), fu
|
||||
return self;
|
||||
}
|
||||
|
||||
,["id","id"]), new objj_method(sel_getUid("indexPath"), function $CPTreeNode__indexPath(self, _cmd)
|
||||
,["id","id"]), new objj_method(sel_getUid("init"), function $CPTreeNode__init(self, _cmd)
|
||||
{
|
||||
if (self._parentNode)
|
||||
return (self.isa.method_msgSend["initWithRepresentedObject:"] || _objj_forward)(self, "initWithRepresentedObject:", nil);
|
||||
}
|
||||
|
||||
,["id"]), new objj_method(sel_getUid("_wouldCreateCycleWithNode:"), function $CPTreeNode___wouldCreateCycleWithNode_(self, _cmd, aTreeNode)
|
||||
{
|
||||
for (var node = self; node; node = node._parentNode)
|
||||
{
|
||||
var index = ((___r1 = ((___r2 = self._parentNode), ___r2 == null ? ___r2 : (___r2.isa.method_msgSend["childNodes"] || _objj_forward)(___r2, "childNodes"))), ___r1 == null ? ___r1 : (___r1.isa.method_msgSend["indexOfObjectIdenticalTo:"] || _objj_forward)(___r1, "indexOfObjectIdenticalTo:", self));
|
||||
var parentPath = ((___r1 = self._parentNode), ___r1 == null ? ___r1 : (___r1.isa.method_msgSend["indexPath"] || _objj_forward)(___r1, "indexPath"));
|
||||
if (parentPath)
|
||||
return (parentPath == null ? parentPath : (parentPath.isa.method_msgSend["indexPathByAddingIndex:"] || _objj_forward)(parentPath, "indexPathByAddingIndex:", index));
|
||||
return (CPIndexPath.isa.method_msgSend["indexPathWithIndex:"] || _objj_forward)(CPIndexPath, "indexPathWithIndex:", index);
|
||||
if (node === aTreeNode)
|
||||
return YES;
|
||||
}
|
||||
return nil;
|
||||
var ___r1, ___r2;
|
||||
return NO;
|
||||
}
|
||||
|
||||
,["BOOL","CPTreeNode"]), new objj_method(sel_getUid("_validateChildNode:"), function $CPTreeNode___validateChildNode_(self, _cmd, aTreeNode)
|
||||
{
|
||||
if (!(aTreeNode == null ? aTreeNode : (aTreeNode.isa.method_msgSend["isKindOfClass:"] || _objj_forward)(aTreeNode, "isKindOfClass:", (CPTreeNode.isa.method_msgSend["class"] || _objj_forward)(CPTreeNode, "class"))))
|
||||
{
|
||||
(CPException.isa.method_msgSend["raise:reason:"] || _objj_forward)(CPException, "raise:reason:", CPInvalidArgumentException, "CPTreeNode children must be CPTreeNode instances.");
|
||||
}
|
||||
}
|
||||
|
||||
,["void","id"]), new objj_method(sel_getUid("_removeChildNode:"), function $CPTreeNode___removeChildNode_(self, _cmd, aNode)
|
||||
{
|
||||
var index = ((___r1 = self._childNodes), ___r1 == null ? ___r1 : (___r1.isa.method_msgSend["indexOfObjectIdenticalTo:"] || _objj_forward)(___r1, "indexOfObjectIdenticalTo:", aNode));
|
||||
if (index === CPNotFound)
|
||||
{
|
||||
(CPException.isa.method_msgSend["raise:reason:"] || _objj_forward)(CPException, "raise:reason:", CPInternalInconsistencyException, "CPTreeNode parent and child relationship is inconsistent.");
|
||||
}
|
||||
aNode._parentNode = nil;
|
||||
((___r1 = self._childNodes), ___r1 == null ? ___r1 : (___r1.isa.method_msgSend["removeObjectAtIndex:"] || _objj_forward)(___r1, "removeObjectAtIndex:", index));
|
||||
var ___r1;
|
||||
}
|
||||
|
||||
,["void","CPTreeNode"]), new objj_method(sel_getUid("indexPath"), function $CPTreeNode__indexPath(self, _cmd)
|
||||
{
|
||||
if (!self._parentNode)
|
||||
return (CPIndexPath.isa.method_msgSend["indexPathWithIndexes:"] || _objj_forward)(CPIndexPath, "indexPathWithIndexes:", []);
|
||||
var indexes = [],
|
||||
node = self;
|
||||
while (node._parentNode)
|
||||
{
|
||||
var parent = node._parentNode,
|
||||
index = ((___r1 = parent._childNodes), ___r1 == null ? ___r1 : (___r1.isa.method_msgSend["indexOfObjectIdenticalTo:"] || _objj_forward)(___r1, "indexOfObjectIdenticalTo:", node));
|
||||
if (index === CPNotFound)
|
||||
{
|
||||
(CPException.isa.method_msgSend["raise:reason:"] || _objj_forward)(CPException, "raise:reason:", CPInternalInconsistencyException, "CPTreeNode parent and child relationship is inconsistent.");
|
||||
}
|
||||
(indexes == null ? indexes : (indexes.isa.method_msgSend["addObject:"] || _objj_forward)(indexes, "addObject:", index));
|
||||
node = parent;
|
||||
}
|
||||
var orderedIndexes = [],
|
||||
count = (indexes == null ? indexes : (indexes.isa.method_msgSend["count"] || _objj_forward)(indexes, "count"));
|
||||
while (count--)
|
||||
(orderedIndexes == null ? orderedIndexes : (orderedIndexes.isa.method_msgSend["addObject:"] || _objj_forward)(orderedIndexes, "addObject:", (indexes == null ? indexes : (indexes.isa.method_msgSend["objectAtIndex:"] || _objj_forward)(indexes, "objectAtIndex:", count))));
|
||||
return (CPIndexPath.isa.method_msgSend["indexPathWithIndexes:"] || _objj_forward)(CPIndexPath, "indexPathWithIndexes:", orderedIndexes);
|
||||
var ___r1;
|
||||
}
|
||||
|
||||
,["CPIndexPath"]), new objj_method(sel_getUid("isLeaf"), function $CPTreeNode__isLeaf(self, _cmd)
|
||||
@@ -44466,65 +44503,108 @@ class_addMethods(the_class, [new objj_method(sel_getUid("representedObject"), fu
|
||||
|
||||
,["CPMutableArray"]), new objj_method(sel_getUid("insertObject:inChildNodesAtIndex:"), function $CPTreeNode__insertObject_inChildNodesAtIndex_(self, _cmd, aTreeNode, anIndex)
|
||||
{
|
||||
if ((aTreeNode == null ? aTreeNode : (aTreeNode.isa.method_msgSend["isKindOfClass:"] || _objj_forward)(aTreeNode, "isKindOfClass:", (CPTreeNode.isa.method_msgSend["class"] || _objj_forward)(CPTreeNode, "class"))) && aTreeNode._parentNode)
|
||||
var count = ((___r1 = self._childNodes), ___r1 == null ? ___r1 : (___r1.isa.method_msgSend["count"] || _objj_forward)(___r1, "count"));
|
||||
if (anIndex < 0 || anIndex > count)
|
||||
{
|
||||
((___r1 = ((___r2 = aTreeNode._parentNode), ___r2 == null ? ___r2 : (___r2.isa.method_msgSend["mutableChildNodes"] || _objj_forward)(___r2, "mutableChildNodes"))), ___r1 == null ? ___r1 : (___r1.isa.method_msgSend["removeObjectIdenticalTo:"] || _objj_forward)(___r1, "removeObjectIdenticalTo:", aTreeNode));
|
||||
(CPException.isa.method_msgSend["raise:reason:"] || _objj_forward)(CPException, "raise:reason:", CPRangeException, "index (" + anIndex + ") beyond bounds (0 .. " + count + ") for insertObject:inChildNodesAtIndex:");
|
||||
}
|
||||
if ((aTreeNode == null ? aTreeNode : (aTreeNode.isa.method_msgSend["isKindOfClass:"] || _objj_forward)(aTreeNode, "isKindOfClass:", (CPTreeNode.isa.method_msgSend["class"] || _objj_forward)(CPTreeNode, "class"))))
|
||||
aTreeNode._parentNode = self;
|
||||
(self.isa.method_msgSend["_validateChildNode:"] || _objj_forward)(self, "_validateChildNode:", aTreeNode);
|
||||
if ((self.isa.method_msgSend["_wouldCreateCycleWithNode:"] || _objj_forward)(self, "_wouldCreateCycleWithNode:", aTreeNode))
|
||||
{
|
||||
(CPException.isa.method_msgSend["raise:reason:"] || _objj_forward)(CPException, "raise:reason:", CPInvalidArgumentException, "Inserting a CPTreeNode beneath itself or one of its descendants makes a cycle.");
|
||||
}
|
||||
if (aTreeNode._parentNode)
|
||||
{
|
||||
if (aTreeNode._parentNode === self)
|
||||
{
|
||||
var originalIndex = ((___r1 = self._childNodes), ___r1 == null ? ___r1 : (___r1.isa.method_msgSend["indexOfObjectIdenticalTo:"] || _objj_forward)(___r1, "indexOfObjectIdenticalTo:", aTreeNode));
|
||||
aTreeNode._parentNode = nil;
|
||||
((___r1 = self._childNodes), ___r1 == null ? ___r1 : (___r1.isa.method_msgSend["removeObjectAtIndex:"] || _objj_forward)(___r1, "removeObjectAtIndex:", originalIndex));
|
||||
if (originalIndex < anIndex)
|
||||
--anIndex;
|
||||
}
|
||||
else
|
||||
{
|
||||
((___r1 = aTreeNode._parentNode), ___r1 == null ? ___r1 : (___r1.isa.method_msgSend["_removeChildNode:"] || _objj_forward)(___r1, "_removeChildNode:", aTreeNode));
|
||||
}
|
||||
}
|
||||
aTreeNode._parentNode = self;
|
||||
((___r1 = self._childNodes), ___r1 == null ? ___r1 : (___r1.isa.method_msgSend["insertObject:atIndex:"] || _objj_forward)(___r1, "insertObject:atIndex:", aTreeNode, anIndex));
|
||||
var ___r1, ___r2;
|
||||
var ___r1;
|
||||
}
|
||||
|
||||
,["void","CPTreeNode","CPInteger"]), new objj_method(sel_getUid("removeObjectFromChildNodesAtIndex:"), function $CPTreeNode__removeObjectFromChildNodesAtIndex_(self, _cmd, anIndex)
|
||||
{
|
||||
var node = ((___r1 = self._childNodes), ___r1 == null ? ___r1 : (___r1.isa.method_msgSend["objectAtIndex:"] || _objj_forward)(___r1, "objectAtIndex:", anIndex));
|
||||
if ((node == null ? node : (node.isa.method_msgSend["isKindOfClass:"] || _objj_forward)(node, "isKindOfClass:", (CPTreeNode.isa.method_msgSend["class"] || _objj_forward)(CPTreeNode, "class"))))
|
||||
node._parentNode = nil;
|
||||
node._parentNode = nil;
|
||||
((___r1 = self._childNodes), ___r1 == null ? ___r1 : (___r1.isa.method_msgSend["removeObjectAtIndex:"] || _objj_forward)(___r1, "removeObjectAtIndex:", anIndex));
|
||||
var ___r1;
|
||||
}
|
||||
|
||||
,["void","CPInteger"]), new objj_method(sel_getUid("replaceObjectFromChildNodesAtIndex:withObject:"), function $CPTreeNode__replaceObjectFromChildNodesAtIndex_withObject_(self, _cmd, anIndex, aTreeNode)
|
||||
,["void","CPInteger"]), new objj_method(sel_getUid("replaceObjectInChildNodesAtIndex:withObject:"), function $CPTreeNode__replaceObjectInChildNodesAtIndex_withObject_(self, _cmd, anIndex, aTreeNode)
|
||||
{
|
||||
var oldTreeNode = ((___r1 = self._childNodes), ___r1 == null ? ___r1 : (___r1.isa.method_msgSend["objectAtIndex:"] || _objj_forward)(___r1, "objectAtIndex:", anIndex));
|
||||
if ((oldTreeNode == null ? oldTreeNode : (oldTreeNode.isa.method_msgSend["isKindOfClass:"] || _objj_forward)(oldTreeNode, "isKindOfClass:", (CPTreeNode.isa.method_msgSend["class"] || _objj_forward)(CPTreeNode, "class"))))
|
||||
oldTreeNode._parentNode = nil;
|
||||
if ((aTreeNode == null ? aTreeNode : (aTreeNode.isa.method_msgSend["isKindOfClass:"] || _objj_forward)(aTreeNode, "isKindOfClass:", (CPTreeNode.isa.method_msgSend["class"] || _objj_forward)(CPTreeNode, "class"))))
|
||||
aTreeNode._parentNode = self;
|
||||
(self.isa.method_msgSend["_validateChildNode:"] || _objj_forward)(self, "_validateChildNode:", aTreeNode);
|
||||
if (oldTreeNode === aTreeNode)
|
||||
return;
|
||||
if ((self.isa.method_msgSend["_wouldCreateCycleWithNode:"] || _objj_forward)(self, "_wouldCreateCycleWithNode:", aTreeNode))
|
||||
{
|
||||
(CPException.isa.method_msgSend["raise:reason:"] || _objj_forward)(CPException, "raise:reason:", CPInvalidArgumentException, "Replacing a child with itself or one of its ancestors makes a cycle.");
|
||||
}
|
||||
var oldParent = aTreeNode._parentNode;
|
||||
if (oldParent === self)
|
||||
{
|
||||
var replacementIndex = ((___r1 = self._childNodes), ___r1 == null ? ___r1 : (___r1.isa.method_msgSend["indexOfObjectIdenticalTo:"] || _objj_forward)(___r1, "indexOfObjectIdenticalTo:", aTreeNode));
|
||||
if (replacementIndex === CPNotFound)
|
||||
{
|
||||
(CPException.isa.method_msgSend["raise:reason:"] || _objj_forward)(CPException, "raise:reason:", CPInternalInconsistencyException, "CPTreeNode parent and child relationship is inconsistent.");
|
||||
}
|
||||
aTreeNode._parentNode = nil;
|
||||
((___r1 = self._childNodes), ___r1 == null ? ___r1 : (___r1.isa.method_msgSend["removeObjectAtIndex:"] || _objj_forward)(___r1, "removeObjectAtIndex:", replacementIndex));
|
||||
if (replacementIndex < anIndex)
|
||||
--anIndex;
|
||||
}
|
||||
else if (oldParent)
|
||||
{
|
||||
(oldParent == null ? oldParent : (oldParent.isa.method_msgSend["_removeChildNode:"] || _objj_forward)(oldParent, "_removeChildNode:", aTreeNode));
|
||||
}
|
||||
oldTreeNode._parentNode = nil;
|
||||
aTreeNode._parentNode = self;
|
||||
((___r1 = self._childNodes), ___r1 == null ? ___r1 : (___r1.isa.method_msgSend["replaceObjectAtIndex:withObject:"] || _objj_forward)(___r1, "replaceObjectAtIndex:withObject:", anIndex, aTreeNode));
|
||||
var ___r1;
|
||||
}
|
||||
|
||||
,["void","CPInteger","id"]), new objj_method(sel_getUid("objectInChildNodesAtIndex:"), function $CPTreeNode__objectInChildNodesAtIndex_(self, _cmd, anIndex)
|
||||
,["void","CPInteger","CPTreeNode"]), new objj_method(sel_getUid("objectInChildNodesAtIndex:"), function $CPTreeNode__objectInChildNodesAtIndex_(self, _cmd, anIndex)
|
||||
{
|
||||
return ((___r1 = self._childNodes), ___r1 == null ? ___r1 : (___r1.isa.method_msgSend["objectAtIndex:"] || _objj_forward)(___r1, "objectAtIndex:", anIndex));
|
||||
var ___r1;
|
||||
}
|
||||
|
||||
,["id","CPInteger"]), new objj_method(sel_getUid("count"), function $CPTreeNode__count(self, _cmd)
|
||||
,["id","CPInteger"]), new objj_method(sel_getUid("countOfChildNodes"), function $CPTreeNode__countOfChildNodes(self, _cmd)
|
||||
{
|
||||
return ((___r1 = self._childNodes), ___r1 == null ? ___r1 : (___r1.isa.method_msgSend["count"] || _objj_forward)(___r1, "count"));
|
||||
var ___r1;
|
||||
}
|
||||
|
||||
,["CPInteger"]), new objj_method(sel_getUid("objectAtIndex:"), function $CPTreeNode__objectAtIndex_(self, _cmd, anIndex)
|
||||
,["CPInteger"]), new objj_method(sel_getUid("sortWithSortDescriptors:recursively:"), function $CPTreeNode__sortWithSortDescriptors_recursively_(self, _cmd, sortDescriptors, shouldSortRecursively)
|
||||
{
|
||||
return ((___r1 = self._childNodes), ___r1 == null ? ___r1 : (___r1.isa.method_msgSend["objectAtIndex:"] || _objj_forward)(___r1, "objectAtIndex:", anIndex));
|
||||
var ___r1;
|
||||
}
|
||||
|
||||
,["id","CPInteger"]), new objj_method(sel_getUid("sortWithSortDescriptors:recursively:"), function $CPTreeNode__sortWithSortDescriptors_recursively_(self, _cmd, sortDescriptors, shouldSortRecursively)
|
||||
{
|
||||
((___r1 = self._childNodes), ___r1 == null ? ___r1 : (___r1.isa.method_msgSend["sortUsingDescriptors:"] || _objj_forward)(___r1, "sortUsingDescriptors:", sortDescriptors));
|
||||
if (!shouldSortRecursively)
|
||||
return;
|
||||
var count = ((___r1 = self._childNodes), ___r1 == null ? ___r1 : (___r1.isa.method_msgSend["count"] || _objj_forward)(___r1, "count"));
|
||||
while (count--)
|
||||
{
|
||||
var child = ((___r1 = self._childNodes), ___r1 == null ? ___r1 : (___r1.isa.method_msgSend["objectAtIndex:"] || _objj_forward)(___r1, "objectAtIndex:", count));
|
||||
if ((child == null ? child : (child.isa.method_msgSend["respondsToSelector:"] || _objj_forward)(child, "respondsToSelector:", sel_getUid("sortWithSortDescriptors:recursively:"))))
|
||||
(child == null ? child : (child.isa.method_msgSend["sortWithSortDescriptors:recursively:"] || _objj_forward)(child, "sortWithSortDescriptors:recursively:", sortDescriptors, YES));
|
||||
((___r1 = self._childNodes), ___r1 == null ? ___r1 : (___r1.isa.method_msgSend["sortUsingDescriptors:"] || _objj_forward)(___r1, "sortUsingDescriptors:", sortDescriptors));
|
||||
return;
|
||||
}
|
||||
var stack = [];
|
||||
(stack == null ? stack : (stack.isa.method_msgSend["addObject:"] || _objj_forward)(stack, "addObject:", self));
|
||||
while ((stack == null ? stack : (stack.isa.method_msgSend["count"] || _objj_forward)(stack, "count")))
|
||||
{
|
||||
var node = (stack == null ? stack : (stack.isa.method_msgSend["lastObject"] || _objj_forward)(stack, "lastObject"));
|
||||
(stack == null ? stack : (stack.isa.method_msgSend["removeLastObject"] || _objj_forward)(stack, "removeLastObject"));
|
||||
((___r1 = node._childNodes), ___r1 == null ? ___r1 : (___r1.isa.method_msgSend["sortUsingDescriptors:"] || _objj_forward)(___r1, "sortUsingDescriptors:", sortDescriptors));
|
||||
var count = ((___r1 = node._childNodes), ___r1 == null ? ___r1 : (___r1.isa.method_msgSend["count"] || _objj_forward)(___r1, "count"));
|
||||
while (count--)
|
||||
{
|
||||
(stack == null ? stack : (stack.isa.method_msgSend["addObject:"] || _objj_forward)(stack, "addObject:", ((___r1 = node._childNodes), ___r1 == null ? ___r1 : (___r1.isa.method_msgSend["objectAtIndex:"] || _objj_forward)(___r1, "objectAtIndex:", count))));
|
||||
}
|
||||
}
|
||||
var ___r1;
|
||||
}
|
||||
@@ -44538,10 +44618,10 @@ class_addMethods(the_class, [new objj_method(sel_getUid("representedObject"), fu
|
||||
for (var i = 0; i < length; i++)
|
||||
{
|
||||
var index = (indexPath == null ? indexPath : (indexPath.isa.method_msgSend["indexAtPosition:"] || _objj_forward)(indexPath, "indexAtPosition:", i)),
|
||||
count = (node == null ? node : (node.isa.method_msgSend["count"] || _objj_forward)(node, "count"));
|
||||
if (index >= count || index < 0)
|
||||
count = (node == null ? node : (node.isa.method_msgSend["countOfChildNodes"] || _objj_forward)(node, "countOfChildNodes"));
|
||||
if (index < 0 || index >= count)
|
||||
return nil;
|
||||
node = (node == null ? node : (node.isa.method_msgSend["objectAtIndex:"] || _objj_forward)(node, "objectAtIndex:", index));
|
||||
node = (node == null ? node : (node.isa.method_msgSend["objectInChildNodesAtIndex:"] || _objj_forward)(node, "objectInChildNodesAtIndex:", index));
|
||||
}
|
||||
return node;
|
||||
}
|
||||
@@ -44570,7 +44650,16 @@ var meta_class = the_class.isa;class_addMethods(the_class, [new objj_method(sel_
|
||||
self._parentNode = (aCoder == null ? aCoder : (aCoder.isa.method_msgSend["decodeObjectForKey:"] || _objj_forward)(aCoder, "decodeObjectForKey:", CPTreeNodeParentNodeKey));
|
||||
self._childNodes = (aCoder == null ? aCoder : (aCoder.isa.method_msgSend["decodeObjectForKey:"] || _objj_forward)(aCoder, "decodeObjectForKey:", CPTreeNodeChildNodesKey));
|
||||
if (!self._childNodes)
|
||||
self._childNodes = ((___r1 = (CPMutableArray.isa.method_msgSend["alloc"] || _objj_forward)(CPMutableArray, "alloc")), ___r1 == null ? ___r1 : (___r1.isa.method_msgSend["init"] || _objj_forward)(___r1, "init"));
|
||||
self._childNodes = [];
|
||||
if (!((___r1 = self._childNodes), ___r1 == null ? ___r1 : (___r1.isa.method_msgSend["isKindOfClass:"] || _objj_forward)(___r1, "isKindOfClass:", (CPMutableArray.isa.method_msgSend["class"] || _objj_forward)(CPMutableArray, "class"))))
|
||||
self._childNodes = ((___r1 = self._childNodes), ___r1 == null ? ___r1 : (___r1.isa.method_msgSend["mutableCopy"] || _objj_forward)(___r1, "mutableCopy"));
|
||||
var count = ((___r1 = self._childNodes), ___r1 == null ? ___r1 : (___r1.isa.method_msgSend["count"] || _objj_forward)(___r1, "count"));
|
||||
while (count--)
|
||||
{
|
||||
var child = ((___r1 = self._childNodes), ___r1 == null ? ___r1 : (___r1.isa.method_msgSend["objectAtIndex:"] || _objj_forward)(___r1, "objectAtIndex:", count));
|
||||
(self == null ? self : (self.isa.method_msgSend["_validateChildNode:"] || _objj_forward)(self, "_validateChildNode:", child));
|
||||
child._parentNode = self;
|
||||
}
|
||||
}
|
||||
return self;
|
||||
var ___r1;
|
||||
|
||||
+147
-147
@@ -1,147 +1,147 @@
|
||||
1786760008412|ArrayController1|
|
||||
1786760008426|ArrayControllerInitialSelectionTest|
|
||||
1786760008440|ArrayControllerRemovingFirstTest|
|
||||
1786760008454|AttachedSheet|
|
||||
1786760008467|AttachedSheet2|
|
||||
1786760008481|Bindings|
|
||||
1786760008494|CGCanvasContext|
|
||||
1786760008508|CGPath|
|
||||
1786760008521|CPAlertTest|
|
||||
1786760008535|CPAnimatablePropertyContainerTest|
|
||||
1786760008548|CPAnimationContextTest|
|
||||
1786760008562|CPAnimationTest|
|
||||
1786760008575|CPBinder-echo-bug|
|
||||
1786760008589|CPBoxCibTest|
|
||||
1786760008603|CPBoxTest|
|
||||
1786760008617|CPBrowserTest|
|
||||
1786760008630|CPButtonBarTest|
|
||||
1786760008644|CPButtonKeyEquivalentDefaultTest|
|
||||
1786760008658|CPButtonTest|
|
||||
1786760008672|CPByteCountFormatter|
|
||||
1786760008685|CPCollectionViewNibTest|
|
||||
1786760008699|CPColor-CPImage-description|
|
||||
1786760008713|CPColorWellBindings|
|
||||
1786760008726|CPComboBoxTest|
|
||||
1786760008740|CPControlPerformClickExceptionTest|
|
||||
1786760008753|CPControlSize|
|
||||
1786760008767|CPCursor|
|
||||
1786760008780|CPDateFormatterTest|
|
||||
1786760008794|CPDatePickerTest|
|
||||
1786760008807|CPDictionaryControllerTest|
|
||||
1786760008821|CPDocumentControllerTest|
|
||||
1786760008834|CPFormatterTest|
|
||||
1786760008848|CPGraphicsTest|
|
||||
1786760008861|CPImageAndTextViewImageScaling|
|
||||
1786760008875|CPImageViewAlignmentScaling|
|
||||
1786760008889|CPImageViewTest|
|
||||
1786760008902|CPImageViewbindingsTest|
|
||||
1786760008916|CPLevelIndicator|
|
||||
1786760008929|CPLocalizationTest|
|
||||
1786760008943|CPLogTest|
|
||||
1786760008956|CPMarkdownParser|
|
||||
1786760008970|CPMenuCALayerTest|
|
||||
1786760008983|CPMenuEnabledBindingsTest|
|
||||
1786760008997|CPMenuKeyEquivalents|
|
||||
1786760009010|CPMenuRemoveAllTest|
|
||||
1786760009024|CPMenuSubmenuPlacementConstraints|
|
||||
1786760009037|CPMenuTest|
|
||||
1786760009051|CPOutlineViewCibTest|
|
||||
1786760009065|CPOutlineViewTest|
|
||||
1786760009079|CPOutlineViewViewBasedCibTest|
|
||||
1786760009092|CPPanelTest|
|
||||
1786760009106|CPPlatformWindow|
|
||||
1786760009120|CPPlattformWindowMinSize|
|
||||
1786760009133|CPPopUpButtonBindings|
|
||||
1786760009147|CPPopUpButtonTest|
|
||||
1786760009160|CPPopover|
|
||||
1786760009174|CPPredicateEditorCibTest|
|
||||
1786760009187|CPProgressIndicator|
|
||||
1786760009201|CPPropertyListSerializationTest|
|
||||
1786760009214|CPRadioBindings|
|
||||
1786760009227|CPRuleEditorCibTest|
|
||||
1786760009241|CPRuleEditorTestI8N|
|
||||
1786760009254|CPScrollView|
|
||||
1786760009268|CPScrollView2|
|
||||
1786760009282|CPSearchField|
|
||||
1786760009295|CPSearchFieldPredicateBinding|
|
||||
1786760009309|CPSegmentedControlBindings|
|
||||
1786760009322|CPSegmentedControlTest|
|
||||
1786760009336|CPSoundTest|
|
||||
1786760009349|CPSplitViewDivider|
|
||||
1786760009363|CPSplitViewTest|
|
||||
1786760009376|CPStackViewTest|
|
||||
1786760009390|CPStepperBindings|
|
||||
1786760009404|CPStepperNibTest|
|
||||
1786760009417|CPTabView2|
|
||||
1786760009431|CPTabViewBindings|
|
||||
1786760009444|CPTabViewNib|
|
||||
1786760009458|CPTableViewGroupRows|
|
||||
1786760009472|CPTextField|
|
||||
1786760009485|CPTextFieldEditingStyleTest|
|
||||
1786760009499|CPTextFieldHeightTest|
|
||||
1786760009512|CPTextFieldMovementsTest|
|
||||
1786760009526|CPTextFieldMultiline|
|
||||
1786760009539|CPTextView|
|
||||
1786760009553|CPTextViewCibTest|
|
||||
1786760009566|CPTextViewDelegateAndNotifications|
|
||||
1786760009580|CPTimeZone|
|
||||
1786760009593|CPTokenFieldTest|
|
||||
1786760009607|CPToolTip|
|
||||
1786760009620|CPToolbarTest|
|
||||
1786760009634|CPTreeControllerTest|
|
||||
1786760009647|CPURLConnectionAsyncTest|
|
||||
1786760009661|CPURLConnectionSynchronousTest|
|
||||
1786760009674|CPUserDefaults|
|
||||
1786760009688|CPUserDefaultsControllerTest|
|
||||
1786760009702|CPUserNotificationTest|
|
||||
1786760009715|CPViewController|
|
||||
1786760009729|CPVisualEffectViewTest|
|
||||
1786760009742|CPWebViewTest|
|
||||
1786760009756|CPWebViewTest2|
|
||||
1786760009769|CPWindowLiveResizeTest|
|
||||
1786760009783|CPWindowMovableTest|
|
||||
1786760009796|CPWindowResizeStyle|
|
||||
1786760009809|ChildWindows|
|
||||
1786760009823|CompilationTests|
|
||||
1786760009837|ContinuouslyUpdatesValueBinding|
|
||||
1786760009850|CopyAndPaste|
|
||||
1786760009863|CrossOriginTest|
|
||||
1786760009877|FF4096Test|
|
||||
1786760009890|FontEnhancementTest|
|
||||
1786760009904|FontMetricsExplorer|
|
||||
1786760009917|KeyEquivalents|
|
||||
1786760009931|KeyViewLoopTest|
|
||||
1786760009944|KeyWindowInTheBackgroundActivation|
|
||||
1786760009958|LayoutTest|
|
||||
1786760009971|LoadTimeTest|
|
||||
1786760009985|LongBindings|
|
||||
1786760009998|MobileTest|
|
||||
1786760010012|MultipleValueBindings|
|
||||
1786760010025|NSBoxTest|
|
||||
1786760010039|NSBrowserTest|
|
||||
1786760010052|NewTextFieldBezel|
|
||||
1786760010066|Nib2CibAlignment|
|
||||
1786760010080|Nib2CibBaselineAlignementTest|
|
||||
1786760010093|Nib2CibSubviewsOrderTest|
|
||||
1786760010107|NibAppRemixed|
|
||||
1786760010120|PatternFillTest|
|
||||
1786760010133|PlatformWindows|
|
||||
1786760010147|PopUpButtonEscTest|
|
||||
1786760010160|ScalingTest|
|
||||
1786760010174|ScalingTest2|
|
||||
1786760010187|ScrollviewTheming|
|
||||
1786760010201|SheetWindowOrderFrontIssue|
|
||||
1786760010215|SimpleBindings2|
|
||||
1786760010228|SmartFoldersDemo|
|
||||
1786760010242|TableTest|
|
||||
1786760010256|ThemeBrowser|
|
||||
1786760010269|ThemeKitchenSink|
|
||||
1786760010283|TrackingArea|
|
||||
1786760010296|UndoRedoWithMenuUpdate|
|
||||
1786760010310|UserlandNSTest|
|
||||
1786760010323|layoutEphemeralSubviewTest|
|
||||
1786760010337|loadDynamicFrameworks|
|
||||
1786760010350|performKeyEquivalentTest|
|
||||
1786760010363|predicateWithFormat|
|
||||
1786760010377|resignFirstResponder-CPControlTextDidEndEditing|
|
||||
1786760010390|sizeToFitFix|
|
||||
1787159167258|ArrayController1|
|
||||
1787159167272|ArrayControllerInitialSelectionTest|
|
||||
1787159167286|ArrayControllerRemovingFirstTest|
|
||||
1787159167300|AttachedSheet|
|
||||
1787159167314|AttachedSheet2|
|
||||
1787159167327|Bindings|
|
||||
1787159167341|CGCanvasContext|
|
||||
1787159167354|CGPath|
|
||||
1787159167368|CPAlertTest|
|
||||
1787159167382|CPAnimatablePropertyContainerTest|
|
||||
1787159167395|CPAnimationContextTest|
|
||||
1787159167409|CPAnimationTest|
|
||||
1787159167424|CPBinder-echo-bug|
|
||||
1787159167438|CPBoxCibTest|
|
||||
1787159167452|CPBoxTest|
|
||||
1787159167466|CPBrowserTest|
|
||||
1787159167480|CPButtonBarTest|
|
||||
1787159167494|CPButtonKeyEquivalentDefaultTest|
|
||||
1787159167507|CPButtonTest|
|
||||
1787159167521|CPByteCountFormatter|
|
||||
1787159167535|CPCollectionViewNibTest|
|
||||
1787159167549|CPColor-CPImage-description|
|
||||
1787159167563|CPColorWellBindings|
|
||||
1787159167576|CPComboBoxTest|
|
||||
1787159167590|CPControlPerformClickExceptionTest|
|
||||
1787159167604|CPControlSize|
|
||||
1787159167617|CPCursor|
|
||||
1787159167631|CPDateFormatterTest|
|
||||
1787159167645|CPDatePickerTest|
|
||||
1787159167659|CPDictionaryControllerTest|
|
||||
1787159167672|CPDocumentControllerTest|
|
||||
1787159167686|CPFormatterTest|
|
||||
1787159167700|CPGraphicsTest|
|
||||
1787159167713|CPImageAndTextViewImageScaling|
|
||||
1787159167727|CPImageViewAlignmentScaling|
|
||||
1787159167741|CPImageViewTest|
|
||||
1787159167754|CPImageViewbindingsTest|
|
||||
1787159167768|CPLevelIndicator|
|
||||
1787159167782|CPLocalizationTest|
|
||||
1787159167795|CPLogTest|
|
||||
1787159167809|CPMarkdownParser|
|
||||
1787159167823|CPMenuCALayerTest|
|
||||
1787159167836|CPMenuEnabledBindingsTest|
|
||||
1787159167850|CPMenuKeyEquivalents|
|
||||
1787159167864|CPMenuRemoveAllTest|
|
||||
1787159167877|CPMenuSubmenuPlacementConstraints|
|
||||
1787159167891|CPMenuTest|
|
||||
1787159167905|CPOutlineViewCibTest|
|
||||
1787159167918|CPOutlineViewTest|
|
||||
1787159167932|CPOutlineViewViewBasedCibTest|
|
||||
1787159167946|CPPanelTest|
|
||||
1787159167960|CPPlatformWindow|
|
||||
1787159167973|CPPlattformWindowMinSize|
|
||||
1787159167987|CPPopUpButtonBindings|
|
||||
1787159168001|CPPopUpButtonTest|
|
||||
1787159168015|CPPopover|
|
||||
1787159168028|CPPredicateEditorCibTest|
|
||||
1787159168042|CPProgressIndicator|
|
||||
1787159168056|CPPropertyListSerializationTest|
|
||||
1787159168069|CPRadioBindings|
|
||||
1787159168083|CPRuleEditorCibTest|
|
||||
1787159168097|CPRuleEditorTestI8N|
|
||||
1787159168111|CPScrollView|
|
||||
1787159168124|CPScrollView2|
|
||||
1787159168138|CPSearchField|
|
||||
1787159168152|CPSearchFieldPredicateBinding|
|
||||
1787159168165|CPSegmentedControlBindings|
|
||||
1787159168179|CPSegmentedControlTest|
|
||||
1787159168193|CPSoundTest|
|
||||
1787159168206|CPSplitViewDivider|
|
||||
1787159168220|CPSplitViewTest|
|
||||
1787159168234|CPStackViewTest|
|
||||
1787159168248|CPStepperBindings|
|
||||
1787159168261|CPStepperNibTest|
|
||||
1787159168275|CPTabView2|
|
||||
1787159168289|CPTabViewBindings|
|
||||
1787159168303|CPTabViewNib|
|
||||
1787159168316|CPTableViewGroupRows|
|
||||
1787159168330|CPTextField|
|
||||
1787159168344|CPTextFieldEditingStyleTest|
|
||||
1787159168358|CPTextFieldHeightTest|
|
||||
1787159168371|CPTextFieldMovementsTest|
|
||||
1787159168385|CPTextFieldMultiline|
|
||||
1787159168399|CPTextView|
|
||||
1787159168412|CPTextViewCibTest|
|
||||
1787159168426|CPTextViewDelegateAndNotifications|
|
||||
1787159168440|CPTimeZone|
|
||||
1787159168453|CPTokenFieldTest|
|
||||
1787159168467|CPToolTip|
|
||||
1787159168481|CPToolbarTest|
|
||||
1787159168495|CPTreeControllerTest|
|
||||
1787159168508|CPURLConnectionAsyncTest|
|
||||
1787159168522|CPURLConnectionSynchronousTest|
|
||||
1787159168536|CPUserDefaults|
|
||||
1787159168549|CPUserDefaultsControllerTest|
|
||||
1787159168563|CPUserNotificationTest|
|
||||
1787159168577|CPViewController|
|
||||
1787159168590|CPVisualEffectViewTest|
|
||||
1787159168604|CPWebViewTest|
|
||||
1787159168618|CPWebViewTest2|
|
||||
1787159168632|CPWindowLiveResizeTest|
|
||||
1787159168645|CPWindowMovableTest|
|
||||
1787159168659|CPWindowResizeStyle|
|
||||
1787159168673|ChildWindows|
|
||||
1787159168686|CompilationTests|
|
||||
1787159168700|ContinuouslyUpdatesValueBinding|
|
||||
1787159168714|CopyAndPaste|
|
||||
1787159168727|CrossOriginTest|
|
||||
1787159168741|FF4096Test|
|
||||
1787159168755|FontEnhancementTest|
|
||||
1787159168769|FontMetricsExplorer|
|
||||
1787159168782|KeyEquivalents|
|
||||
1787159168796|KeyViewLoopTest|
|
||||
1787159168810|KeyWindowInTheBackgroundActivation|
|
||||
1787159168823|LayoutTest|
|
||||
1787159168837|LoadTimeTest|
|
||||
1787159168851|LongBindings|
|
||||
1787159168864|MobileTest|
|
||||
1787159168878|MultipleValueBindings|
|
||||
1787159168892|NSBoxTest|
|
||||
1787159168906|NSBrowserTest|
|
||||
1787159168919|NewTextFieldBezel|
|
||||
1787159168933|Nib2CibAlignment|
|
||||
1787159168947|Nib2CibBaselineAlignementTest|
|
||||
1787159168960|Nib2CibSubviewsOrderTest|
|
||||
1787159168974|NibAppRemixed|
|
||||
1787159168988|PatternFillTest|
|
||||
1787159169002|PlatformWindows|
|
||||
1787159169015|PopUpButtonEscTest|
|
||||
1787159169029|ScalingTest|
|
||||
1787159169043|ScalingTest2|
|
||||
1787159169057|ScrollviewTheming|
|
||||
1787159169070|SheetWindowOrderFrontIssue|
|
||||
1787159169084|SimpleBindings2|
|
||||
1787159169098|SmartFoldersDemo|
|
||||
1787159169111|TableTest|
|
||||
1787159169125|ThemeBrowser|
|
||||
1787159169139|ThemeKitchenSink|
|
||||
1787159169152|TrackingArea|
|
||||
1787159169166|UndoRedoWithMenuUpdate|
|
||||
1787159169180|UserlandNSTest|
|
||||
1787159169193|layoutEphemeralSubviewTest|
|
||||
1787159169207|loadDynamicFrameworks|
|
||||
1787159169221|performKeyEquivalentTest|
|
||||
1787159169234|predicateWithFormat|
|
||||
1787159169248|resignFirstResponder-CPControlTextDidEndEditing|
|
||||
1787159169262|sizeToFitFix|
|
||||
Reference in new issue
Block a user