Commit graph

6596 commits

Author SHA1 Message Date
Gregory John Casamento
a9598d9d10 Commit fixes for all issues Fred mentioned except for formatting. 2021-03-26 02:58:30 -04:00
Gregory John Casamento
bf381f8c31 Remove incorrect calculations in _refreshCells 2021-03-23 20:11:54 -04:00
Gregory John Casamento
914bcb6f68 Incorporate all suggestions made by Fred K. 2021-03-23 19:58:05 -04:00
Gregory John Casamento
d818fc42d4 Fix implementation of initWithViews: 2021-03-22 20:03:46 -04:00
Gregory John Casamento
ac2e5ff680 Change name of method _findPrototypeView to _prototypeFrame 2021-03-22 18:10:32 -04:00
Gregory John Casamento
857e4d2e28 Fix column/row spacing issues 2021-03-22 17:25:47 -04:00
Gregory John Casamento
0bc6216ef1 Fix minor issues with _cellsForRowAtIndex: 2021-03-22 14:20:19 -04:00
Gregory John Casamento
aacc539464 Make insertRow/Column based on the number of rows/columns in the view. Get cell from array or create based on that info 2021-03-22 13:48:08 -04:00
Gregory John Casamento
bf302d3a12 Add customPlacementConstraints 2021-03-20 07:45:44 -04:00
Gregory John Casamento
2576fbd215 Correct spelling 2021-03-19 06:35:06 -04:00
Gregory John Casamento
d7eca23b73 Double checked and corrected where the fast enumeration var was misdeclared in END_FOR_IN(...). 2021-03-18 18:44:20 -04:00
Gregory John Casamento
c561e4f2d5 Merge branch 'master' of github.com:gnustep/libs-gui into NSGridView_NSStackView_branch 2021-03-18 18:37:26 -04:00
Gregory John Casamento
34e9da4f96 Fix issue with initWithViews enumeration of views 2021-03-18 14:19:02 -04:00
Gregory John Casamento
c816d484b4 Change moveColumnAtIndex: so that cell information is preserved. 2021-03-18 14:01:43 -04:00
Graham Lee
f3dd2fa451 Add stub for -[NSWorkspace frontmostApplication] 2021-03-17 21:18:24 +00:00
Gregory John Casamento
c46d190c08 Make gridViewWithNumberOfColumns:rows: generate an NSArray of NSArrays of NSViews before passing it to gridViewWithViews: 2021-03-17 09:19:12 -04:00
Gregory John Casamento
fd8533fab9 Change rows to views 2021-03-16 20:07:10 -04:00
Gregory John Casamento
ae3c4fbee5 Move autorelease to gridViewWIthViews: 2021-03-16 20:03:47 -04:00
Gregory John Casamento
0391347746 Fix numberOfCells methods 2021-03-16 13:28:42 -04:00
Gregory John Casamento
195b162c7e Various corrections and typographical corrections. 2021-03-14 15:03:07 -04:00
Gregory John Casamento
9bdee0a181 Remove uneeded NSDebugLog statements 2021-03-14 14:57:08 -04:00
Gregory John Casamento
a449fa172f Fixed minor formatting issues. 2021-03-14 14:55:55 -04:00
Gregory John Casamento
49348ffa24 Implement mergeCellsInRange: for row/columns 2021-03-14 14:47:10 -04:00
Gregory John Casamento
fd0d501604 Cleanup of comment 2021-03-14 14:33:03 -04:00
Gregory John Casamento
68dad85a1e Address fred's comment about getting the cell more efficiently 2021-03-14 14:32:04 -04:00
Fred Kiefer
a07d68551f * Source/NSMenu.m (-_setOwnedByPopUp:): Only update the menu if
there is a new popup.
2021-03-12 18:36:38 +01:00
Gregory John Casamento
a8cf81626b Remove NSStackView from branch 2021-02-25 06:51:05 -05:00
Gregory John Casamento
bd819ac12c Add supporting ivars into NSStackView for visiblePriority, clipping, gravity, customSpacing, and views 2021-02-25 05:01:33 -05:00
Gregory John Casamento
b8ecd7b59b Merge branch 'master' of github.com:gnustep/libs-gui into NSGridView_NSStackView_branch 2021-02-24 19:24:09 -05:00
Gregory John Casamento
b35da84d61 Implement numberOfCells/cellAtIndex: for NSGridRow and NSGridColumn classes. 2021-02-21 20:26:56 -05:00
Fred Kiefer
48a03d8b8f * Source/NSPasteboard.m (-_pasteboardWithTarget:name:): Correct
wrong order of arguments to NSMapInsert.
* Source/NSPasteboard.m (-generalPasteboard): Simplify
implementation.
2021-02-21 20:45:56 +01:00
Gregory John Casamento
652ffb756e Add default size for cell from observation in Xcode 2021-02-21 14:18:01 -05:00
Gregory John Casamento
e329b2d7de Remove refresh from merge... call 2021-02-20 07:37:19 -05:00
Gregory John Casamento
7de5efd022 implement deleteRow/ColumnAtIndex: moveRow/ColumnAtIndex: methods. 2021-02-20 07:13:35 -05:00
Gregory John Casamento
037d50d445 insertRowAtIndex:withViews: correct implementation. 2021-02-20 04:54:31 -05:00
Gregory John Casamento
9156fa6da4 Precalculate column/row widths. 2021-02-20 02:38:49 -05:00
Gregory John Casamento
dd223a8ff0 Add note regarding calculation of row/column heights. 2021-02-20 02:03:20 -05:00
Gregory John Casamento
f9e2b42bc4 _refreshCells now reformats views properly. 2021-02-20 01:59:16 -05:00
Gregory John Casamento
b5c6e92dda Fix encoding/decoding, start rewriting refresh to align cells. 2021-02-18 19:25:07 -05:00
Gregory John Casamento
eaf0351b78 Reimplement so that cells are managed in one place 2021-02-15 23:44:08 -05:00
Gregory John Casamento
f5d86cd623 Follow Fred's suggested data structure where we manage everything from NSGridView and call back to it from the column and row objects. 2021-02-15 02:33:59 -05:00
Gregory John Casamento
d97ab132ac Merge branch 'master' of github.com:gnustep/libs-gui into NSGridView_NSStackView_branch 2021-02-14 14:00:47 -05:00
Fred Kiefer
1c972d2892 * Source/NSSearchFieldCell.m: Correct encoding/decoding that was
broken in last commit of this file.
2021-02-12 19:47:50 +01:00
Gregory John Casamento
07ca3b7cd3 Merge branch 'master' into NSGridView_NSStackView_branch 2021-02-07 15:03:05 -05:00
Gregory John Casamento
cb135584c7 Use new macros 2021-02-06 20:04:54 -05:00
Gregory John Casamento
d0dd3331fb Fix issue #91, add non-keyed encoding to initWithCoder:/encodeWithCoder 2021-02-06 15:53:20 -05:00
Gregory John Casamento
78f84bb52a Merge branch 'master' of github.com:gnustep/libs-gui into NSGridView_NSStackView_branch 2021-01-24 12:13:53 -05:00
Fred Kiefer
a4ec02e613 * Source/NSTableView.m (-_numRows): Take column value binding into
consideration.
* Source/NSTableColumn.m (-setValue:forKey:): Reload table data.
2021-01-22 22:48:13 +01:00
Fred Kiefer
efff658f82 * Source/NSWindow.m (GSOrderedWindows): Don't try to handle
already gone windows that may be returned from a slow window manager.
2021-01-22 14:53:15 +01:00
Gregory John Casamento
f575d8313c Add spaces and add .0 for floats to make things clearer 2021-01-20 12:41:21 -05:00