Commit graph

9781 commits

Author SHA1 Message Date
Gregory John Casamento
c3146bae6b Clean up white space 2024-10-11 01:08:49 -04:00
Gregory John Casamento
427b9af224 Update code to pull the column and selected row properly 2024-10-11 00:49:22 -04:00
Gregory John Casamento
245ec265f8 Fixed issue with getting value and initial item 2024-10-10 00:15:56 -04:00
Gregory John Casamento
417a33de27 Merge branch 'master' into NSBrowser_bindings_branch 2024-10-08 12:52:35 -04:00
Gregory John Casamento
16ed635cd4 Merge branch 'master' of github.com:gnustep/libs-gui 2024-10-08 12:50:36 -04:00
Gregory John Casamento
c2324e102d Minor cleanup in NSOutlineView code 2024-10-08 12:49:59 -04:00
johnathan-becker
4d50863275
apply fix (#300) 2024-10-08 17:59:23 +02:00
johnathan-becker
fb1472ad3b
make nsmenu extensible (#301) 2024-10-07 22:58:42 +02:00
Gregory John Casamento
2916a92bf7 Add code to get node data from NSTreeController 2024-10-07 16:04:08 -04:00
Gregory John Casamento
d04a1b8291 Add code to handle bindings in NSBrowser, skeletal implementation, avoids exception 2024-10-07 13:59:29 -04:00
williameveretteggplant
3b02ac1d9d
implement integerValue method in NSSliderCell (#296)
the superclass method integerValue: method in NSCell uses the _object_value to retrieve the result, but the implementation of setObjectValue: in NSSliderCell sets _value. So integerValue: needs to return _value.
2024-10-03 09:14:45 +02:00
Gregory John Casamento
fbad48733d Merge branch 'master' of github.com:gnustep/libs-gui into NSBrowser_bindings_branch 2024-09-28 09:03:35 -04:00
Riccardo
fb61a0f287
use macro to decode NSInteger into enum - fixes 64Bit Big Endian (#292) 2024-09-19 08:29:36 +02:00
Frederik Carlier
22e5304a7b
Fall back to pkgconfig for resolving libtiff (#290)
In certain configurations (e.g. when built in debug mode using the msvc compiler), the libtiff link library may have a 'd' suffix -- 'tiffd'. `AC_CHECK_LIB(tiff, TIFFReadScanline)` will fail because it doesn't search for `tiffd`.

Rather than hardcoding the `tiffd` variant, use pkg-config to find libtiff.
2024-09-15 10:54:50 +02:00
Frederik Carlier
3784462321
GSMemoryPanel: Only call GSDebug* in debug mode (#289)
The GSDebug* methods are conditional on NDEBUG not being defined; so do not attempt to call these methods if this variable is not set.
2024-09-14 10:31:42 +02:00
Frederik Carlier
6a3681aa82
Add APPKIT_EXPORT_CLASS, APPKIT_EXPORT annotations (#288)
Some GS* classes and methods are used by the ColorPicker or Printing bundles.  That means that they are referenced from an external module.  For this module to be able to resolve these symbols, on Windows, they need to be exported.

This commit adds `APPKIT_EXPORT_CLASS` and `APPKIT_EXPORT` annotations, allowing ColorPickers to compile on Windows.
2024-09-12 22:45:55 +02:00
Gregory John Casamento
35fb894ecc Update bindings handlng in NSBrowser, NSTextFieldCell 2024-09-09 09:23:35 -04:00
Gregory John Casamento
f6231b841d Revert temporary experimental change (for now) 2024-09-09 09:23:35 -04:00
Gregory John Casamento
691bf4391b NSTableView experimental changes to improve bindings 2024-09-09 09:23:35 -04:00
rfm
3c160c9bb8 for documentation, ignore DPS macros 2024-09-03 11:30:18 +01:00
Gregory John Casamento
530dee1e2f Minor fix in NSNib to use NULL, quick fix in NSBundleAdditions to fix issue with model not returning top-level objects 2024-08-29 16:16:43 -04:00
Gregory Casamento
b003db284e
Merge pull request #277 from gnustep/NSTreeController_branch2
Updated PR for NSOutlineView/NSTreeController due to refactor
2024-08-23 03:25:51 -04:00
Gregory John Casamento
e1f3109c94 Fix issues with setting editable property on NSTableColumn and call _keyPathForValueBinding 2024-08-21 00:12:03 -04:00
Gregory John Casamento
8ed8754b2a Correction compile error 2024-08-20 23:43:30 -04:00
Gregory John Casamento
068684d6d3 Add method _keyPathForValueBinding in _setObjectValue for table view 2024-08-20 23:00:16 -04:00
Gregory John Casamento
1a188b7eb7 Add method _keyPathForValueBinding in _setObjectValue for Outline view 2024-08-20 22:56:18 -04:00
Gregory John Casamento
27d57fe5eb Add method _keyPathForValueBinding to encapsulate the code for getting the path 2024-08-20 22:53:31 -04:00
Gregory John Casamento
4b380ab272 Merge conflic fixes 2024-08-18 22:11:42 -04:00
Gregory Casamento
97ea7c5cc5
Merge pull request #281 from gnustep/NSBrowser_branch
Add new 10.6 delegate methods to NSBrowserDelegate
2024-08-18 21:08:54 -04:00
Gregory John Casamento
4813800ac8 Final fixes per discussion with @fredkiefer 2024-08-18 21:04:22 -04:00
Gregory John Casamento
5befed5855 Fix a number of issues pointed out by @fredkiefer 2024-08-18 17:25:47 -04:00
Gregory John Casamento
fbc0cd160b Fix issues mentioned by @fredkiefer as well as some addiutional cleanup 2024-08-12 14:44:13 -04:00
Gregory John Casamento
ddf6546c37 Release selection_index_paths in -dealloc method, per discussion with @fredkiefer 2024-08-11 17:06:49 -04:00
Gregory John Casamento
118eb26a5f Fix issues mentioned by @fredkiefer 2024-08-11 16:40:37 -04:00
Gregory John Casamento
bb2c12d74a Merge branch 'master' of github.com:gnustep/libs-gui into NSTreeController_branch2 2024-08-09 14:27:23 -04:00
Gregory Casamento
ac56a0fe29
Merge pull request #282 from williameveretteggplant/modal_linux_fix 2024-08-09 12:12:30 -04:00
Gregory Casamento
6474e53fb6
Update NSOutlineView.m - remove unbind per discussion with @fredkiefer 2024-08-09 02:28:29 -04:00
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
williameveretteggplant
dd67057784
push modal window to top later in process 2024-08-08 10:16:27 -06:00
William Everett
8760810340
Revert "Force modal to front"
This reverts commit 1fd80dabc2.
2024-08-08 10:02:52 -06:00
Gregory John Casamento
d8c4c14018 Move _applyBindingsToCell:atRow: to NSTableColumn 2024-08-07 22:55:14 -04:00
williameveretteggplant
1fd80dabc2
Force modal to front 2024-08-07 16:48:39 -06:00
Gregory John Casamento
21d0bc906e Fix issues pointed out by @fredkiefer 2024-08-04 18:44:01 -04:00
Gregory John Casamento
c85e4fcf37 Merge branch 'master' into NSBrowser_branch 2024-08-03 22:26:49 -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