Commit graph

126 commits

Author SHA1 Message Date
Gregory John Casamento
4e6ae8f7a0 First changes for storyboard refactoring 2025-04-30 05:36:58 -04:00
Gregory John Casamento
bfb33156cf Move code over from old branch, startint new branch since NSOutlineView was refactored 2024-06-19 01:46:27 -04:00
Frederik Carlier
2ebf167e6f
It looks like GNUstep backend is not yet installed (#263) 2024-04-25 17:22:57 +02:00
Gregory John Casamento
930eb54290 Merge branch 'master' of github.com:gnustep/libs-gui into NSTableCellView_branch 2024-04-24 13:55:35 -04:00
williameveretteggplant
140124ed35
Revert "Left shift key equivalent modifier mask in xib unarchiver (#259)" (#260)
This reverts commit d1562a37cd.
2024-04-23 20:09:39 +02:00
Gregory John Casamento
abde29dbe3 Remove GSXibInternal.h reference from GSXib5KeyedUnarchiver to correct compilation error 2024-04-22 09:00:53 -04:00
Gregory John Casamento
8895bd0335 Code cleanup 2024-04-22 09:00:53 -04:00
Gregory John Casamento
8e2df65156 Add GSInternal.h 2024-04-22 09:00:53 -04:00
Gregory John Casamento
110b650a95 Add new class to hold deferred XIB data 2024-04-22 09:00:53 -04:00
Gregory John Casamento
e4c7bb540c Add prototype cell view support, remove code that forces prototypeCellView to be NSView 2024-04-22 09:00:53 -04:00
williameveretteggplant
d1562a37cd
Left shift key equivalent modifier mask in xib unarchiver (#259)
* Left shift key equivalent modifier mask in xib unarchiver

This is necessary to offset the 8 bit right shift that occurs in the initWithCoder: method in NSButtonCell

* Shift modifier mask in xib unarchiver
2024-04-19 18:58:00 +02:00
williameveretteggplant
192c121a9d
Set editable property in NSCell default to false (#257)
Unarchiving a NSCell element from a xib will have the editable property set to false unless explicitly set to true.
2024-04-09 17:26:30 +02:00
Frederik Carlier
f46accfa9c
GSXib5KeyedUnarchiver: Add mapping for NSSegmentItemLabel, NSSegmentItemImage (#251) 2024-04-03 23:24:22 +02:00
Gregory John Casamento
ff90453263 Fix indentation issue and remove uneeded local var, per review from @fredkiefer 2023-12-27 12:17:48 -05:00
Gregory John Casamento
4e4755c533 Remove uneeded comments 2023-12-26 11:53:38 -05:00
Gregory John Casamento
cb4987ff47 Minor cleanup in NSView, add code to get NSShadowHoriz, NSShadowVert 2023-12-26 11:43:33 -05:00
Gregory John Casamento
702f7bb9af Untabify, add shadow keys for vert, color, horiz 2023-12-26 10:32:46 -05:00
Gregory John Casamento
3f30d139bc Quick fix, resolves issue #153: Remove incorrect decoding of constraint 2023-12-22 16:47:40 -05:00
Gregory Casamento
3f35da7860
Update code in GSXib5KeyedUnarchiver.m to read alternative toolTip format (#193)
* Update code in GSXib5KeyedUnarchiver.m to read alternative toolTip format

* Update to make the code a bit tighter, per suggestion by @fredkiefer
2023-08-31 23:46:34 +02:00
Gregory John Casamento
b891dea575 Update as discussed, get rid of extra commented out code and of uneeded imports 2023-02-07 21:41:13 -05:00
Gregory John Casamento
cd52649076 Fix encoding issue, formatting issues, per review 2023-01-30 10:48:03 -05:00
Gregory Casamento
b96dbcba2e Update GSXib5KeyedUnarchiver.m
Remove extra space.
2023-01-30 10:48:03 -05:00
Gregory John Casamento
2d70c42790 Fix issue with loading collectionview. Correct sprious calls to reloadData and tile method. Fix call back to delegate when item is clicked 2023-01-30 10:48:03 -05:00
Gregory John Casamento
94f616436f Add mapping to XmlKeyMapTable for NSBackroundColors 2023-01-30 10:48:03 -05:00
Gregory John Casamento
7fe30c6db2 Update flow layout. Fix decoding issue with Xib interpretation for NSCollectionViewLayout. 2023-01-30 10:48:02 -05:00
Gregory John Casamento
42a5f34095 Add code to correctly read information for NSCollectiViewLayout from xib file 2023-01-30 10:48:02 -05:00
Gregory John Casamento
a90ddfc9c5 Add changes for Xib reading and some minor cleanup for NSCollectionView 2023-01-30 10:48:02 -05: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
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
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
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
6e954298e2 Add call to allowsKeyedCoding to determine if encoding should be done for NSProxyObject 2021-05-15 21:37:59 -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
f9e2b42bc4 _refreshCells now reformats views properly. 2021-02-20 01:59:16 -05:00
Gregory John Casamento
ba9dfadbf5 Fix decoding in Xib unarchiver. Other changes 2021-01-18 17:16:30 -05:00
Gregory John Casamento
7a5b4db32a Place views in superview. 2021-01-16 10:55:01 -05:00
Gregory John Casamento
53f5352675 Start implementation of refresh/rectForCell 2021-01-15 08:54:40 -05:00
Gregory John Casamento
b1621c5510 Decode grid cells in xib file. 2021-01-14 06:55:11 -05:00
Gregory John Casamento
5ce0b46a4a Progress decoding rows/columns 2021-01-14 02:54:54 -05:00
Gregory John Casamento
af0c1c4e0e Correction of keys and decoding 2020-12-27 15:37:31 -05:00
Gregory John Casamento
9fba8e5af6 Remoce call to decodeIntegerForKey: and remove superfluous implementation. 2020-12-07 09:01:49 -05:00
Gregory John Casamento
269103e1e9 Add implementation of decodeIntegerForKey: to allow decoding of enums, add non keyed decoding to NSGridView. 2020-11-22 23:29:58 -05:00
Gregory John Casamento
a10b869710 Fix issue fred found and add code to decode Xplacement, Yplacement and rowAlignment. 2020-11-19 14:07:51 -05:00
Gregory John Casamento
9bd3a460a5 Fix issue fred found and add code to decode Xplacement, Yplacement and rowAlignment. 2020-11-19 14:06:05 -05:00