Riccardo Mottola
4f54f4d6cf
recalculate margins every time the paper type changes, do not stick to thos calculated on the default in init
2025-04-11 09:24:28 +02:00
Riccardo Mottola
3c83194b7b
fix missing space
2025-04-01 14:41:38 +02:00
Riccardo Mottola
0db5a24849
Use NSWorkspace inforForExcetsion to check if current registred HelpViewer is capable of showing the Help File, otherwise fall-back to NSWorkspace open as if no HelpViewer is set
2025-04-01 00:29:15 +02:00
Riccardo Mottola
4faee2de0b
before using designated HelpViewer check if it is capable of opening the extension
2025-03-25 01:06:28 +01:00
Riccardo Mottola
c00d5beaf8
use existing ws local variable work shared NSWorkspace
2025-03-25 00:00:18 +01:00
Riccardo Mottola
60aca74336
improve handling of external viewer success or failure, return early in case of success
2025-03-24 23:58:04 +01:00
Riccardo Mottola
07f2213285
fix copy&paste error in release which caused crash
2025-03-05 16:08:10 +01:00
Riccardo Mottola
5917f0519b
always reset _needsLayout in -layout and not only
...
-layoutSubtreeIfNeeded via layoutViewAndSubvies.
Apple states for -(void) layout:
Override this method if your custom view needs to perform custom layout not expressible using the constraint-based layout system. In this case you are responsible for setting needsLayout to true when something that impacts your custom layout changes.
Which seems to suggest that layout does the reset of needsLayout, since
setting it is up to programmer.
2025-03-04 23:56:39 +01:00
rfm
4c1687d2b4
New release
2025-02-11 18:44:11 +00:00
Riccardo Mottola
bb2c4f4978
resolve links, so that e.g /home/xxx /usr/home/xxx match
2025-02-07 03:14:49 +01:00
Gregory Casamento
c28695dd4a
Merge pull request #284 from gnustep/NSBrowser_bindings_branch
2025-01-26 08:46:43 -05:00
Riccardo Mottola
7855b12d6a
revert part of TestPlant imports. The _updateFieldEditor method is
...
called *after* setUpFieldEditorAttributes so it reset attributes set to
NSText text object.
2025-01-24 01:38:09 +01:00
Gregory John Casamento
86f97ac54d
Clean up comments
2025-01-18 22:42:46 -05:00
Gregory John Casamento
fbb22c07bf
Fix handling of leaf nodes
2025-01-18 21:04:27 -05:00
Gregory John Casamento
08163b48f1
Merge branch 'master' into NSBrowser_bindings_branch
2025-01-05 04:55:21 -05:00
McLaren Labs
a8018d6c8e
Fix computation ( #325 )
...
- start of string is (name+9)
- 'ptr' is the end of the desired substring, so the length
should be (ptr - (name + 9)) which is (ptr - name) - 9)
Co-authored-by: Tom Sheffler <tom.sheffler@gmail.com>
2025-01-03 10:31:59 +01:00
Gregory John Casamento
a3ebaf2630
Merge branch 'master' of github.com:gnustep/libs-gui into NSBrowser_bindings_branch
2025-01-01 16:42:03 -05:00
Riccardo Mottola
74b5836b19
Don't attempt to load representations if the filename is nil.
2024-12-16 01:09:54 +01:00
Gregory John Casamento
1a74cb6435
Cleanup code whitespace
2024-12-12 13:35:43 -05:00
Gregory John Casamento
2bcc354972
Merge branch 'master' into NSBrowser_bindings_branch
2024-12-09 19:36:20 -05:00
williameveretteggplant
7855252df0
Only trigger NSClipView changes when setting new frame ( #313 )
2024-11-19 19:32:55 +01:00
Frederik Carlier
68e2716626
GSColorSliderCell: Move to libs-gui ( #321 )
...
This class is shared between the StandardPicker bundle and the WheelPicker bundles. Exposing a class with the same name in two separate bundles results in undefined behavior. Move this class to a shared module (libs-gui in this case) to resolve that.
2024-11-19 18:02:25 +01:00
johnathan-becker
82717eefec
fix issue with nsmenu items ( #315 )
2024-11-18 19:43:58 +01:00
Gregory Casamento
bc53ea0ecf
Merge pull request #319 from johnathan-becker/johnb-fix-textbox
...
Fix issue with NSCollectionView and single column views
2024-11-17 08:46:36 -05:00
rfm
f7fd33a746
When we allocate objects in a given zone, we are not guaranteed to get back something actually allocated in that zone (eg the runtime might use a common heap) so if we are creating/destroying other heap memory based on zone we need to make sure we are consistently using the same zone info.
2024-11-16 11:15:49 +00:00
Fred Kiefer
87e132ca82
Fix test GSCellFlags.
...
Make NSBezierPath -dealloc a bit saver.
2024-11-15 22:10:29 +01:00
Johnathan Becker
c80105a312
try this
2024-11-15 12:39:29 -07:00
Johnathan Becker
299af29885
try this
2024-11-15 12:36:08 -07:00
Johnathan Becker
7d477230ec
try this
2024-11-15 12:32:31 -07:00
Gregory John Casamento
aac04a1a03
Comment unneeded code as discussed with @fredkiefer
2024-11-11 08:27:28 -05:00
Gregory John Casamento
041b8fda1f
Fix call to rootItemForBrowser as discussed with @fredkiefer
2024-11-11 08:17:59 -05:00
Gregory John Casamento
557796af5d
Merge branch 'master' of github.com:gnustep/libs-gui into NSBrowser_bindings_branch
2024-11-06 09:39:30 -05:00
williameveretteggplant
c71f9dd715
modify NSComboBox to handle attributed strings ( #314 )
...
* modify NSComboBox to handle attributed strings
* formatting
2024-11-05 00:12:37 +01:00
Gregory John Casamento
70cdc3c908
Merge branch 'master' of github.com:gnustep/libs-gui into NSBrowser_bindings_branch
2024-11-03 15:47:54 -05:00
Frederik Carlier
ec89d161b0
NSTextFieldCell: Decode placeholder string ( #310 )
2024-11-02 17:50:48 +01:00
Sergii Stoian
42a79060b9
Make white as default selection highlight color for NSTableView ( #312 )
2024-11-02 00:03:20 +01:00
johnathan-becker
820492495a
implement showsresizeindicator ( #311 )
2024-11-01 20:10:29 +01:00
Sergii Stoian
5cd432374c
Merge pull request #302 from trunkmaster/menu-unhide
...
NSApplication: toggle menu item "Hide" title and action on user click.
2024-11-01 15:22:18 +02:00
Sergii Stoian
c5754158c5
NSApplication: use "Show" menu item title instead of "Unhide".
2024-11-01 12:53:19 +00:00
Sergii Stoian
9d419c9116
NSApplication.m: handle Hide/Unhide menu item title and action by changing
...
title and action of NSMenuItem object.
2024-11-01 11:35:26 +00:00
Gregory John Casamento
59f91c21cd
Merge branch 'master' of github.com:gnustep/libs-gui into NSBrowser_bindings_branch
2024-10-31 16:34:14 -04:00
rfm
3879f8e909
Fix logic of test for changed information for tidy object dates.
2024-10-31 19:04:45 +00:00
Gregory John Casamento
10256c9a60
Merge branch 'master' of github.com:gnustep/libs-gui into NSBrowser_bindings_branch
2024-10-30 19:10:04 -04:00
Fred Kiefer
349dc21144
* Headers/AppKit/NSLayoutAnchor.h: Add missing include that is required after a change in base.
...
* Source/NSTableView.m: Forward declare new methods.
2024-10-29 22:42:06 +01:00
Frederik Carlier
acf00ce5d2
Allow themes to override [NSMenu _isVisible]
( #307 )
...
The default implementation of `[NSMenu]` uses `_aWindow` and `_bWindow` to determine the visibility of the menu. Not all themes use these windows to build a menu. For example, the WinUXTheme will use Win32 APIs to build a menu.
Allow themes to override the value of `[NSMenu _isVisible]` by introducing a `[GSTheme proposedVisibility: (BOOL)visible forMenu: (NSMenu *) menu]` method. The default implementation simply eturns the proposed visibility.
2024-10-27 22:02:20 +01:00
Gregory John Casamento
56d6fa064f
Use better variable name for value key
2024-10-18 20:11:16 -04:00
williameveretteggplant
9901bbcb4c
Fix alternateContents in NSButtonCell ( #305 )
2024-10-17 08:23:02 +02:00
Gregory John Casamento
5fd4ff0ffe
Merge branch 'master' into NSBrowser_bindings_branch
2024-10-13 21:47:54 -04:00
Gregory John Casamento
5a169767ff
Simplify NSContentBinding/NSContentValuesBindings in setValue:forKey: and valueForKey:
2024-10-13 21:47:33 -04:00
Gregory John Casamento
664fdada0c
Cleanup setValue:forKey: and valueForKey:
2024-10-11 14:59:04 -04:00