Gregory John Casamento
eeb8718452
Add indexpath methods
2023-01-30 10:48:02 -05:00
Gregory John Casamento
5108348ca6
Add code to return the item properly from layoutAttributesForElementsInRect:, add missing NSCopying declaration to NSCollectionViewItem.h, minor cleanup in NSCollectionViewCompositionalLayout
2023-01-30 10:48:02 -05:00
Gregory John Casamento
3f402d292b
Return attributes for items that intersect
2023-01-30 10:48:02 -05:00
Gregory John Casamento
2246da3d0e
Implement re-flow when view is resized
2023-01-30 10:48:02 -05:00
Gregory John Casamento
b28eaac9eb
Minor updates and formatting change
2023-01-30 10:48:02 -05:00
Gregory John Casamento
00ac1adf7f
Implement collapse section
2023-01-30 10:48:02 -05:00
Gregory John Casamento
35e0e62144
Add implementation of setters and getters in NSCollectionViewGridLayout
2023-01-30 10:48:02 -05:00
Gregory John Casamento
9c0f4ed731
Update visibleItems when arranging items
2023-01-30 10:48:02 -05:00
Gregory John Casamento
8948aecae5
Update implementation to calculate position of items for the flow layout. implementation of copyWithZone. Implementation of initWithCoder for flow layout
2023-01-30 10:48:02 -05:00
Gregory John Casamento
f8e99166e2
Add documentation to methods in NSCollectionView and remove initWithCoder call from NSCollectionViewLayout
2023-01-30 10:48:02 -05:00
Gregory John Casamento
68f1444de3
Add all overriden methods in flow layout. In NSCollectionView set collectionView in layout. Minor code cleanup.
2023-01-30 10:48:02 -05:00
Gregory John Casamento
8572458a5d
Add methods and actions for layout classes as well as the abstract classes for NSCollectionViewLayout.
...
Declarations added to collectionview layout header.
Clean compile for NSCollectionViewLayout abstract class
Add header for NSCollectionViewFlowLayout.h
Add skeleton implementation of NSCollectionViewFlowLayout
Add implementation for simple setter/getter methods.
Correct compilation error with non-clang compilers
Fix compilation issues
Add getter/setter for collectionViewLayout
Skeleton of NSCollectionViewTransitionLayout implementation
Add encoding/decoding for collectionViewLayout key
Make NSCollectionViewGridLayout default if the NSCollectionViewLayoutKey is not set
Add protocols for DataSource and Prefetching for NSCollectionView
Add 10.11 methods to delegate declaration
remove templating from NSCollectionViewDelegate that gcc can't handle.
New delegate methods for NSCollectionViewDelegate to support NSSets of NSIndexPaths and multiple selection.
Reset .travis.yml to the proper version and modify NSCollectionView.h to use forward declarations for both NSPasteboard and NSPasteboardWriting so that we don't explicitly import.
Add declarations for missing methods from 10.11 version of NSCollectionView
Add new methods for 10.11 for moving, deleting and collapsing sections.
Add new methods from 10.11
Add the remaining missing methods as well as delcarations for blocks needed for batch handler and completion handler.
Add skeleton implementations for all new methods
Changes to add new methods to collection view for delegate
Consolidate the registeredClass and registeredNib maps.
Implementation of dataSource related methods
Implment nib loading for NSCollectionViewItem subclasses
Remove uneeded ivars, add categories for override and layout
Minor formatting change
Update categories and organization of code
Add init method to NSCollectionViewFlowLayoutInvalidationContext
Add collectionview layout subclasses
Declarations added to collectionview layout header.
Clean compile for NSCollectionViewLayout abstract class
Add skeleton implementation of NSCollectionViewFlowLayout
Add implementation for simple setter/getter methods.
Correct compilation error with non-clang compilers
Fix compilation issues
Add getter/setter for collectionViewLayout
Add encoding/decoding for collectionViewLayout key
Make NSCollectionViewGridLayout default if the NSCollectionViewLayoutKey is not set
Add protocols for DataSource and Prefetching for NSCollectionView
New delegate methods for NSCollectionViewDelegate to support NSSets of NSIndexPaths and multiple selection.
Reset .travis.yml to the proper version and modify NSCollectionView.h to use forward declarations for both NSPasteboard and NSPasteboardWriting so that we don't explicitly import.
Add declarations for missing methods from 10.11 version of NSCollectionView
Add new methods for 10.11 for moving, deleting and collapsing sections.
Add new methods from 10.11
Changes to add new methods to collection view for delegate
Consolidate the registeredClass and registeredNib maps.
Add init method to NSCollectionViewFlowLayoutInvalidationContext
Fix issues with rebase
2023-01-30 10:48:02 -05:00
Gregory John Casamento
aee03ee7c4
Add collectionview layout subclasses
2023-01-30 10:48:02 -05:00
Fred Kiefer
8ccc89b83d
Merge pull request #161 from BennyKJohnson/constraint-vfl-support
...
Implement constraintsWithVisualFormat method on NSLayoutConstraint
2022-11-24 22:52:34 +01:00
Fred Kiefer
e4ecfb0801
* Headers/Additions/GNUstepGUI/GSLayoutManager.h,
...
* Source/GSLayoutManager.m: Add new methods
-defaultLineHeightForFont: and -defaultBaselineOffsetForFont:.
2022-11-05 21:01:53 +01:00
Benjamin Johnson
1aff56cb9b
Implement constraintsWithVisualFormat method on NSLayoutConstraint
2022-11-05 20:33:23 +11:00
Gregory John Casamento
30d0dc66ee
Quick fix adding export to GSMemoryPanel class
2022-11-03 20:56:48 -04:00
Riccardo Mottola
c1b914fe29
add AppKitDefines or header usage will fail later
2022-10-13 23:44:19 +02:00
Gregory John Casamento
0558e6a756
Fix compilation error, include AppKitDefines.h
2022-10-10 09:18:34 -04:00
Gregory John Casamento
e1fabcaa0a
Fix build error
2022-09-29 13:34:16 -04:00
Gregory John Casamento
92d27c494f
Add defines for export of classes to DLL when building on WIndows
2022-09-29 12:09:13 -04:00
Gregory John Casamento
1809fc4dc0
Add missing attributes
2022-08-09 01:35:51 -04:00
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