Commit graph

9725 commits

Author SHA1 Message Date
Gregory John Casamento
5d9e49a2ff Remove both instances where we get properties from the binding where it is not needed during the loading process, per discussion with @fredkiefer 2024-08-08 18:20:00 -04:00
Gregory John Casamento
854af0901e Cleanup of unused or commented out methods 2024-08-08 17:48:16 -04:00
Gregory John Casamento
0ab960e6fc Remove uneeded outside iteration and get the lastIndex more efficiently, also cleanup NSLog per @fredkiefer 2024-08-08 17:44:04 -04:00
Gregory John Casamento
d8c4c14018 Move _applyBindingsToCell:atRow: to NSTableColumn 2024-08-07 22:55:14 -04:00
Gregory John Casamento
21d0bc906e Fix issues pointed out by @fredkiefer 2024-08-04 18:44:01 -04:00
Gregory John Casamento
329553c196 Merge branch 'master' into NSTreeController_branch2 2024-08-03 22:20:42 -04:00
Gregory John Casamento
d694efc941 Fix compilation error 2024-08-03 21:44:02 -04:00
Gregory John Casamento
a1b9dc546e Eliminate category, move logic for prepend inline 2024-08-03 21:40:04 -04:00
Gregory John Casamento
300a84c493 Improve adding a child, also do whitespace-cleanup 2024-08-03 21:02:33 -04:00
Gregory John Casamento
13f86ebfa9 Add child index, add category that properly prepends the index to the NSIndexPath 2024-08-03 20:48:09 -04:00
Gregory John Casamento
8059cdadd0 Slight improvements 2024-08-03 20:05:23 -04:00
Gregory John Casamento
27718ee794 Slightly better attempt at getting the index path 2024-08-03 15:05:44 -04:00
Gregory John Casamento
1a8f0fa8e6 First cut at recursive method to find NSIndexPath for non NSTreeNode items 2024-08-03 14:31:51 -04:00
Gregory John Casamento
fbee6dce81 If no indexPaths are found, return the root 2024-08-02 11:20:58 -04:00
Gregory John Casamento
8935a2d2da Fix compilation issue 2024-07-28 21:05:22 -04:00
Gregory John Casamento
ad75804102 Remove method, minor cleanup, per discussion with @fredkiefer 2024-07-28 20:49:18 -04:00
Gregory John Casamento
52eef305b0 Use FOR_IN instead of while loop 2024-07-27 19:46:51 -04:00
Gregory John Casamento
6f2c542b46 Move handling of dictionary creation into GSControllerTreeProxy class, per discussion with @fredkiefer 2024-07-27 18:51:59 -04:00
Gregory John Casamento
abfc782a6c Move check for dataSource or binding into NSOutlineView before calling method to draw the row per discussion with @fredkiefer 2024-07-27 18:29:00 -04:00
Gregory John Casamento
3d59afd2c9 Improvements, per discussion with @fredkiefer 2024-07-27 17:37:04 -04:00
Gregory John Casamento
4f9889bbe4 Fix selector issue: quick fix 2024-07-26 23:31:46 -04:00
Gregory Casamento
f55d937ab2
Update NSTreeController.m
Remove NSLog from initWithContent:
2024-07-20 12:27:00 -04:00
Gregory John Casamento
d22d839b0c Correct minor formatting issues 2024-07-19 11:12:24 -04:00
Gregory John Casamento
dc78b11291 Add code to handle insertion methods that are based on selection 2024-07-19 10:14:18 -04:00
Gregory John Casamento
cd41f301a8 Add selection logic for computing indexPaths 2024-07-19 08:04:13 -04:00
Riccardo Mottola
b32f21e549 Merge branch 'master' of https://github.com/gnustep/libs-gui 2024-07-18 13:17:14 +02:00
Riccardo Mottola
da2803481b Pietas, Enrico passed way, remove email 2024-07-18 13:17:06 +02:00
Gregory John Casamento
c68c459584 Add code to set selection indexes on the controller 2024-07-16 18:03:30 -04:00
Gregory John Casamento
c39095cd61 Add comment/documentation 2024-07-15 07:06:49 -04:00
Gregory John Casamento
74e0c19503 Add bindigns to NSTableColumn and handle font bindings in _applyBindingsToCell:... method 2024-07-15 06:50:20 -04:00
Gregory John Casamento
766a358fb7 Move code to handle enabled/editable bindings to a common method in the parent class 2024-07-14 16:00:18 -04:00
Gregory John Casamento
ca4fe0e078 Add code to get the value of the NSEnabledBinding 2024-07-14 15:40:47 -04:00
Gregory John Casamento
45c0368602 Add code to get the value of the NSEditableBinding 2024-07-14 15:14:07 -04:00
Gregory John Casamento
f253f3fa0e Formatting fixes.. add space before * in return value 2024-07-12 10:39:47 -04:00
Gregory John Casamento
2ba9843537 Add removeSelectionIndexPaths: 2024-07-12 09:42:26 -04:00
Gregory John Casamento
4ddce03859 Add removeObjects... methods 2024-07-12 08:49:52 -04:00
Gregory John Casamento
9b481f10b3 Correctly refresh after adding an item at an index path 2024-07-12 08:11:23 -04:00
Gregory John Casamento
e6f86a5a9e Add NSNibDeclarations.h to the header to correct compilation error 2024-07-12 06:35:31 -04:00
Gregory John Casamento
90b3913a1f Add implementation for methods that add nodes at a given indexPath or set of indexPaths 2024-07-12 06:22:56 -04:00
Gregory John Casamento
bbbe9d00b4 Update _setObjectValue:... to update items in arrangedObjects when there is a binding 2024-07-11 12:18:52 -04:00
Gregory John Casamento
8da3d0afb7 Update to use NSObservedKeyPathKey instead of string, add code to _setObjectValue:... in NSTableView to set the value when we have a binding 2024-07-10 07:06:08 -04:00
Gregory John Casamento
aa86a96c55 Update to use NSObservedKeyPathKey instead of string, add code to _setObjectValue:... in NSTableView to set the value when we have a binding 2024-07-10 06:31:55 -04:00
Gregory John Casamento
060b27a854 Update _setObjectValue:... 2024-07-06 23:44:31 -04:00
Gregory John Casamento
fdb35eb869 Add value/setValue: 2024-07-06 23:06:26 -04:00
Gregory John Casamento
435ccfb2c7 Add value/setValue: 2024-07-06 23:03:31 -04:00
Gregory John Casamento
23bcb99166 Initial changes to NSBrowser for NSTreeController/binding integration 2024-07-06 22:02:10 -04:00
Gregory John Casamento
20b8f2402b Merge branch 'master' of github.com:gnustep/libs-gui into NSTreeController_branch2 2024-07-06 13:38:47 -04:00
Gregory Casamento
6b238f504c
Update README.md
Fix date.  :/
2024-07-06 01:54:10 -04:00
Gregory Casamento
1d46aae920
Update README.md
update date
2024-07-06 01:53:33 -04:00
Gregory John Casamento
8fbcbdb380 Changes to allow editing 2024-07-05 01:57:09 -04:00