Gregory Casamento
92d92971af
Merge branch 'master' into keysight_stable
2023-09-01 15:49:32 +00:00
Gregory Casamento
e1f3eafb9d
Add removeAllItems method
2023-08-29 16:56:59 +00:00
Frederik Carlier
7de348582a
Avoid accessing instance variables in inline functions when compiling with msvc ( #177 )
...
* Rename `DPSshfill` to `DPSshfill_`
This method takes one argument, so by convention, the name of the variable in the method table should end with a single underscore
* DPSOperators.h: Use macros to define inline functions
* Don't access instance variables when compiling with Visual Studio
2023-08-24 21:17:33 +02:00
Frederik Carlier
eb480b7748
NSGraphicsContext
: Add methods
method (#179 )
...
gnustep-back uses the `NSGraphicsContext->methods` _variable_, but using an instance variable across module boundaries is not supported when building with Visual Studio.
This commits adds a `[NSGraphicsContext methods]` _method_, which can be accessed across module boundaries (and hence when building with Visual Studio).
2023-08-01 22:39:46 +02:00
Riccardo Mottola
0b9924e094
reduce scope of _imageRep from ivar to local to init
2023-07-27 14:35:25 +02:00
Gregory Casamento
f2b79365f4
NSDockTile - Implement methods to update the icon and show badge ( #185 )
...
NSDockTile - Implement methods to update the icon and show badge using a NSCustomImageRep. Link the NSDockTile view with the AppIcon window contentView.
GSTheme - add badgeColor color and corresponding methods to theme background, decoration and text color
2023-07-27 09:17:18 +02:00
Benjamin Johnson
47a945603b
Fix typo and spacing
2023-05-29 22:14:11 +00:00
Benjamin Johnson
2e98bd5366
Implement layout constraint conversion to internal solver constraints
2023-05-28 18:33:44 +10:00
Benjamin Johnson
2be7334ce2
Implement part of GSAutoLayoutEngine dependency management logic ( #178 )
...
* Implement part of GSAutoLayoutEngine dependency management logic
* Fix formatting of GSAutoLayoutEngine, GSCSFloatComparator and GSCSSolution
* Address PR feedback
* Address PR feedback
* Replace assignment with ASSIGN macro and fix makefile
* Add back dealloc in GSAutoLayoutEngine.m and GSCSSolution.m
2023-04-19 09:06:53 +02:00
Gregory John Casamento
a913346b83
Add nib loading documentation
2023-04-09 21:09:52 -04:00
Gregory Casamento
e64d8d4b02
Merge pull request #170 from gnustep/NSDictionaryController2_branch
2023-03-24 18:33:52 -04:00
Gregory Casamento
81f21e2094
Merge pull request #172 from BennyKJohnson/bootstrap-layout-engine
2023-03-17 14:11:20 -04:00
Gregory Casamento
e79bdc5fda
Fix issue with header
2023-03-14 12:39:40 -04:00
Sebastian Reitenbach
f10c0eeb1b
This broke building SimpleAgenda for me:
...
In file included from SoundBackend.m:1:
/usr/local/include/AppKit/NSSound.h:57:1: error: unknown type name 'APPKIT_EXPORT_CLASS'
APPKIT_EXPORT_CLASS
2023-03-02 13:19:39 +01:00
Benjamin Johnson
708f7c337e
Address feedback on bootstrap layout engine PR
2023-03-01 18:57:08 +11:00
Gregory John Casamento
dcf5fbe74b
Update using rearrangeObjects, clean up white space for review
2023-02-28 03:42:43 -05:00
Gregory John Casamento
08fc055321
Override addObject(s):, removeObject(s): update _contentDictionary
2023-02-28 03:17:07 -05:00
Gregory John Casamento
99e25244af
Remove uneeded bind: code
2023-02-28 00:40:40 -05:00
Benjamin Johnson
2a1c0f88b3
Move layoutEngine ownership to NSWindow
2023-02-27 19:56:37 +11:00
Benjamin Johnson
93769f3a52
Implement bootstrapping auto layout
2023-02-27 17:46:39 +11:00
Gregory John Casamento
8de600877b
simplify existing implementation of dictionary controller
2023-02-23 16:17:44 -05:00
Gregory John Casamento
03f1ddecd5
latest changes
2023-02-23 16:17:44 -05:00
Gregory John Casamento
5958734de0
Implement NSDictionaryControllerKeyValuePair. Add implementation for the rest of the methods.
2023-02-23 16:17:44 -05:00
Gregory John Casamento
8760ff9b7b
Add externs for key bindings.
2023-02-23 16:17:44 -05:00
Gregory John Casamento
3d850f7eae
Add method definitions.
2023-02-23 16:17:44 -05:00
Gregory John Casamento
67966d6cdd
Initial template for NSDictionaryController
2023-02-23 16:17:44 -05:00
Benjamin Johnson
75fcf49b62
Refactor layout core methods implementation to use ivars
2023-02-20 18:09:23 +11:00
Benjamin Johnson
571ad7a613
Implement supporting core layout methods on NSView
2023-02-19 15:21:13 +11:00
Fred Kiefer
72b05b514a
Merge pull request #169 from BennyKJohnson/nsautoresizingMaskLayoutConstraint
...
Implement NSAutoresizingMaskLayoutConstraint class
2023-02-17 19:58:34 +01:00
Gregory John Casamento
a453d12e7c
Suggestions by @fredkiefer, correct spacing and fix comment
2023-02-04 09:42:18 -05:00
Gregory John Casamento
ec6a845cb1
Suggestions by @fredkiefer, correct spacing and fix comment
2023-02-04 09:39:48 -05:00
Gregory John Casamento
99103a83dc
Fix more suggestions by @fredkiefer. Add AUTORELEASE for nib, generate indexes for visible items
2023-02-04 09:31:13 -05:00
Benjamin Johnson
4fec29a66b
Implement NSAutoresizingMaskLayoutConstraint class
2023-02-04 19:24:03 +11:00
Gregory John Casamento
7566d97a94
Rearrange ivars for comment by @fredkiefer re memory alignment
2023-01-30 10:48:03 -05:00
Gregory John Casamento
20a59e45b5
Add code to call viewWillLoad/viewDidLoad into loadView
2023-01-30 10:48:03 -05:00
Gregory John Casamento
af643cc821
Fix externs for collection view, correct NSFontIdentityMatrix type
2023-01-30 10:48:03 -05:00
Gregory John Casamento
c8c3e9720c
Add static directive
2023-01-30 10:48:03 -05:00
Gregory John Casamento
80c0c7f92c
Add const directive
2023-01-30 10:48:03 -05:00
Gregory John Casamento
5612120c06
Remove extra #import directives
2023-01-30 10:48:03 -05:00
Gregory John Casamento
3e8b8386b1
Add correct API version defines for NSCollectionViewItem
2023-01-30 10:48:03 -05:00
Gregory John Casamento
fe2a988111
Fix duplicate _size and use the _frame in the attributes class
2023-01-30 10:48:03 -05:00
Gregory John Casamento
c95bbcf714
Changes to fix item selection when an NSImageView is present
2023-01-30 10:48:03 -05:00
Gregory John Casamento
fa820398d9
Update NSCollectionView*.h headers to export symbols properly on Windows
2023-01-30 10:48:03 -05:00
Gregory John Casamento
9b56fe8df0
Add NSCollectionViewElement protocol
2023-01-30 10:48:03 -05:00
Gregory John Casamento
d17634cbe6
Add layout class to header
2023-01-30 10:48:03 -05:00
Gregory John Casamento
a6f83ab00b
Add code to clean up views when resizing. Prevent recursion. Call reload when 'tile' method is called
2023-01-30 10:48:03 -05:00
Gregory John Casamento
f1552faaee
Remove uneeded ivars, release maps
2023-01-30 10:48:03 -05:00
Gregory John Casamento
2bec53bf0f
Switch to using maptables to track some metadata bout items so that we can match items up when we need to find them by indexPath or point. Remove uneeded ivar from layout. Add call to delegate when selecting item
2023-01-30 10:48:03 -05:00
Gregory John Casamento
bf3ddc8cad
Add call to delegate when selecting item
2023-01-30 10:48:03 -05:00
Gregory John Casamento
110facc6f6
Update ivar organization
2023-01-30 10:48:03 -05:00