Commit graph

9872 commits

Author SHA1 Message Date
Riccardo Mottola
53a85514c1 do not crash if passed rect as value is nil 2025-04-17 02:30:05 +02:00
Riccardo
4f255d2750
Merge pull request #343 from gnustep/margin_fix
Margin fix
2025-04-13 17:19:24 +02:00
Riccardo Mottola
15de9c7eb3 further tweak margins 2025-04-11 15:34:15 +02:00
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
2e5f204d6a imageable area is usually smaller than the full page, don't provide a edge-to-edge printer as default dummy 2025-04-11 09:23:39 +02:00
Riccardo Mottola
fcfc643e3c Merge branch 'master' of https://github.com/gnustep/libs-gui 2025-04-02 01:48:03 +02:00
Riccardo Mottola
a4da1a1b5a Fix standardizing absolute paths: first check for them, then add CWD
then standardize the path.
As we are, add a nil/empty string check for path.
2025-04-02 01:46:40 +02:00
Riccardo
0421737ed5
Merge pull request #341 from gnustep/improve_helpviewer_check
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 16:17:15 +02:00
Riccardo Mottola
3c83194b7b fix missing space 2025-04-01 14:41:38 +02:00
Riccardo Mottola
e3da52aae3 Normalize path always and use it to check if it exists, not argc. 2025-04-01 01:34:27 +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
2cd675f736 fix typo 2025-03-25 00:10:37 +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
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