Commit graph

9858 commits

Author SHA1 Message Date
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
62a162ed99
Merge pull request #340 from gnustep/339-crash-in-gslayoutengine
fix copy&paste error in release which caused crash
2025-03-06 00:01:08 +01:00
Riccardo Mottola
07f2213285 fix copy&paste error in release which caused crash 2025-03-05 16:08:10 +01:00
Riccardo
d7b54f7a76
Merge pull request #338 from gnustep/fix_needsLayout
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-05 15:50:43 +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
Fred Kiefer
f63152d5b9 Update news.texi for upcoming release. 2025-02-10 22:41:51 +01:00
Riccardo
18175a38d2
Merge pull request #332 from gnustep/FolderIcon_Fix
Some checks failed
CI / Ubuntu x64 Clang gnustep-1.9 (push) Has been cancelled
CI / Ubuntu x64 Clang gnustep-2.0 (push) Has been cancelled
CI / Ubuntu x64 GCC (push) Has been cancelled
Fix display of icons in GWorkspace if the home is a symlink
2025-02-09 00:02:31 +01:00
Riccardo Mottola
bb2c4f4978 resolve links, so that e.g /home/xxx /usr/home/xxx match 2025-02-07 03:14:49 +01:00
Riccardo
44e7af6704
Merge pull request #330 from gnustep/NSView_protected
Some checks failed
CI / Ubuntu x64 Clang gnustep-1.9 (push) Has been cancelled
CI / Ubuntu x64 Clang gnustep-2.0 (push) Has been cancelled
CI / Ubuntu x64 GCC (push) Has been cancelled
protect ivars described as protected
2025-02-06 09:14:14 +01:00
Riccardo
04538546d4
Merge pull request #331 from gnustep/master
Some checks failed
CI / Ubuntu x64 Clang gnustep-1.9 (push) Has been cancelled
CI / Ubuntu x64 Clang gnustep-2.0 (push) Has been cancelled
CI / Ubuntu x64 GCC (push) Has been cancelled
Update main.yml
2025-02-06 02:20:57 +01:00
Gregory Casamento
16b311f12e
Update main.yml
Some checks are pending
CI / Ubuntu x64 Clang gnustep-1.9 (push) Waiting to run
CI / Ubuntu x64 Clang gnustep-2.0 (push) Waiting to run
CI / Ubuntu x64 GCC (push) Waiting to run
2025-02-05 20:07:42 -05:00
Riccardo Mottola
d25d0ad027 protect ivars described as portected 2025-02-04 12:27:30 +01:00
Gregory Casamento
c28695dd4a
Merge pull request #284 from gnustep/NSBrowser_bindings_branch 2025-01-26 08:46:43 -05:00
Riccardo
efb587850b
Merge pull request #328 from gnustep/fix_TextObject_properties
revert part of TestPlant imports. The _updateFieldEditor method is
2025-01-25 22:55:21 +01: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
4bb57d4af5 Merge branch 'master' into NSBrowser_bindings_branch 2025-01-18 12:03:00 -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
fbd539ad24 Merge branch 'master' into NSBrowser_bindings_branch 2025-01-10 10:36:52 -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
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
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
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
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
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
5580e464d2 Update ChangeLog to show NSBrowser changes 2024-11-08 22:25:34 -05:00