Commit graph

2030 commits

Author SHA1 Message Date
Gregory John Casamento
751d94aa2c Temporary fix for issue caused by libs-base change 2022-04-30 02:27:38 -04:00
Riccardo Mottola
e0012349f6 Refactor resize bar notch width to be a constant and private inside GSTheme, making it accessible through -[GSTheme resizebarNotchWidth]. 2022-03-31 23:43:52 +02:00
Gregory Casamento
fa1369cb64
Merge pull request #147 from gnustep/custom_class_xib3_changes 2022-03-31 00:21:28 -04:00
Gregory John Casamento
5f3b54e330 GSXibKeyedUnarchiver: Change format of customClasses dictionary 2022-03-29 19:49:35 -04:00
Gregory John Casamento
39bd359505 Move createCustomClassRecordForId:... to parent class 2022-03-28 18:47:41 -04:00
Gregory John Casamento
790b686f0d Move _customClasses to GSXibKeyedUnarchiver and implement logic to build the _customClasses array for use in Gorm when loading the xib file. 2022-03-26 11:19:59 -04:00
David Vernon
f874ae3b9f Another windows fix, per Greg C recommendation. 2022-03-24 14:21:11 -06:00
Gregory John Casamento
67860bf8c1 Add declarations for setPlaceholderString:/setPlaceholderAttributedString and getters to header and implementation to NSTextField.m 2022-01-12 04:45:56 -05:00
hmelder
2a3854b977 NSBezierPath: Fixup comma 2022-01-06 10:11:49 +01:00
hmelder
b2e93b711f NSBezierPath: Add new constants 2022-01-06 10:08:15 +01:00
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
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 Casamento
eefe159f31 make minor corrections per @fredkeifer 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
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
58359b8de3
update signatures to match Apple (#120) 2021-10-26 16:17:45 +02: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
73c03767df Add tabview enum to header, fix signture issue. 2021-10-13 08:26:37 -04:00
Gregory John Casamento
9c3f0fbbf3 Add new test for NSNibLoading. Add method loadNibNamed:owner:topLevelObjects: 2021-10-11 09:42:46 -04:00
Gregory John Casamento
2214368e53 Quick fix to make sure that @optional is available 2021-10-03 19:50:19 -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
79fdee761e Add '@optional' to the declaration for the NSComboBoxDataSource and NSComboBoxDelegate protocols. 2021-09-29 07:03:47 -04:00
Gregory John Casamento
54438795d2 Fix duplicate declaration 2021-09-26 08:02:46 -04:00
Gregory Casamento
7d903e0246
Changes suggested by @fredkeifer
Clean up declaration of protocols, but use informal protocols after the 10.6 API.
2021-09-26 07:56:30 -04:00
Gregory John Casamento
04dfeb9501 Add protocols to NSComboBox. Leave informal protocols in place. 2021-09-26 05:37:57 -04:00
Gregory John Casamento
c6fc8e0984 Add simple implementation to NSAccessibilityCustomAction.m 2021-09-13 18:19:31 -04:00
Gregory John Casamento
227b0f33fa Revert second part of accidental commit. 2021-06-24 20:34:38 -04:00
Riccardo Mottola
31bedc6fbf revert unintentional commit breaking ButtonCell 2021-06-25 03:09:22 +02:00
Gregory Casamento
bf46505e08 Add icon for speech recognizer. 2021-06-24 19:00:51 -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
00672662de Implement initWithCoder for NSStackView 2021-05-17 05:29:22 -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 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
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
0d3c3d1b2a Add interface and abstract implementation of modelLoaderForData: 2021-04-24 06:06:45 -04:00
Gregory John Casamento
b20ee2969f Use enumerated type for _xPlacement and _yPlacement 2021-03-26 19:34:16 -04:00
Gregory John Casamento
bf302d3a12 Add customPlacementConstraints 2021-03-20 07:45:44 -04:00
Gregory John Casamento
c561e4f2d5 Merge branch 'master' of github.com:gnustep/libs-gui into NSGridView_NSStackView_branch 2021-03-18 18:37:26 -04:00
Graham Lee
f3dd2fa451 Add stub for -[NSWorkspace frontmostApplication] 2021-03-17 21:18:24 +00:00
Gregory John Casamento
68dad85a1e Address fred's comment about getting the cell more efficiently 2021-03-14 14:32:04 -04:00
Gregory John Casamento
2c488f07c8 Remove uneeded header 2021-03-04 05:49:45 -05:00
Gregory John Casamento
a8cf81626b Remove NSStackView from branch 2021-02-25 06:51:05 -05:00
Gregory John Casamento
bd819ac12c Add supporting ivars into NSStackView for visiblePriority, clipping, gravity, customSpacing, and views 2021-02-25 05:01:33 -05:00
Gregory John Casamento
7de5efd022 implement deleteRow/ColumnAtIndex: moveRow/ColumnAtIndex: methods. 2021-02-20 07:13:35 -05:00
Gregory John Casamento
b5c6e92dda Fix encoding/decoding, start rewriting refresh to align cells. 2021-02-18 19:25:07 -05:00
Gregory John Casamento
f5d86cd623 Follow Fred's suggested data structure where we manage everything from NSGridView and call back to it from the column and row objects. 2021-02-15 02:33:59 -05:00
Gregory John Casamento
f575d8313c Add spaces and add .0 for floats to make things clearer 2021-01-20 12:41:21 -05:00
Gregory John Casamento
ba9dfadbf5 Fix decoding in Xib unarchiver. Other changes 2021-01-18 17:16:30 -05:00
Gregory John Casamento
6ee3740797 implement properties 2021-01-17 12:50:25 -05:00
Gregory John Casamento
4b6c1ea985 Add methods to header for NSStackView 2021-01-17 11:59:23 -05:00
Gregory John Casamento
6f8fa92b7a Add Typedefs to NSStackView 2021-01-17 05:31:40 -05:00
Gregory John Casamento
7a5b4db32a Place views in superview. 2021-01-16 10:55:01 -05:00
Gregory John Casamento
44d956d508 Merge branch 'master' of github.com:gnustep/libs-gui into NSGridView_NSStackView_branch 2021-01-16 05:10:18 -05:00
Gregory John Casamento
b1621c5510 Decode grid cells in xib file. 2021-01-14 06:55:11 -05:00
fredkiefer
5294a34911 Add macros for encoding/decoding. 2021-01-10 22:40:29 +01:00
Gregory John Casamento
5be2cc4154 Merge branch 'master' of github.com:gnustep/libs-gui into NSGridView_NSStackView_branch 2020-12-14 10:15:02 -05:00
Riccardo Mottola
4004f549d7 height is CGFloat 2020-12-12 02:20:01 +01:00
Gregory John Casamento
6184b12128 Fix decoding 2020-11-15 01:34:04 -05:00
Gregory John Casamento
c486e7c14d Add initWithCoder: implementation 2020-11-15 00:04:02 -05:00
Gregory John Casamento
0e246f3c36 Add initWithCoder: implementation 2020-11-14 23:59:22 -05:00
Gregory John Casamento
848586fb6b Add encoding for NSGridView 2020-11-14 15:52:35 -05:00
Gregory John Casamento
4629cde7b7 Fix copying of headers 2020-11-13 22:57:05 -05:00
Gregory John Casamento
a016137aba Merge branch 'master' into NSGridView_NSStackView_branch 2020-11-03 17:07:28 -05:00
Gregory John Casamento
410388b938 Quickfix. Add #ifdef around @required to prevent compilation error 2020-10-06 08:49:42 -04:00
Gregory John Casamento
e0df225d90 Add ivars 2020-08-23 04:12:38 -04:00
Gregory John Casamento
dbd46a5839 More implementation of NSGridView 2020-08-23 00:57:29 -04:00
Gregory John Casamento
31432274a6 Merge branch 'master' into NSGridView_NSStackView_branch 2020-08-21 15:32:17 -04:00
Gregory John Casamento
1711b1d0da Delegate all functionality for NSTextFinder to GSTextFinder 2020-08-19 02:13:44 -04:00
Gregory John Casamento
0740fc5f14 implement suggestion to call validation methods in perform methods. 2020-08-14 11:13:45 -04:00
Gregory John Casamento
d72e9e6ced Remove uneeded instance var. 2020-08-09 10:21:52 -04:00
Gregory John Casamento
72eb294eb6 Fix method name. 2020-08-09 08:02:41 -04:00
Gregory John Casamento
46334bf4ca Add guards 2020-08-09 08:00:42 -04:00
Gregory John Casamento
7b91f16675 Add NSGridView methods declarations 2020-08-08 19:55:06 -04:00
Gregory John Casamento
d0f4552511 Remove NSGridCell 2020-08-08 17:16:55 -04:00
Gregory John Casamento
f0b4d1ddb8 Add NSGridView/NSGridCell.[hm] and NSStackView.[hm] 2020-08-08 17:13:33 -04:00
Gregory John Casamento
b9ac34ad0a Remove comment 2020-08-07 19:23:09 -04:00
Gregory John Casamento
30f1483ded Implement methods on NSTextInputContext 2020-08-06 10:01:37 -04:00
Gregory John Casamento
61f4621c5d Minor changes 2020-08-06 07:46:27 -04:00
Gregory John Casamento
68762dde65 Conditionally compile @required/@option in protocols 2020-08-05 20:08:30 -04:00
Gregory John Casamento
ae317224c9 Remove uneeded variable. 2020-08-04 15:53:55 -04:00
Gregory John Casamento
b6983955f6 Eliminate warnings 2020-08-04 14:45:04 -04:00
Gregory John Casamento
fc617321fe Add switch/case to handle app ops 2020-08-04 07:04:21 -04:00
Gregory John Casamento
c3701e2daf Change GSTextFinder parent class back to NSObject, start implementing NSTextFinder in terms of GSTextFinder. 2020-08-04 06:52:54 -04:00
Gregory John Casamento
8c36246dca Add encoding. 2020-08-04 06:32:19 -04:00
Gregory John Casamento
405b9bae2f Implement NSTextFinder protocol on NSTextView. 2020-08-03 07:11:38 -04:00
Gregory John Casamento
281da47d7f Add externs 2020-08-02 11:39:51 -04:00
Gregory John Casamento
ff0cc7e4a3 Add skeleton for NSTextFinder. 2020-08-02 10:11:32 -04:00
Gregory John Casamento
93057d8123 Add ivars to NSTextCheckingController 2020-08-02 09:36:07 -04:00
Gregory John Casamento
786b641efd Initial skeleton for NSTextCheckingController class 2020-08-02 09:31:20 -04:00
Gregory John Casamento
836e2e8b1e Implement NSTextInputClient protocol 2020-08-02 08:54:16 -04:00
Gregory John Casamento
191fb4c3fe Implement NSTextCheckingClient protocol 2020-08-02 08:38:24 -04:00
Gregory John Casamento
edf2eb9b57 Add new files. 2020-08-02 06:22:16 -04:00