From 1c5aa7b634656d709629bd776b5e09e88b702e91 Mon Sep 17 00:00:00 2001 From: daboe01 Date: Thu, 9 Apr 2026 20:32:54 +0000 Subject: [PATCH] =?UTF-8?q?Deploying=20to=20gh-pages=20from=20@=20cappucci?= =?UTF-8?q?no/cappuccino@18b2a668c58f1a55b6080046daa5788ab705f524=20?= =?UTF-8?q?=F0=9F=9A=80?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../AppKit/Browser.environment/AppKit.sj | 37 ++- .../AppKit/CommonJS.environment/AppKit.sj | 37 ++- Resources/recipes.txt | 290 +++++++++--------- 3 files changed, 211 insertions(+), 153 deletions(-) diff --git a/Frameworks/AppKit/Browser.environment/AppKit.sj b/Frameworks/AppKit/Browser.environment/AppKit.sj index 789108348..4b6423bec 100644 --- a/Frameworks/AppKit/Browser.environment/AppKit.sj +++ b/Frameworks/AppKit/Browser.environment/AppKit.sj @@ -34245,7 +34245,7 @@ var meta_class = the_class.isa;class_addMethods(the_class, [new objj_method(sel_ ,["void","CPCoder"])]); } -p;13;CPTableView.jt;329405;@STATIC;1.0;I;20;Foundation/CPArray.jI;23;Foundation/CPIndexSet.ji;24;CPDragServer_Constants.ji;12;CGGradient.ji;7;CPCib.ji;17;CPCompatibility.ji;11;CPControl.ji;13;CPImageView.ji;12;CPScroller.ji;14;CPScrollView.ji;15;CPTableColumn.ji;19;CPTableHeaderView.ji;8;CPText.ji;15;_CPCornerView.jt;329106;objj_executeFile("Foundation/CPArray.j", NO);objj_executeFile("Foundation/CPIndexSet.j", NO);objj_executeFile("CPDragServer_Constants.j", YES);objj_executeFile("CGGradient.j", YES);objj_executeFile("CPCib.j", YES);objj_executeFile("CPCompatibility.j", YES);objj_executeFile("CPControl.j", YES);objj_executeFile("CPImageView.j", YES);objj_executeFile("CPScroller.j", YES);objj_executeFile("CPScrollView.j", YES);objj_executeFile("CPTableColumn.j", YES);objj_executeFile("CPTableHeaderView.j", YES);objj_executeFile("CPText.j", YES);objj_executeFile("_CPCornerView.j", YES);CPTableViewColumnDidMoveNotification = "CPTableViewColumnDidMoveNotification"; +p;13;CPTableView.jt;330952;@STATIC;1.0;I;20;Foundation/CPArray.jI;23;Foundation/CPIndexSet.ji;24;CPDragServer_Constants.ji;12;CGGradient.ji;7;CPCib.ji;17;CPCompatibility.ji;11;CPControl.ji;13;CPImageView.ji;12;CPScroller.ji;14;CPScrollView.ji;15;CPTableColumn.ji;19;CPTableHeaderView.ji;8;CPText.ji;15;_CPCornerView.jt;330653;objj_executeFile("Foundation/CPArray.j", NO);objj_executeFile("Foundation/CPIndexSet.j", NO);objj_executeFile("CPDragServer_Constants.j", YES);objj_executeFile("CGGradient.j", YES);objj_executeFile("CPCib.j", YES);objj_executeFile("CPCompatibility.j", YES);objj_executeFile("CPControl.j", YES);objj_executeFile("CPImageView.j", YES);objj_executeFile("CPScroller.j", YES);objj_executeFile("CPScrollView.j", YES);objj_executeFile("CPTableColumn.j", YES);objj_executeFile("CPTableHeaderView.j", YES);objj_executeFile("CPText.j", YES);objj_executeFile("_CPCornerView.j", YES);CPTableViewColumnDidMoveNotification = "CPTableViewColumnDidMoveNotification"; CPTableViewColumnDidResizeNotification = "CPTableViewColumnDidResizeNotification"; CPTableViewSelectionDidChangeNotification = "CPTableViewSelectionDidChangeNotification"; CPTableViewSelectionIsChangingNotification = "CPTableViewSelectionIsChangingNotification"; @@ -34337,8 +34337,28 @@ class_addMethods(the_class, [new objj_method(sel_getUid("initWithTableView:"), f } {var the_class = objj_allocateClassPair(CPControl, "CPTableView"), -meta_class = the_class.isa;class_addIvars(the_class, [new objj_ivar("_dataSource", "id"), new objj_ivar("_implementedDataSourceMethods", "CPInteger"), new objj_ivar("_delegate", "id"), new objj_ivar("_implementedDelegateMethods", "CPInteger"), new objj_ivar("_tableColumns", "CPArray"), new objj_ivar("_tableColumnRanges", "CPArray"), new objj_ivar("_dirtyTableColumnRangeIndex", "CPInteger"), new objj_ivar("_numberOfHiddenColumns", "CPInteger"), new objj_ivar("_reloadAllRows", "BOOL"), new objj_ivar("_invalidateObjectValuesCache", "BOOL"), new objj_ivar("_objectValues", "Object"), new objj_ivar("_exposedRect", "CGRect"), new objj_ivar("_exposedRows", "CPIndexSet"), new objj_ivar("_exposedColumns", "CPIndexSet"), new objj_ivar("_dataViewsForRows", "Object"), new objj_ivar("_cachedDataViews", "Object"), new objj_ivar("_archivedDataViews", "CPDictionary"), new objj_ivar("_unavailable_custom_cibs", "Object"), new objj_ivar("_allowsColumnReordering", "BOOL"), new objj_ivar("_allowsColumnResizing", "BOOL"), new objj_ivar("_allowsColumnSelection", "BOOL"), new objj_ivar("_allowsMultipleSelection", "BOOL"), new objj_ivar("_allowsEmptySelection", "BOOL"), new objj_ivar("_sortDescriptors", "CPArray"), new objj_ivar("_intercellSpacing", "CGSize"), new objj_ivar("_rowHeight", "float"), new objj_ivar("_usesAlternatingRowBackgroundColors", "BOOL"), new objj_ivar("_alternatingRowBackgroundColors", "CPArray"), new objj_ivar("_selectionHighlightStyle", "unsigned"), new objj_ivar("_unfocusedSelectionHighlightColor", "CPColor"), new objj_ivar("_unfocusedSourceListSelectionColor", "CPDictionary"), new objj_ivar("_currentHighlightedTableColumn", "CPTableColumn"), new objj_ivar("_gridStyleMask", "unsigned"), new objj_ivar("_numberOfRows", "unsigned"), new objj_ivar("_groupRows", "CPIndexSet"), new objj_ivar("_cachedRowHeights", "CPArray"), new objj_ivar("_autosaveName", "CPString"), new objj_ivar("_autosaveTableColumns", "BOOL"), new objj_ivar("_headerView", "CPTableHeaderView"), new objj_ivar("_cornerView", "_CPCornerView"), new objj_ivar("_selectedColumnIndexes", "CPIndexSet"), new objj_ivar("_selectedRowIndexes", "CPIndexSet"), new objj_ivar("_selectionAnchorRow", "CPInteger"), new objj_ivar("_lastSelectedRow", "CPInteger"), new objj_ivar("_previouslySelectedRowIndexes", "CPIndexSet"), new objj_ivar("_startTrackingPoint", "CGPoint"), new objj_ivar("_startTrackingTimestamp", "CPDate"), new objj_ivar("_trackingPointMovedOutOfClickSlop", "BOOL"), new objj_ivar("_editingRow", "CPInteger"), new objj_ivar("_editingColumn", "CPInteger"), new objj_ivar("_tableDrawView", "_CPTableDrawView"), new objj_ivar("_doubleAction", "SEL"), new objj_ivar("_clickedRow", "CPInteger"), new objj_ivar("_clickedColumn", "CPInteger"), new objj_ivar("_columnAutoResizingStyle", "unsigned"), new objj_ivar("_lastTrackedRowIndex", "int"), new objj_ivar("_originalMouseDownPoint", "CGPoint"), new objj_ivar("_verticalMotionCanDrag", "BOOL"), new objj_ivar("_destinationDragStyle", "unsigned"), new objj_ivar("_isSelectingSession", "BOOL"), new objj_ivar("_draggedRowIndexes", "CPIndexSet"), new objj_ivar("_wasSelectionBroken", "BOOL"), new objj_ivar("_dropOperationFeedbackView", "_CPDropOperationDrawingView"), new objj_ivar("_dragOperationDefaultMask", "CPDragOperation"), new objj_ivar("_retargetedDropRow", "int"), new objj_ivar("_retargetedDropOperation", "CPDragOperation"), new objj_ivar("_disableAutomaticResizing", "BOOL"), new objj_ivar("_lastColumnShouldSnap", "BOOL"), new objj_ivar("_implementsCustomDrawRow", "BOOL"), new objj_ivar("_isViewBased", "BOOL"), new objj_ivar("_contentBindingExplicitlySet", "BOOL"), new objj_ivar("_viewForTableColumnRowSelector", "SEL"), new objj_ivar("_draggedColumnIndex", "CPInteger"), new objj_ivar("_draggedColumnIsSelected", "BOOL"), new objj_ivar("_needsDifferedTableColumnRemove", "BOOL"), new objj_ivar("_differedColumnDataToRemove", "CPArray"), new objj_ivar("_BlockDeselectView", "Function"), new objj_ivar("_BlockSelectView", "Function"), new objj_ivar("_observedClipView", "CPView")]);objj_registerClassPair(the_class); -class_addMethods(the_class, [new objj_method(sel_getUid("disableAutomaticResizing"), function $CPTableView__disableAutomaticResizing(self, _cmd) +meta_class = the_class.isa;class_addIvars(the_class, [new objj_ivar("_dataSource", "id"), new objj_ivar("_implementedDataSourceMethods", "CPInteger"), new objj_ivar("_delegate", "id"), new objj_ivar("_implementedDelegateMethods", "CPInteger"), new objj_ivar("_tableColumns", "CPArray"), new objj_ivar("_tableColumnRanges", "CPArray"), new objj_ivar("_dirtyTableColumnRangeIndex", "CPInteger"), new objj_ivar("_numberOfHiddenColumns", "CPInteger"), new objj_ivar("_reloadAllRows", "BOOL"), new objj_ivar("_invalidateObjectValuesCache", "BOOL"), new objj_ivar("_objectValues", "Object"), new objj_ivar("_exposedRect", "CGRect"), new objj_ivar("_exposedRows", "CPIndexSet"), new objj_ivar("_exposedColumns", "CPIndexSet"), new objj_ivar("_dataViewsForRows", "Object"), new objj_ivar("_cachedDataViews", "Object"), new objj_ivar("_archivedDataViews", "CPDictionary"), new objj_ivar("_unavailable_custom_cibs", "Object"), new objj_ivar("_allowsColumnReordering", "BOOL"), new objj_ivar("_allowsColumnResizing", "BOOL"), new objj_ivar("_allowsColumnSelection", "BOOL"), new objj_ivar("_allowsMultipleSelection", "BOOL"), new objj_ivar("_allowsEmptySelection", "BOOL"), new objj_ivar("_sortDescriptors", "CPArray"), new objj_ivar("_intercellSpacing", "CGSize"), new objj_ivar("_rowHeight", "float"), new objj_ivar("_usesAlternatingRowBackgroundColors", "BOOL"), new objj_ivar("_alternatingRowBackgroundColors", "CPArray"), new objj_ivar("_selectionHighlightStyle", "unsigned"), new objj_ivar("_unfocusedSelectionHighlightColor", "CPColor"), new objj_ivar("_unfocusedSourceListSelectionColor", "CPDictionary"), new objj_ivar("_currentHighlightedTableColumn", "CPTableColumn"), new objj_ivar("_gridStyleMask", "unsigned"), new objj_ivar("_numberOfRows", "unsigned"), new objj_ivar("_groupRows", "CPIndexSet"), new objj_ivar("_cachedRowHeights", "CPArray"), new objj_ivar("_autosaveName", "CPString"), new objj_ivar("_autosaveTableColumns", "BOOL"), new objj_ivar("_headerView", "CPTableHeaderView"), new objj_ivar("_cornerView", "_CPCornerView"), new objj_ivar("_selectedColumnIndexes", "CPIndexSet"), new objj_ivar("_selectedRowIndexes", "CPIndexSet"), new objj_ivar("_selectionAnchorRow", "CPInteger"), new objj_ivar("_lastSelectedRow", "CPInteger"), new objj_ivar("_previouslySelectedRowIndexes", "CPIndexSet"), new objj_ivar("_startTrackingPoint", "CGPoint"), new objj_ivar("_startTrackingTimestamp", "CPDate"), new objj_ivar("_trackingPointMovedOutOfClickSlop", "BOOL"), new objj_ivar("_editingRow", "CPInteger"), new objj_ivar("_editingColumn", "CPInteger"), new objj_ivar("_tableDrawView", "_CPTableDrawView"), new objj_ivar("_doubleAction", "SEL"), new objj_ivar("_doubleClickTarget", "id"), new objj_ivar("_doubleClickArgument", "id"), new objj_ivar("_clickedRow", "CPInteger"), new objj_ivar("_clickedColumn", "CPInteger"), new objj_ivar("_columnAutoResizingStyle", "unsigned"), new objj_ivar("_lastTrackedRowIndex", "int"), new objj_ivar("_originalMouseDownPoint", "CGPoint"), new objj_ivar("_verticalMotionCanDrag", "BOOL"), new objj_ivar("_destinationDragStyle", "unsigned"), new objj_ivar("_isSelectingSession", "BOOL"), new objj_ivar("_draggedRowIndexes", "CPIndexSet"), new objj_ivar("_wasSelectionBroken", "BOOL"), new objj_ivar("_dropOperationFeedbackView", "_CPDropOperationDrawingView"), new objj_ivar("_dragOperationDefaultMask", "CPDragOperation"), new objj_ivar("_retargetedDropRow", "int"), new objj_ivar("_retargetedDropOperation", "CPDragOperation"), new objj_ivar("_disableAutomaticResizing", "BOOL"), new objj_ivar("_lastColumnShouldSnap", "BOOL"), new objj_ivar("_implementsCustomDrawRow", "BOOL"), new objj_ivar("_isViewBased", "BOOL"), new objj_ivar("_contentBindingExplicitlySet", "BOOL"), new objj_ivar("_viewForTableColumnRowSelector", "SEL"), new objj_ivar("_draggedColumnIndex", "CPInteger"), new objj_ivar("_draggedColumnIsSelected", "BOOL"), new objj_ivar("_needsDifferedTableColumnRemove", "BOOL"), new objj_ivar("_differedColumnDataToRemove", "CPArray"), new objj_ivar("_BlockDeselectView", "Function"), new objj_ivar("_BlockSelectView", "Function"), new objj_ivar("_observedClipView", "CPView")]);objj_registerClassPair(the_class); +class_addMethods(the_class, [new objj_method(sel_getUid("doubleClickTarget"), function $CPTableView__doubleClickTarget(self, _cmd) +{ + return self._doubleClickTarget; +} + +,["id"]), new objj_method(sel_getUid("setDoubleClickTarget:"), function $CPTableView__setDoubleClickTarget_(self, _cmd, newValue) +{ + self._doubleClickTarget = newValue; +} + +,["void","id"]), new objj_method(sel_getUid("doubleClickArgument"), function $CPTableView__doubleClickArgument(self, _cmd) +{ + return self._doubleClickArgument; +} + +,["id"]), new objj_method(sel_getUid("setDoubleClickArgument:"), function $CPTableView__setDoubleClickArgument_(self, _cmd, newValue) +{ + self._doubleClickArgument = newValue; +} + +,["void","id"]), new objj_method(sel_getUid("disableAutomaticResizing"), function $CPTableView__disableAutomaticResizing(self, _cmd) { return self._disableAutomaticResizing; } @@ -37116,7 +37136,11 @@ class_addMethods(the_class, [new objj_method(sel_getUid("disableAutomaticResizin } } if (((___r1 = (CPApp == null ? CPApp : (CPApp.isa.method_msgSend["currentEvent"] || _objj_forward)(CPApp, "currentEvent"))), ___r1 == null ? ___r1 : (___r1.isa.method_msgSend["clickCount"] || _objj_forward)(___r1, "clickCount")) === 2 && self._doubleAction) - (self.isa.method_msgSend["sendAction:to:"] || _objj_forward)(self, "sendAction:to:", self._doubleAction, self._target); + { + var target = self._doubleClickTarget || self._target, + argument = (self.isa.method_msgSend["infoForBinding:"] || _objj_forward)(self, "infoForBinding:", "doubleClickArgument") ? self._doubleClickArgument : self; + (CPApp == null ? CPApp : (CPApp.isa.method_msgSend["sendAction:to:from:"] || _objj_forward)(CPApp, "sendAction:to:from:", self._doubleAction, target, argument)); + } var ___r1; } @@ -38052,6 +38076,11 @@ var meta_class = the_class.isa;class_addMethods(the_class, [new objj_method(sel_ { if (aBinding == "content") self._contentBindingExplicitlySet = YES; + else if (aBinding == "doubleClickTarget") + { + if ((options == null ? options : (options.isa.method_msgSend["objectForKey:"] || _objj_forward)(options, "objectForKey:", CPSelectorNameBindingOption))) + (self.isa.method_msgSend["setDoubleAction:"] || _objj_forward)(self, "setDoubleAction:", CPSelectorFromString((options == null ? options : (options.isa.method_msgSend["objectForKey:"] || _objj_forward)(options, "objectForKey:", CPSelectorNameBindingOption)))); + } (objj_getClass("CPTableView").super_class.method_dtable["bind:toObject:withKeyPath:options:"] || _objj_forward)(self, "bind:toObject:withKeyPath:options:", aBinding, anObject, aKeyPath, options); } diff --git a/Frameworks/AppKit/CommonJS.environment/AppKit.sj b/Frameworks/AppKit/CommonJS.environment/AppKit.sj index d14830fdd..0e10bd57d 100644 --- a/Frameworks/AppKit/CommonJS.environment/AppKit.sj +++ b/Frameworks/AppKit/CommonJS.environment/AppKit.sj @@ -33379,7 +33379,7 @@ var meta_class = the_class.isa;class_addMethods(the_class, [new objj_method(sel_ ,["void","CPCoder"])]); } -p;13;CPTableView.jt;329405;@STATIC;1.0;I;20;Foundation/CPArray.jI;23;Foundation/CPIndexSet.ji;24;CPDragServer_Constants.ji;12;CGGradient.ji;7;CPCib.ji;17;CPCompatibility.ji;11;CPControl.ji;13;CPImageView.ji;12;CPScroller.ji;14;CPScrollView.ji;15;CPTableColumn.ji;19;CPTableHeaderView.ji;8;CPText.ji;15;_CPCornerView.jt;329106;objj_executeFile("Foundation/CPArray.j", NO);objj_executeFile("Foundation/CPIndexSet.j", NO);objj_executeFile("CPDragServer_Constants.j", YES);objj_executeFile("CGGradient.j", YES);objj_executeFile("CPCib.j", YES);objj_executeFile("CPCompatibility.j", YES);objj_executeFile("CPControl.j", YES);objj_executeFile("CPImageView.j", YES);objj_executeFile("CPScroller.j", YES);objj_executeFile("CPScrollView.j", YES);objj_executeFile("CPTableColumn.j", YES);objj_executeFile("CPTableHeaderView.j", YES);objj_executeFile("CPText.j", YES);objj_executeFile("_CPCornerView.j", YES);CPTableViewColumnDidMoveNotification = "CPTableViewColumnDidMoveNotification"; +p;13;CPTableView.jt;330952;@STATIC;1.0;I;20;Foundation/CPArray.jI;23;Foundation/CPIndexSet.ji;24;CPDragServer_Constants.ji;12;CGGradient.ji;7;CPCib.ji;17;CPCompatibility.ji;11;CPControl.ji;13;CPImageView.ji;12;CPScroller.ji;14;CPScrollView.ji;15;CPTableColumn.ji;19;CPTableHeaderView.ji;8;CPText.ji;15;_CPCornerView.jt;330653;objj_executeFile("Foundation/CPArray.j", NO);objj_executeFile("Foundation/CPIndexSet.j", NO);objj_executeFile("CPDragServer_Constants.j", YES);objj_executeFile("CGGradient.j", YES);objj_executeFile("CPCib.j", YES);objj_executeFile("CPCompatibility.j", YES);objj_executeFile("CPControl.j", YES);objj_executeFile("CPImageView.j", YES);objj_executeFile("CPScroller.j", YES);objj_executeFile("CPScrollView.j", YES);objj_executeFile("CPTableColumn.j", YES);objj_executeFile("CPTableHeaderView.j", YES);objj_executeFile("CPText.j", YES);objj_executeFile("_CPCornerView.j", YES);CPTableViewColumnDidMoveNotification = "CPTableViewColumnDidMoveNotification"; CPTableViewColumnDidResizeNotification = "CPTableViewColumnDidResizeNotification"; CPTableViewSelectionDidChangeNotification = "CPTableViewSelectionDidChangeNotification"; CPTableViewSelectionIsChangingNotification = "CPTableViewSelectionIsChangingNotification"; @@ -33471,8 +33471,28 @@ class_addMethods(the_class, [new objj_method(sel_getUid("initWithTableView:"), f } {var the_class = objj_allocateClassPair(CPControl, "CPTableView"), -meta_class = the_class.isa;class_addIvars(the_class, [new objj_ivar("_dataSource", "id"), new objj_ivar("_implementedDataSourceMethods", "CPInteger"), new objj_ivar("_delegate", "id"), new objj_ivar("_implementedDelegateMethods", "CPInteger"), new objj_ivar("_tableColumns", "CPArray"), new objj_ivar("_tableColumnRanges", "CPArray"), new objj_ivar("_dirtyTableColumnRangeIndex", "CPInteger"), new objj_ivar("_numberOfHiddenColumns", "CPInteger"), new objj_ivar("_reloadAllRows", "BOOL"), new objj_ivar("_invalidateObjectValuesCache", "BOOL"), new objj_ivar("_objectValues", "Object"), new objj_ivar("_exposedRect", "CGRect"), new objj_ivar("_exposedRows", "CPIndexSet"), new objj_ivar("_exposedColumns", "CPIndexSet"), new objj_ivar("_dataViewsForRows", "Object"), new objj_ivar("_cachedDataViews", "Object"), new objj_ivar("_archivedDataViews", "CPDictionary"), new objj_ivar("_unavailable_custom_cibs", "Object"), new objj_ivar("_allowsColumnReordering", "BOOL"), new objj_ivar("_allowsColumnResizing", "BOOL"), new objj_ivar("_allowsColumnSelection", "BOOL"), new objj_ivar("_allowsMultipleSelection", "BOOL"), new objj_ivar("_allowsEmptySelection", "BOOL"), new objj_ivar("_sortDescriptors", "CPArray"), new objj_ivar("_intercellSpacing", "CGSize"), new objj_ivar("_rowHeight", "float"), new objj_ivar("_usesAlternatingRowBackgroundColors", "BOOL"), new objj_ivar("_alternatingRowBackgroundColors", "CPArray"), new objj_ivar("_selectionHighlightStyle", "unsigned"), new objj_ivar("_unfocusedSelectionHighlightColor", "CPColor"), new objj_ivar("_unfocusedSourceListSelectionColor", "CPDictionary"), new objj_ivar("_currentHighlightedTableColumn", "CPTableColumn"), new objj_ivar("_gridStyleMask", "unsigned"), new objj_ivar("_numberOfRows", "unsigned"), new objj_ivar("_groupRows", "CPIndexSet"), new objj_ivar("_cachedRowHeights", "CPArray"), new objj_ivar("_autosaveName", "CPString"), new objj_ivar("_autosaveTableColumns", "BOOL"), new objj_ivar("_headerView", "CPTableHeaderView"), new objj_ivar("_cornerView", "_CPCornerView"), new objj_ivar("_selectedColumnIndexes", "CPIndexSet"), new objj_ivar("_selectedRowIndexes", "CPIndexSet"), new objj_ivar("_selectionAnchorRow", "CPInteger"), new objj_ivar("_lastSelectedRow", "CPInteger"), new objj_ivar("_previouslySelectedRowIndexes", "CPIndexSet"), new objj_ivar("_startTrackingPoint", "CGPoint"), new objj_ivar("_startTrackingTimestamp", "CPDate"), new objj_ivar("_trackingPointMovedOutOfClickSlop", "BOOL"), new objj_ivar("_editingRow", "CPInteger"), new objj_ivar("_editingColumn", "CPInteger"), new objj_ivar("_tableDrawView", "_CPTableDrawView"), new objj_ivar("_doubleAction", "SEL"), new objj_ivar("_clickedRow", "CPInteger"), new objj_ivar("_clickedColumn", "CPInteger"), new objj_ivar("_columnAutoResizingStyle", "unsigned"), new objj_ivar("_lastTrackedRowIndex", "int"), new objj_ivar("_originalMouseDownPoint", "CGPoint"), new objj_ivar("_verticalMotionCanDrag", "BOOL"), new objj_ivar("_destinationDragStyle", "unsigned"), new objj_ivar("_isSelectingSession", "BOOL"), new objj_ivar("_draggedRowIndexes", "CPIndexSet"), new objj_ivar("_wasSelectionBroken", "BOOL"), new objj_ivar("_dropOperationFeedbackView", "_CPDropOperationDrawingView"), new objj_ivar("_dragOperationDefaultMask", "CPDragOperation"), new objj_ivar("_retargetedDropRow", "int"), new objj_ivar("_retargetedDropOperation", "CPDragOperation"), new objj_ivar("_disableAutomaticResizing", "BOOL"), new objj_ivar("_lastColumnShouldSnap", "BOOL"), new objj_ivar("_implementsCustomDrawRow", "BOOL"), new objj_ivar("_isViewBased", "BOOL"), new objj_ivar("_contentBindingExplicitlySet", "BOOL"), new objj_ivar("_viewForTableColumnRowSelector", "SEL"), new objj_ivar("_draggedColumnIndex", "CPInteger"), new objj_ivar("_draggedColumnIsSelected", "BOOL"), new objj_ivar("_needsDifferedTableColumnRemove", "BOOL"), new objj_ivar("_differedColumnDataToRemove", "CPArray"), new objj_ivar("_BlockDeselectView", "Function"), new objj_ivar("_BlockSelectView", "Function"), new objj_ivar("_observedClipView", "CPView")]);objj_registerClassPair(the_class); -class_addMethods(the_class, [new objj_method(sel_getUid("disableAutomaticResizing"), function $CPTableView__disableAutomaticResizing(self, _cmd) +meta_class = the_class.isa;class_addIvars(the_class, [new objj_ivar("_dataSource", "id"), new objj_ivar("_implementedDataSourceMethods", "CPInteger"), new objj_ivar("_delegate", "id"), new objj_ivar("_implementedDelegateMethods", "CPInteger"), new objj_ivar("_tableColumns", "CPArray"), new objj_ivar("_tableColumnRanges", "CPArray"), new objj_ivar("_dirtyTableColumnRangeIndex", "CPInteger"), new objj_ivar("_numberOfHiddenColumns", "CPInteger"), new objj_ivar("_reloadAllRows", "BOOL"), new objj_ivar("_invalidateObjectValuesCache", "BOOL"), new objj_ivar("_objectValues", "Object"), new objj_ivar("_exposedRect", "CGRect"), new objj_ivar("_exposedRows", "CPIndexSet"), new objj_ivar("_exposedColumns", "CPIndexSet"), new objj_ivar("_dataViewsForRows", "Object"), new objj_ivar("_cachedDataViews", "Object"), new objj_ivar("_archivedDataViews", "CPDictionary"), new objj_ivar("_unavailable_custom_cibs", "Object"), new objj_ivar("_allowsColumnReordering", "BOOL"), new objj_ivar("_allowsColumnResizing", "BOOL"), new objj_ivar("_allowsColumnSelection", "BOOL"), new objj_ivar("_allowsMultipleSelection", "BOOL"), new objj_ivar("_allowsEmptySelection", "BOOL"), new objj_ivar("_sortDescriptors", "CPArray"), new objj_ivar("_intercellSpacing", "CGSize"), new objj_ivar("_rowHeight", "float"), new objj_ivar("_usesAlternatingRowBackgroundColors", "BOOL"), new objj_ivar("_alternatingRowBackgroundColors", "CPArray"), new objj_ivar("_selectionHighlightStyle", "unsigned"), new objj_ivar("_unfocusedSelectionHighlightColor", "CPColor"), new objj_ivar("_unfocusedSourceListSelectionColor", "CPDictionary"), new objj_ivar("_currentHighlightedTableColumn", "CPTableColumn"), new objj_ivar("_gridStyleMask", "unsigned"), new objj_ivar("_numberOfRows", "unsigned"), new objj_ivar("_groupRows", "CPIndexSet"), new objj_ivar("_cachedRowHeights", "CPArray"), new objj_ivar("_autosaveName", "CPString"), new objj_ivar("_autosaveTableColumns", "BOOL"), new objj_ivar("_headerView", "CPTableHeaderView"), new objj_ivar("_cornerView", "_CPCornerView"), new objj_ivar("_selectedColumnIndexes", "CPIndexSet"), new objj_ivar("_selectedRowIndexes", "CPIndexSet"), new objj_ivar("_selectionAnchorRow", "CPInteger"), new objj_ivar("_lastSelectedRow", "CPInteger"), new objj_ivar("_previouslySelectedRowIndexes", "CPIndexSet"), new objj_ivar("_startTrackingPoint", "CGPoint"), new objj_ivar("_startTrackingTimestamp", "CPDate"), new objj_ivar("_trackingPointMovedOutOfClickSlop", "BOOL"), new objj_ivar("_editingRow", "CPInteger"), new objj_ivar("_editingColumn", "CPInteger"), new objj_ivar("_tableDrawView", "_CPTableDrawView"), new objj_ivar("_doubleAction", "SEL"), new objj_ivar("_doubleClickTarget", "id"), new objj_ivar("_doubleClickArgument", "id"), new objj_ivar("_clickedRow", "CPInteger"), new objj_ivar("_clickedColumn", "CPInteger"), new objj_ivar("_columnAutoResizingStyle", "unsigned"), new objj_ivar("_lastTrackedRowIndex", "int"), new objj_ivar("_originalMouseDownPoint", "CGPoint"), new objj_ivar("_verticalMotionCanDrag", "BOOL"), new objj_ivar("_destinationDragStyle", "unsigned"), new objj_ivar("_isSelectingSession", "BOOL"), new objj_ivar("_draggedRowIndexes", "CPIndexSet"), new objj_ivar("_wasSelectionBroken", "BOOL"), new objj_ivar("_dropOperationFeedbackView", "_CPDropOperationDrawingView"), new objj_ivar("_dragOperationDefaultMask", "CPDragOperation"), new objj_ivar("_retargetedDropRow", "int"), new objj_ivar("_retargetedDropOperation", "CPDragOperation"), new objj_ivar("_disableAutomaticResizing", "BOOL"), new objj_ivar("_lastColumnShouldSnap", "BOOL"), new objj_ivar("_implementsCustomDrawRow", "BOOL"), new objj_ivar("_isViewBased", "BOOL"), new objj_ivar("_contentBindingExplicitlySet", "BOOL"), new objj_ivar("_viewForTableColumnRowSelector", "SEL"), new objj_ivar("_draggedColumnIndex", "CPInteger"), new objj_ivar("_draggedColumnIsSelected", "BOOL"), new objj_ivar("_needsDifferedTableColumnRemove", "BOOL"), new objj_ivar("_differedColumnDataToRemove", "CPArray"), new objj_ivar("_BlockDeselectView", "Function"), new objj_ivar("_BlockSelectView", "Function"), new objj_ivar("_observedClipView", "CPView")]);objj_registerClassPair(the_class); +class_addMethods(the_class, [new objj_method(sel_getUid("doubleClickTarget"), function $CPTableView__doubleClickTarget(self, _cmd) +{ + return self._doubleClickTarget; +} + +,["id"]), new objj_method(sel_getUid("setDoubleClickTarget:"), function $CPTableView__setDoubleClickTarget_(self, _cmd, newValue) +{ + self._doubleClickTarget = newValue; +} + +,["void","id"]), new objj_method(sel_getUid("doubleClickArgument"), function $CPTableView__doubleClickArgument(self, _cmd) +{ + return self._doubleClickArgument; +} + +,["id"]), new objj_method(sel_getUid("setDoubleClickArgument:"), function $CPTableView__setDoubleClickArgument_(self, _cmd, newValue) +{ + self._doubleClickArgument = newValue; +} + +,["void","id"]), new objj_method(sel_getUid("disableAutomaticResizing"), function $CPTableView__disableAutomaticResizing(self, _cmd) { return self._disableAutomaticResizing; } @@ -36250,7 +36270,11 @@ class_addMethods(the_class, [new objj_method(sel_getUid("disableAutomaticResizin } } if (((___r1 = (CPApp == null ? CPApp : (CPApp.isa.method_msgSend["currentEvent"] || _objj_forward)(CPApp, "currentEvent"))), ___r1 == null ? ___r1 : (___r1.isa.method_msgSend["clickCount"] || _objj_forward)(___r1, "clickCount")) === 2 && self._doubleAction) - (self.isa.method_msgSend["sendAction:to:"] || _objj_forward)(self, "sendAction:to:", self._doubleAction, self._target); + { + var target = self._doubleClickTarget || self._target, + argument = (self.isa.method_msgSend["infoForBinding:"] || _objj_forward)(self, "infoForBinding:", "doubleClickArgument") ? self._doubleClickArgument : self; + (CPApp == null ? CPApp : (CPApp.isa.method_msgSend["sendAction:to:from:"] || _objj_forward)(CPApp, "sendAction:to:from:", self._doubleAction, target, argument)); + } var ___r1; } @@ -37186,6 +37210,11 @@ var meta_class = the_class.isa;class_addMethods(the_class, [new objj_method(sel_ { if (aBinding == "content") self._contentBindingExplicitlySet = YES; + else if (aBinding == "doubleClickTarget") + { + if ((options == null ? options : (options.isa.method_msgSend["objectForKey:"] || _objj_forward)(options, "objectForKey:", CPSelectorNameBindingOption))) + (self.isa.method_msgSend["setDoubleAction:"] || _objj_forward)(self, "setDoubleAction:", CPSelectorFromString((options == null ? options : (options.isa.method_msgSend["objectForKey:"] || _objj_forward)(options, "objectForKey:", CPSelectorNameBindingOption)))); + } (objj_getClass("CPTableView").super_class.method_dtable["bind:toObject:withKeyPath:options:"] || _objj_forward)(self, "bind:toObject:withKeyPath:options:", aBinding, anObject, aKeyPath, options); } diff --git a/Resources/recipes.txt b/Resources/recipes.txt index 45b143c08..2c2abdb2f 100644 --- a/Resources/recipes.txt +++ b/Resources/recipes.txt @@ -1,145 +1,145 @@ -1775766711122|ArrayController1| -1775766711136|ArrayControllerInitialSelectionTest| -1775766711150|ArrayControllerRemovingFirstTest| -1775766711163|AttachedSheet| -1775766711176|AttachedSheet2| -1775766711190|Bindings| -1775766711203|CGCanvasContext| -1775766711218|CGPath| -1775766711232|CPAlertTest| -1775766711246|CPAnimatablePropertyContainerTest| -1775766711260|CPAnimationContextTest| -1775766711274|CPAnimationTest| -1775766711288|CPBinder-echo-bug| -1775766711301|CPBoxCibTest| -1775766711315|CPBoxTest| -1775766711328|CPBrowserTest| -1775766711342|CPButtonBarTest| -1775766711355|CPButtonKeyEquivalentDefaultTest| -1775766711368|CPButtonTest| -1775766711382|CPByteCountFormatter| -1775766711395|CPCollectionViewNibTest| -1775766711409|CPColor-CPImage-description| -1775766711422|CPColorWellBindings| -1775766711436|CPComboBoxTest| -1775766711449|CPControlPerformClickExceptionTest| -1775766711463|CPControlSize| -1775766711476|CPCursor| -1775766711490|CPDateFormatterTest| -1775766711503|CPDatePickerTest| -1775766711517|CPDictionaryControllerTest| -1775766711530|CPDocumentControllerTest| -1775766711544|CPFormatterTest| -1775766711557|CPGraphicsTest| -1775766711570|CPImageAndTextViewImageScaling| -1775766711584|CPImageViewAlignmentScaling| -1775766711597|CPImageViewTest| -1775766711611|CPImageViewbindingsTest| -1775766711624|CPLevelIndicator| -1775766711638|CPLocalizationTest| -1775766711651|CPLogTest| -1775766711665|CPMenuCALayerTest| -1775766711678|CPMenuEnabledBindingsTest| -1775766711692|CPMenuKeyEquivalents| -1775766711705|CPMenuRemoveAllTest| -1775766711719|CPMenuSubmenuPlacementConstraints| -1775766711732|CPMenuTest| -1775766711746|CPOutlineViewCibTest| -1775766711759|CPOutlineViewTest| -1775766711773|CPOutlineViewViewBasedCibTest| -1775766711786|CPPanelTest| -1775766711799|CPPlatformWindow| -1775766711813|CPPlattformWindowMinSize| -1775766711827|CPPopUpButtonBindings| -1775766711840|CPPopUpButtonTest| -1775766711853|CPPopover| -1775766711867|CPPredicateEditorCibTest| -1775766711880|CPProgressIndicator| -1775766711894|CPPropertyListSerializationTest| -1775766711907|CPRadioBindings| -1775766711920|CPRuleEditorCibTest| -1775766711934|CPScrollView| -1775766711947|CPScrollView2| -1775766711961|CPSearchField| -1775766711974|CPSearchFieldPredicateBinding| -1775766711988|CPSegmentedControlBindings| -1775766712001|CPSegmentedControlTest| -1775766712015|CPSoundTest| -1775766712028|CPSplitViewDivider| -1775766712041|CPSplitViewTest| -1775766712055|CPStackViewTest| -1775766712068|CPStepperBindings| -1775766712082|CPStepperNibTest| -1775766712095|CPTabView2| -1775766712108|CPTabViewBindings| -1775766712122|CPTabViewNib| -1775766712135|CPTableViewGroupRows| -1775766712149|CPTextField| -1775766712162|CPTextFieldEditingStyleTest| -1775766712176|CPTextFieldHeightTest| -1775766712189|CPTextFieldMovementsTest| -1775766712202|CPTextFieldMultiline| -1775766712216|CPTextView| -1775766712229|CPTextViewCibTest| -1775766712243|CPTextViewDelegateAndNotifications| -1775766712256|CPTimeZone| -1775766712269|CPTokenFieldTest| -1775766712283|CPToolTip| -1775766712296|CPToolbarTest| -1775766712310|CPTreeControllerTest| -1775766712323|CPURLConnectionAsyncTest| -1775766712337|CPURLConnectionSynchronousTest| -1775766712350|CPUserDefaults| -1775766712364|CPUserDefaultsControllerTest| -1775766712377|CPUserNotificationTest| -1775766712391|CPViewController| -1775766712404|CPVisualEffectViewTest| -1775766712417|CPWebViewTest| -1775766712431|CPWebViewTest2| -1775766712444|CPWindowLiveResizeTest| -1775766712458|CPWindowMovableTest| -1775766712471|CPWindowResizeStyle| -1775766712484|ChildWindows| -1775766712498|CompilationTests| -1775766712511|ContinuouslyUpdatesValueBinding| -1775766712524|CopyAndPaste| -1775766712538|CrossOriginTest| -1775766712551|FF4096Test| -1775766712564|FontEnhancementTest| -1775766712578|FontMetricsExplorer| -1775766712591|KeyEquivalents| -1775766712605|KeyViewLoopTest| -1775766712618|KeyWindowInTheBackgroundActivation| -1775766712631|LayoutTest| -1775766712645|LoadTimeTest| -1775766712658|LongBindings| -1775766712672|MobileTest| -1775766712685|MultipleValueBindings| -1775766712699|NSBoxTest| -1775766712712|NSBrowserTest| -1775766712725|NewTextFieldBezel| -1775766712739|Nib2CibAlignment| -1775766712752|Nib2CibBaselineAlignementTest| -1775766712766|Nib2CibSubviewsOrderTest| -1775766712779|NibAppRemixed| -1775766712793|PatternFillTest| -1775766712806|PlatformWindows| -1775766712820|PopUpButtonEscTest| -1775766712833|ScalingTest| -1775766712846|ScalingTest2| -1775766712860|ScrollviewTheming| -1775766712873|SheetWindowOrderFrontIssue| -1775766712887|SimpleBindings2| -1775766712900|SmartFoldersDemo| -1775766712914|TableTest| -1775766712927|ThemeBrowser| -1775766712940|ThemeKitchenSink| -1775766712954|TrackingArea| -1775766712967|UndoRedoWithMenuUpdate| -1775766712981|UserlandNSTest| -1775766712994|layoutEphemeralSubviewTest| -1775766713007|loadDynamicFrameworks| -1775766713021|performKeyEquivalentTest| -1775766713034|predicateWithFormat| -1775766713048|resignFirstResponder-CPControlTextDidEndEditing| -1775766713061|sizeToFitFix| +1775766769835|ArrayController1| +1775766769850|ArrayControllerInitialSelectionTest| +1775766769863|ArrayControllerRemovingFirstTest| +1775766769877|AttachedSheet| +1775766769891|AttachedSheet2| +1775766769904|Bindings| +1775766769918|CGCanvasContext| +1775766769931|CGPath| +1775766769945|CPAlertTest| +1775766769958|CPAnimatablePropertyContainerTest| +1775766769972|CPAnimationContextTest| +1775766769986|CPAnimationTest| +1775766770000|CPBinder-echo-bug| +1775766770013|CPBoxCibTest| +1775766770027|CPBoxTest| +1775766770041|CPBrowserTest| +1775766770054|CPButtonBarTest| +1775766770068|CPButtonKeyEquivalentDefaultTest| +1775766770082|CPButtonTest| +1775766770095|CPByteCountFormatter| +1775766770109|CPCollectionViewNibTest| +1775766770123|CPColor-CPImage-description| +1775766770136|CPColorWellBindings| +1775766770150|CPComboBoxTest| +1775766770163|CPControlPerformClickExceptionTest| +1775766770177|CPControlSize| +1775766770191|CPCursor| +1775766770204|CPDateFormatterTest| +1775766770218|CPDatePickerTest| +1775766770231|CPDictionaryControllerTest| +1775766770245|CPDocumentControllerTest| +1775766770258|CPFormatterTest| +1775766770272|CPGraphicsTest| +1775766770285|CPImageAndTextViewImageScaling| +1775766770299|CPImageViewAlignmentScaling| +1775766770312|CPImageViewTest| +1775766770326|CPImageViewbindingsTest| +1775766770340|CPLevelIndicator| +1775766770353|CPLocalizationTest| +1775766770367|CPLogTest| +1775766770380|CPMenuCALayerTest| +1775766770394|CPMenuEnabledBindingsTest| +1775766770408|CPMenuKeyEquivalents| +1775766770421|CPMenuRemoveAllTest| +1775766770435|CPMenuSubmenuPlacementConstraints| +1775766770449|CPMenuTest| +1775766770462|CPOutlineViewCibTest| +1775766770476|CPOutlineViewTest| +1775766770489|CPOutlineViewViewBasedCibTest| +1775766770503|CPPanelTest| +1775766770516|CPPlatformWindow| +1775766770530|CPPlattformWindowMinSize| +1775766770544|CPPopUpButtonBindings| +1775766770557|CPPopUpButtonTest| +1775766770571|CPPopover| +1775766770584|CPPredicateEditorCibTest| +1775766770598|CPProgressIndicator| +1775766770611|CPPropertyListSerializationTest| +1775766770625|CPRadioBindings| +1775766770638|CPRuleEditorCibTest| +1775766770652|CPScrollView| +1775766770666|CPScrollView2| +1775766770679|CPSearchField| +1775766770693|CPSearchFieldPredicateBinding| +1775766770707|CPSegmentedControlBindings| +1775766770720|CPSegmentedControlTest| +1775766770734|CPSoundTest| +1775766770748|CPSplitViewDivider| +1775766770761|CPSplitViewTest| +1775766770775|CPStackViewTest| +1775766770789|CPStepperBindings| +1775766770802|CPStepperNibTest| +1775766770816|CPTabView2| +1775766770830|CPTabViewBindings| +1775766770843|CPTabViewNib| +1775766770857|CPTableViewGroupRows| +1775766770871|CPTextField| +1775766770884|CPTextFieldEditingStyleTest| +1775766770898|CPTextFieldHeightTest| +1775766770912|CPTextFieldMovementsTest| +1775766770925|CPTextFieldMultiline| +1775766770939|CPTextView| +1775766770952|CPTextViewCibTest| +1775766770966|CPTextViewDelegateAndNotifications| +1775766770979|CPTimeZone| +1775766770993|CPTokenFieldTest| +1775766771007|CPToolTip| +1775766771020|CPToolbarTest| +1775766771034|CPTreeControllerTest| +1775766771047|CPURLConnectionAsyncTest| +1775766771061|CPURLConnectionSynchronousTest| +1775766771075|CPUserDefaults| +1775766771088|CPUserDefaultsControllerTest| +1775766771102|CPUserNotificationTest| +1775766771115|CPViewController| +1775766771129|CPVisualEffectViewTest| +1775766771143|CPWebViewTest| +1775766771156|CPWebViewTest2| +1775766771170|CPWindowLiveResizeTest| +1775766771183|CPWindowMovableTest| +1775766771197|CPWindowResizeStyle| +1775766771210|ChildWindows| +1775766771224|CompilationTests| +1775766771238|ContinuouslyUpdatesValueBinding| +1775766771251|CopyAndPaste| +1775766771265|CrossOriginTest| +1775766771279|FF4096Test| +1775766771292|FontEnhancementTest| +1775766771306|FontMetricsExplorer| +1775766771320|KeyEquivalents| +1775766771333|KeyViewLoopTest| +1775766771347|KeyWindowInTheBackgroundActivation| +1775766771360|LayoutTest| +1775766771374|LoadTimeTest| +1775766771388|LongBindings| +1775766771401|MobileTest| +1775766771415|MultipleValueBindings| +1775766771429|NSBoxTest| +1775766771442|NSBrowserTest| +1775766771456|NewTextFieldBezel| +1775766771470|Nib2CibAlignment| +1775766771484|Nib2CibBaselineAlignementTest| +1775766771497|Nib2CibSubviewsOrderTest| +1775766771511|NibAppRemixed| +1775766771525|PatternFillTest| +1775766771538|PlatformWindows| +1775766771552|PopUpButtonEscTest| +1775766771566|ScalingTest| +1775766771579|ScalingTest2| +1775766771593|ScrollviewTheming| +1775766771606|SheetWindowOrderFrontIssue| +1775766771620|SimpleBindings2| +1775766771634|SmartFoldersDemo| +1775766771647|TableTest| +1775766771661|ThemeBrowser| +1775766771674|ThemeKitchenSink| +1775766771688|TrackingArea| +1775766771702|UndoRedoWithMenuUpdate| +1775766771716|UserlandNSTest| +1775766771729|layoutEphemeralSubviewTest| +1775766771743|loadDynamicFrameworks| +1775766771757|performKeyEquivalentTest| +1775766771770|predicateWithFormat| +1775766771784|resignFirstResponder-CPControlTextDidEndEditing| +1775766771798|sizeToFitFix|