Commit graph

9139 commits

Author SHA1 Message Date
Riccardo Canalicchio
4eafb6f34c Add helper methods in GSWindowDecorator protocol for pointer hit test on window decorations 2021-12-17 09:09:37 +01:00
Gregory John Casamento
77202f52e1 Update ChangeLog for NSSplitView change 2021-12-01 19:44:43 -05:00
Gregory John Casamento
1d3f33b694 Restore older behavior for version 0 of NSSplitView. The previous change broke some older .gorm files. 2021-12-01 19:42:40 -05:00
Gregory John Casamento
d20fa6cc61 Make sure that the setDividerStyle: mthod is called only once when decoding from a gorm file 2021-11-18 18:01:45 -05:00
Gregory John Casamento
dae13af553 Check [bc isLoaded] before making window first responder 2021-11-18 13:17:56 -05:00
Gregory Casamento
9f62b46c7b
Merge pull request #116 from gnustep/TP_NSSplitView_branch 2021-11-18 10:01:23 -05:00
Gregory John Casamento
334e26eeb0 Add support for Thick/Thin/PaneSplitter NSSplitView settings 2021-11-15 10:20:33 -05:00
Gregory John Casamento
8ac4bf7547 NSSplitView, use CGFloat to encode _draggedBarWidth 2021-11-15 09:52:26 -05:00
Gregory Casamento
aae4b5897d Use macro for encoding and decoding NSInteger. 2021-11-15 09:52:26 -05:00
Gregory Casamento
eefe159f31 make minor corrections per @fredkeifer 2021-11-15 09:52:26 -05:00
Gregory Casamento
963938923b Make some of the updates suggested by fred. 2021-11-15 09:52:26 -05:00
Gregory John Casamento
f88f70ca17 Implement arrangesAllSubview and other related methods. 2021-11-15 09:52:26 -05:00
Gregory John Casamento
54e555bc33 Add support for dividerThickness and bump version of NSSplitView to 1 2021-11-15 09:52:26 -05:00
Gregory John Casamento
8fa489282b Fix compilation error. Added cast to (id) for nil when working with GSIArrayItem and GSIArray. This issue wasn't caught by CI since gui was not recompiled after base was altered. 2021-11-15 08:59:36 -05:00
Fred Kiefer
a047b10a51
16bit (#123)
* Fix compiler warnings

* Attempt to sort out byte order for 15 bit images.

* Try to get integer types from standard location

* Remove extra swap code by using more complex condition.
Thanks to Riccardo Mottola.
2021-11-08 22:46:25 +01:00
Fred Kiefer
6ecfa261f6
Merge pull request #122 from nongio/wayland
expose NSWindow menu attribute, required for wayland backend submenu
2021-11-08 07:33:25 +01:00
Riccardo Canalicchio
1e670335f6 expose menu attribute, required for wayland backend submenu 2021-11-07 15:33:21 -05:00
Gregory John Casamento
97379423f0 Revert change per discussion with @fredkiefer. 2021-10-27 16:14:57 -04:00
Gregory John Casamento
7023c7d06d Add remaining changes contributed by testplant. 2021-10-27 15:18:23 -04:00
Gregory John Casamento
ac5b949f2a Add fix to prevent iterating past the number of visible back views. 2021-10-27 15:00:38 -04:00
Gregory John Casamento
5666d7b7c2 Add NSScrollView keys for init/encodeWithCoder 2021-10-27 12:34:58 -04:00
Gregory John Casamento
e9548dd057 Add extra pixels to tooltip 2021-10-27 11:59:39 -04:00
Riccardo
58359b8de3
update signatures to match Apple (#120) 2021-10-26 16:17:45 +02:00
Riccardo Mottola
5e837b6858 Keep local variables to ensure correct values during recursion. 2021-10-25 23:22:32 +02:00
Gregory John Casamento
5bdf536733 Add changelog entry for NSGlyphInfo 2021-10-21 16:47:37 -04:00
Gregory Casamento
7617392f80
Merge pull request #118 from gnustep/NSGlyphInfo_branch 2021-10-21 16:38:54 -04:00
Gregory Casamento
25596ba526
Minor spelling error and removed whitespace at end 2021-10-18 17:12:01 -04:00
Riccardo
8892408c8f
add a preference to disable spellchecker (#115)
* add a preference to disable spellchecker

* add GSDisableSpellCheckerServer

* fix typo and unintentional error.

* be clearer about default.

* one was too much
2021-10-18 22:29:50 +02:00
Gregory John Casamento
ffdffbe65e Add comment to NSGlyphInfo 2021-10-15 11:35:48 -04:00
Gregory John Casamento
8d4b0b26da Add NSGlyphInfo class. Initial implementation, will write some tests to determine behavior on macOS 2021-10-14 07:11:36 -04:00
Gregory John Casamento
31dcf70a11 Update NSToolbar.h to use a formal protocol if API level is 10.6+ 2021-10-13 23:26:57 -04:00
Gregory John Casamento
c814250079 Update NSTabView.h to declare a formal protocol for NSTabViewDelegate for 10.6+ 2021-10-13 23:02:39 -04:00
Gregory John Casamento
98ebe51150 Remove exception when [indexes lastIndex] > numberOfColumns 2021-10-13 13:54:43 -04:00
Gregory John Casamento
a3d73cd3fb Merge branch 'master' of github.com:gnustep/libs-gui 2021-10-13 08:26:42 -04:00
Gregory John Casamento
73c03767df Add tabview enum to header, fix signture issue. 2021-10-13 08:26:37 -04:00
Riccardo Mottola
c6e4f8ef40 reapply checks about structs more carefully 2021-10-13 12:42:18 +02:00
Riccardo Mottola
08baddba7f Revert "be more careful when freeing structs" for accidentally committing another patch together which should be reviewed separately.
This reverts commit 0c2157deaf.
2021-10-13 12:36:20 +02:00
Gregory Casamento
723ddc2a22
Merge pull request #114 from gnustep/TP_NSNibLoading_branch 2021-10-12 19:39:05 -04:00
Gregory John Casamento
edc38e137f Merge branch 'master' of github.com:gnustep/libs-gui 2021-10-12 19:20:30 -04:00
Gregory John Casamento
19426c573d Update behavior of initWithBitmapDataPlanes:... to match documentation and return nil if it cannot initialize given the existing data 2021-10-12 19:20:24 -04:00
Gregory John Casamento
b98a3092ce Remove back from compilation. 2021-10-12 18:58:41 -04:00
Gregory John Casamento
3d63255fe0 use general headers 2021-10-12 18:46:47 -04:00
Gregory John Casamento
bb17ac62d4 Minor corrections 2021-10-12 18:24:35 -04:00
Gregory John Casamento
e99dfd140c Update build script for tests 2021-10-11 19:56:49 -04:00
Gregory John Casamento
0514328820 fix nib file 2021-10-11 19:34:56 -04:00
Gregory John Casamento
9c8e6d58ca Add nib 2021-10-11 19:31:16 -04:00
Gregory John Casamento
49b3111124 Add code to test xib file loading 2021-10-11 10:07:29 -04:00
Gregory John Casamento
9c3f0fbbf3 Add new test for NSNibLoading. Add method loadNibNamed:owner:topLevelObjects: 2021-10-11 09:42:46 -04:00
Riccardo Mottola
f23139ddfb match delegates to actual Apple signature 2021-10-11 01:39:08 +02:00
Riccardo Mottola
0c2157deaf be more careful when freeing structs 2021-10-09 07:54:44 +02:00