Fred Kiefer
b84d8cc3fd
* Headers/Additions/GNUstepGUI/GSWindowDecorationView.h:
...
Move new addon methods for Wayland to correct class
GSStandardWindowDecorationView.
* Source/GSWindowDecorationView.m: Keep variables declarations together.
2021-12-28 17:23:48 +01:00
Fred Kiefer
bc9d477a9f
Merge pull request #124 from nongio/windowdecoration-expose
...
Add helper methods in GSWindowDecorator protocol
2021-12-27 17:51:50 +01:00
Riccardo Canalicchio
8ec514e049
pointInTitleBarRect: remove hit-test from window buttons
2021-12-27 15:12:17 +01:00
Fred Kiefer
97351199e3
* Source/NSPopUpButtonCell.m: Try to prevent segmenation fault
...
when deallocating a popup button.
2021-12-26 23:46:02 +01:00
Fred Kiefer
4ad217d5c3
* Source/NSMenu.m: Rename method on NSMenuPanel for the Wayland
...
backend to -_menu to keep it apart from the already existing method
-menu on NSResponder.
* Source/NSSplitView.m: Correct decoded integer type.
2021-12-26 14:50:50 +01:00
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
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 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
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
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 Casamento
7617392f80
Merge pull request #118 from gnustep/NSGlyphInfo_branch
2021-10-21 16:38:54 -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
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
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
Gregory John Casamento
0e54694019
Remove uneeded method declaration.
2021-10-03 05:17:00 -04:00
Gregory John Casamento
8395509199
Merge branch 'NSPopover_branch' of github.com:gnustep/libs-gui into NSPopover_branch
2021-10-03 05:15:31 -04:00
Gregory John Casamento
35a5b3c156
Fix final issues.
2021-10-03 05:15:16 -04:00
Gregory Casamento
9a5d7a2071
Yet again, to fix indentation.
2021-10-03 05:01:50 -04:00
Gregory Casamento
5600d29cc3
Force fix for spacing issue.
...
It seems as though, even though this shows correctly in emacs, it does not show the proper spacing on github.
2021-10-03 05:00:14 -04:00
Gregory John Casamento
5a2b657431
Remove gsdoc comments from source and move them to the header file for NSPopover.m/h. Correct indentation. Remove _contentView as it was causing a memory leak, simply add as a subview.
2021-10-03 04:54:35 -04:00
Gregory John Casamento
87e30f8514
Add code to dismiss popover if another window issmade key. Minor corrections to GSToolTips.m so that it uses the RELEASE/AUTORELEASE macros.
2021-10-02 17:28:24 -04:00
Gregory John Casamento
166ea25ef0
Add code to load the popover properly when not using a storyboard based application
2021-09-30 03:38:22 -04:00
86fa9b1d67
Added version checks for ImageMagick 7, to be safe!
2021-09-28 02:50:18 +02:00
092f93aed5
Fix compilation against ImageMagick 7.X when compiling with --enable-imagemagick
2021-09-24 23:05:58 +02:00
Gregory John Casamento
9abf2a7494
ASSIGN name to _name in initWithName:target:selector:
2021-09-14 02:38:24 -04:00
Gregory John Casamento
c6fc8e0984
Add simple implementation to NSAccessibilityCustomAction.m
2021-09-13 18:19:31 -04:00
Riccardo Mottola
0ded9f7ea2
force origin to (0,0) as suggested by Fred for a Subview
2021-06-17 23:16:20 +02:00
Riccardo Mottola
0b1771198f
When initializing the text view do not use the document view of the scroll view which is not yet set and invalid. (Fixes exceptions/crashes - fix by Fred Kiefer)
2021-06-17 14:12:59 +02:00
Gregory John Casamento
d3a1fd1119
Remove some unneeded comments in init method
2021-05-27 18:35:15 -04:00
Gregory John Casamento
ec1eb16cc8
Changes to return proper subview and arrangedSubview arrays for NSStackView. Refresh view when arranged subviews are set.
2021-05-27 08:14:43 -04:00
Gregory John Casamento
f481605a6a
Intermediate work on layout for container.
2021-05-27 08:05:14 -04:00
Gregory John Casamento
4002c0efa0
Show stack view container contents
2021-05-27 06:34:00 -04:00
Gregory John Casamento
1687283ccf
Fix decoding of NSStackViewContainerNonDroppedViews
2021-05-26 06:56:30 -04:00
Gregory John Casamento
e96de59a83
Fix decoding of NSStackViewContainerNonDroppedViews
2021-05-26 06:41:19 -04:00
Gregory John Casamento
1ed368de09
Add encoding for NSStackViewContainer class
2021-05-26 03:24:08 -04:00
Gregory John Casamento
6e5abba867
Add decoding keys for NSStackViewContainer
2021-05-26 02:31:43 -04:00
Gregory John Casamento
386d5aee5f
Fix distribution decoding for NSStackView
2021-05-25 12:56:57 -04:00
Gregory John Casamento
7a01dc7a99
Minor improvements
2021-05-25 07:25:19 -04:00
Gregory John Casamento
65ade78a5a
Fix issue with expanding control when needed
2021-05-24 08:13:28 -04:00
Gregory John Casamento
1414cfeff6
Add implementation for horizontal view without containers
2021-05-24 07:14:44 -04:00
Gregory John Casamento
ba065e55e2
More corrections to calculation.
2021-05-24 06:54:38 -04:00
Gregory John Casamento
f06f27f40d
More corrections to calculation. Move logic to _layoutViewsInView:withOrientation:
2021-05-24 06:40:52 -04:00
Gregory John Casamento
9c43880d85
More corrections to calculation. Move logic to _layoutViewsInView:withOrientation:
2021-05-24 06:03:23 -04:00
Gregory John Casamento
346138b042
More fixes
2021-05-23 16:13:30 -04:00
Gregory John Casamento
47b7b0b084
More fixes
2021-05-23 15:40:17 -04:00
Gregory John Casamento
37b1475f54
Slightly refactor where we are getting the frame
2021-05-23 15:33:40 -04:00
Gregory John Casamento
b4e7f7c065
Correct the math for calculating view position.
2021-05-23 14:29:05 -04:00
Gregory John Casamento
d9ed92cdec
Fix xib encoding for stack view, update MISSING file, add decoding for distribution, update NSStackView _refreshView method, update methods for adding views to stackview.
2021-05-20 22:31:00 -04:00
Gregory John Casamento
47d48a1659
Add methods to handle orientation in NSStackView.
2021-05-18 21:34:19 -04:00
Gregory John Casamento
8814229de5
Add container and methods needed to manage views
2021-05-17 23:56:42 -04:00
Gregory John Casamento
c67a284440
Add private stackview container class.
2021-05-17 22:46:13 -04:00
Gregory John Casamento
fe365693bd
Add middle and end containers. Rename keys correctly according to nib file.
2021-05-17 10:56:37 -04:00
Gregory John Casamento
b5f820d052
Implement _hasEqualSpacing
2021-05-17 06:15:56 -04:00
Gregory John Casamento
3fd0f590f4
Implement encodeWithCoder: for NSStackView
2021-05-17 05:45:25 -04:00
Gregory John Casamento
00672662de
Implement initWithCoder for NSStackView
2021-05-17 05:29:22 -04:00
Gregory John Casamento
2fe5ce8056
Add more info to debug when insert or addView methods are called
2021-05-17 01:08:08 -04:00
Gregory John Casamento
a2b48d2103
Add private views for storing things in different gravity settings
2021-05-17 01:06:59 -04:00
Gregory John Casamento
d415a75a03
Decoding for NSStackView
2021-05-16 02:47:55 -04:00
Gregory John Casamento
6e954298e2
Add call to allowsKeyedCoding to determine if encoding should be done for NSProxyObject
2021-05-15 21:37:59 -04:00
Gregory Casamento
a354fb0f7f
Merge pull request #103 from gnustep/xib_gorm_integration
...
XIB/Gorm integration
2021-05-06 23:08:16 -04:00
Riccardo Mottola
a4c5e48839
if a Help viewer is found and the file is opened, do not beep
2021-05-07 02:46:45 +02:00
Gregory Casamento
91fe895197
Merge branch 'master' into xib_gorm_integration
2021-05-02 12:17:13 -04:00
Gregory John Casamento
9534755dbb
Add logic to build an array which contains information to recreate custom class associations in GSXib5KeyedUnarchiver
2021-04-28 19:04:04 -04:00
Gregory John Casamento
74f8e99c2c
Add to the description of IBConnector so that it shows more detail.
2021-04-26 19:57:39 -04:00
Gregory John Casamento
79fa1b68cd
Changes to facilitate XIB loading in IB/Gorm. Added customClassNames to IBObjectContainer and skipped instantiation of custom classes in GSXib5KeyedUnarchiver if we are currently loading as a model in IB/Gorm.
2021-04-25 10:04:34 -04:00
Gregory John Casamento
b97aca9cd4
Removed unused GSXibObjectContainer.[hm] files from directory and from GNUmakefile
2021-04-24 11:08:21 -04:00
Gregory John Casamento
d9921efd8e
Use [GSModelLoaderFactory modelLoaderForData:] to generically implement methods that unarchive a model purely from data since we cannot use the file extension to determine which loader to instantiate.
2021-04-24 08:51:32 -04:00
Gregory John Casamento
0d3c3d1b2a
Add interface and abstract implementation of modelLoaderForData:
2021-04-24 06:06:45 -04:00
Gregory John Casamento
b5ecb4e490
Quick fix. Remove unecessary warning about storyboard in NSApplicationMain function
2021-04-23 07:04:47 -04:00
Gregory Casamento
72d9db4e4b
Merge pull request #74 from gnustep/NSGridView_NSStackView_branch
...
NSGridView branch
2021-03-29 10:12:05 -04:00
Fred Kiefer
0576f2736b
* Source/NSControl.m (-textDidChange:): If there is a binding with
...
continious update, pass on the changed text.
* Source/GSXibElement.m: Correct the handling of boolean values in attributes.
* Source/GSBindingHelpers.h,
* Source/NSKeyValueBinding.m: Prevent recursion when
reverseSetValue: is used.
* Source/NSTextField.m (-textDidChange:): Remove empty code line.
2021-03-27 21:20:28 +01:00
Gregory John Casamento
b1b6e9a2a1
Add padding back into calculation
2021-03-26 18:08:30 -04:00
Gregory John Casamento
a9598d9d10
Commit fixes for all issues Fred mentioned except for formatting.
2021-03-26 02:58:30 -04:00
Gregory John Casamento
bf381f8c31
Remove incorrect calculations in _refreshCells
2021-03-23 20:11:54 -04:00