Commit graph

9818 commits

Author SHA1 Message Date
Gregory John Casamento
1750a1ed8c Merge branch 'master' into GSTheme_darkmode_branch 2025-01-19 09:51:43 -05:00
Gregory Casamento
f63f89dd05
Merge pull request #327 from gnustep/fix_dependencies_branch
Update dependencies.sh
2025-01-18 09:07:20 -05:00
Gregory Casamento
b75d59a5b9
Update dependencies.sh 2025-01-18 09:02:29 -05:00
Gregory Casamento
f1a94d94b5
Update dependencies.sh
Fix spaces
2025-01-18 09:00:47 -05:00
Gregory Casamento
b19c9052a7
Update dependencies.sh
Re-add build for libdispatch
2025-01-18 08:45:59 -05:00
Gregory Casamento
ddd239d702
Update dependencies.sh
Switch back to canonical source for libdispatch
2025-01-18 08:44:57 -05:00
Gregory Casamento
df9f4560c6
Update dependencies.sh 2025-01-18 07:52:25 -05:00
Gregory Casamento
989d3aacd6
Update dependencies.sh 2025-01-18 07:49:39 -05:00
Gregory John Casamento
8321858448 Merge branch 'master' of github.com:gnustep/libs-gui into GSTheme_darkmode_branch 2025-01-09 07:52:25 -05:00
Gregory Casamento
b68ddb27b9
Update main.yml
Add dependencies to fix CI issue.
2025-01-08 12:15:23 -05:00
Gregory John Casamento
04c72e874c Use GSThemeDarkMode setting in the theme as the return value instead of it being hard coded 2025-01-08 07:45:01 -05:00
Gregory John Casamento
9568ec7fb9 Add method that tells the app/backend that we are using a dark mode theme 2025-01-05 20:42:06 -05:00
Gregory John Casamento
c4e5d6b223 Add method that tells the app/backend that we are using a dark mode theme 2025-01-05 05:17:07 -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
rfm
3a3a8c47c9 Fix a few testcase leaks 2025-01-01 15:03:52 +00:00
rfm
96a719ae20 Fix trival leaks 2024-12-31 08:21:15 +00:00
Riccardo
e489d43ef1
Merge pull request #324 from gnustep/nilfilename_fix
Don't attempt to load representations if the filename is nil.
2024-12-16 16:05:33 +01:00
Riccardo Mottola
74b5836b19 Don't attempt to load representations if the filename is nil. 2024-12-16 01:09:54 +01:00
williameveretteggplant
7855252df0
Only trigger NSClipView changes when setting new frame (#313) 2024-11-19 19:32:55 +01:00
Riccardo
4da0ca66a0
simplify ICU configure, remove icu-config parameter and cascade with pkg-config check as in base, also add pkg-config program check to be able to use it (!) (#320) 2024-11-19 18:04:29 +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
Frederik Carlier
c89d7432a4
Expose additional GSTheme method(s) for adding NSTabView theming to WinUXTheme (#308)
Co-authored-by: Marcian Lytwyn <marcian.lytwyn@eggplant.io>
2024-11-05 09:00:07 +01: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
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
rfm
3879f8e909 Fix logic of test for changed information for tidy object dates. 2024-10-31 19:04:45 +00: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
a32741a5d7
Add NSCellHitResult typedef, introduced in OSX 10.10 (#309) 2024-10-28 18:14:24 +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
williameveretteggplant
9901bbcb4c
Fix alternateContents in NSButtonCell (#305) 2024-10-17 08:23:02 +02:00
johnathan-becker
55ef9f465f
Add Tests for GSCodingFlags (#303)
* add test

* remove backend call

* fix this

* fix =
2024-10-14 22:34:51 +02:00
Sergii Stoian
afe151aaaf NSApplication: toggle title of menu item "Hide" to "Unhide" and vice versa.
Right-click app menu on hidden app icon should show "Unhide" on menu item and behave respectively.
2024-10-09 11:02:26 +00:00
Sergii Stoian
40fc3ab2ec
Merge pull request #299 from trunkmaster/fontpanel-autosizing
Font Panel autosizing fix - Fix autosizing of "Family" and "Typeface" browsers using different approach to NSView's default.
2024-10-09 01:20:20 +03: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
Sergii Stoian
59381a7803 Merge branch 'master' into fontpanel-autosizing 2024-10-04 23:05:46 +03:00
Sergii Stoian
04e6cf804d NSFOntPanel: remove extra check while autosizing. 2024-10-04 23:05:23 +03:00