Commit graph

6479 commits

Author SHA1 Message Date
Gregory John Casamento
fd14a3c591 Simplify. Remove unneeded call to method to retrieve controllerId in processSegues... method 2020-07-19 01:52:19 -04:00
Gregory John Casamento
707a6b4c7e Simplify. Remove method processCustomElement:... 2020-07-19 01:24:28 -04:00
Gregory John Casamento
dc48f01b57 Cleanup header for GSStoryboardTransform 2020-07-19 00:36:13 -04:00
Gregory John Casamento
6611c50211 Make methods private. 2020-07-19 00:25:13 -04:00
Gregory John Casamento
bf7df4a693 Correct issue with placeholder returning nil 2020-07-18 23:58:50 -04:00
Gregory John Casamento
8daa604408 Eliminate connObj. 2020-07-18 23:23:45 -04:00
Gregory John Casamento
39b82a024f Eliminate need for typecast. 2020-07-18 23:21:19 -04:00
Gregory John Casamento
0535f3bb4c Made changes to processChild suggested by fred 2020-07-16 05:21:21 -04:00
Gregory John Casamento
630f71aa5b Eliminate duplicate methods 2020-07-15 21:05:49 -04:00
Gregory John Casamento
4042a2550b Simplify the code in doAction: when resolving the controller from it's id 2020-07-15 19:02:45 -04:00
Gregory John Casamento
9f04ad1b87 Add method suggested by fred. 2020-07-15 17:43:34 -04:00
Gregory John Casamento
b1d39649cb Call 'perform' if the sender doesn't respond to performSegueWithIdentifier:' 2020-07-15 17:09:59 -04:00
Gregory John Casamento
9eb278c560 Check if the _sender responds to performSegueWithIdentifier:sender: 2020-07-15 09:27:45 -04:00
Gregory John Casamento
3b4b1b42d5 Remove uneeded methods, document reason why there is no else condition in doAction: 2020-07-15 08:08:27 -04:00
Gregory John Casamento
dc9847fdea Check to see if the object in doAction: is a controller, if and only if it's not, then don't call the should method 2020-07-15 07:52:19 -04:00
Gregory John Casamento
f1a3e5dea6 Centralize logic for resolution of destination controller 2020-07-15 04:55:34 -04:00
Gregory John Casamento
c981f533df Minor formatting changes 2020-07-14 06:13:23 -04:00
Gregory John Casamento
33901987e7 Remove all while loops and replace with FOR_IN 2020-07-14 05:38:31 -04:00
Gregory John Casamento
c10330384b Remove use of uuid in 'isProcessedDocument' 2020-07-14 05:30:44 -04:00
Gregory John Casamento
429ba968ac Add code to detect subclasses of controllers instead of assuming it will always be windowController and viewController 2020-07-14 05:12:50 -04:00
Gregory John Casamento
a59f92357a Finish implementing storage of storyboard segue on action. 2020-07-14 04:31:08 -04:00
Gregory John Casamento
8e030e0fe5 Process segues as part of document processing per discussion with Fred. 2020-07-14 01:48:18 -04:00
Gregory John Casamento
ae0ddc2716 Remove uneeded documentMap 2020-07-12 17:48:45 -04:00
Gregory John Casamento
4430a6276d Refactor code into separate, manageable, methods. Use FOR_IN fast enumeration instead of while. 2020-07-10 13:21:31 -04:00
Gregory John Casamento
b16b628b50 Refactor code which parses the controllerid 2020-07-10 13:09:22 -04:00
Gregory John Casamento
9dc7e63176 Pull out node/child processing. 2020-07-10 13:00:27 -04:00
Gregory John Casamento
e46baae8da Refactor processSegue method 2020-07-10 12:45:21 -04:00
Gregory John Casamento
89f97f1f96 Refactoring transform 2020-07-10 12:29:10 -04:00
Gregory John Casamento
9a23a0acd2 Refactoring transform 2020-07-10 12:26:06 -04:00
Gregory John Casamento
ecd01a8e62 Merge branch 'master' into NSStoryboard_branch2 2020-07-09 14:58:38 -04:00
Gregory John Casamento
4835b0889c Add implementations to dimension 2020-07-09 00:57:36 -04:00
Gregory John Casamento
6fbf8530de Add implementations of methods to generate constraints 2020-07-08 21:36:09 -04:00
Gregory John Casamento
b352d55e55 Add implementations of methods to generate constraints 2020-07-08 21:34:59 -04:00
Gregory John Casamento
d2f79dbec0 Merge branch 'master' into NSLayoutConstraint_branch 2020-07-08 18:45:04 -04:00
Gregory John Casamento
1465b10cde Fix special case segue from application scene. 2020-07-08 17:18:58 -04:00
Gregory John Casamento
349cace509 Fix dates 2020-07-06 09:50:55 -04:00
Gregory John Casamento
83ffec904a Fix compilation error 2020-07-06 08:44:57 -04:00
Gregory John Casamento
626c48977a Fix compilation error 2020-07-06 08:30:35 -04:00
Gregory John Casamento
59220e6beb Refactor transform to a different class 2020-07-06 08:15:34 -04:00
Gregory John Casamento
a0afee8fb1 Update comment 2020-07-06 05:35:46 -04:00
Gregory John Casamento
73b03350b6 Remove comments and make improvements to code suggested by fred 2020-07-06 04:40:36 -04:00
Gregory John Casamento
596ee3a0b6 Call generic methods properly from less generic ones. 2020-07-05 23:22:22 -04:00
Gregory John Casamento
b8b88a7579 Add setTitle call to modal. 2020-07-05 23:09:07 -04:00
Gregory John Casamento
1ed5ff16e4 Correct some formatting. 2020-07-05 23:06:53 -04:00
Gregory John Casamento
ca72a59467 Fix some minor issues 2020-07-05 22:58:04 -04:00
Gregory John Casamento
2cd0585079 Make some changes to XPaths to make things a little more efficient. 2020-07-05 22:56:25 -04:00
Gregory John Casamento
647dd1095b Add fast enum for the second loop 2020-07-05 22:31:59 -04:00
Gregory John Casamento
2ed95a86b9 Use fast enumeration 2020-07-05 21:12:02 -04:00
Gregory John Casamento
93fe3a260c Corrections suggested by Fred 2020-07-05 20:42:35 -04:00
Gregory John Casamento
6ddb3b0233 Fix small memory issue 2020-07-05 14:02:20 -04:00
Gregory John Casamento
4fca61ede1 Center window 2020-07-05 13:59:48 -04:00
Gregory John Casamento
ae1be325cb Remove GSStoryboard... class 2020-07-05 13:33:04 -04:00
Gregory John Casamento
6bf724ab47 External storyboards are now working 2020-07-05 12:39:34 -04:00
Gregory John Casamento
fa9f75073e Improve logic when finding and showing controller 2020-07-05 12:07:28 -04:00
Gregory John Casamento
cdc934484b Add placeholder logic 2020-07-05 11:14:13 -04:00
Gregory John Casamento
fb2c219a8c Add beginnings of placeholder logic 2020-07-04 17:30:43 -04:00
Gregory John Casamento
1e565994cd Center modal window 2020-07-04 15:14:48 -04:00
Gregory John Casamento
41460c80c5 Fix issues with controller instantiation 2020-07-04 14:55:08 -04:00
Gregory John Casamento
7d92caca6f Segue partially working. Commit existing changes 2020-07-04 13:01:26 -04:00
Gregory John Casamento
486ab5bd5b Merge changes made by Fred to fix NSTabView. 2020-07-03 15:42:38 -04:00
fredkiefer
c66019024f * Source/GSXib5KeyedUnarchiver.m (alternateName:): Be more careful
when chopping of part of the name.
2020-07-03 19:37:45 +02:00
fredkiefer
56047d27e6 Add missing MacOSX methods. 2020-07-03 16:50:20 +02:00
Gregory John Casamento
d4cc1745d4 Relationship segue implemented. 2020-07-02 16:39:40 -04:00
Gregory John Casamento
11b5b4d2d6 Add proxy objects to perform segue 2020-07-02 13:24:48 -04:00
Gregory John Casamento
df3eaafdf3 Fix issue mentioned by fred. 2020-06-28 08:05:07 -04:00
Gregory John Casamento
a1776f21da Merge branch 'master' into NSStoryboard_branch2 2020-06-24 12:37:07 -04:00
Gregory John Casamento
562e1868b3 Add setIsVisible method. It is 10.0 and was missing for some reason. 2020-06-24 11:13:38 -04:00
Gregory John Casamento
a1e470341c Hot fixes: Failure to close extern 'c' section in NSPathControlItem.h corrected. Replace 'or' with 'orientation' as some compilers will reject this as a reserved word. 2020-06-24 10:28:49 -04:00
Gregory John Casamento
a405498686 Fixes for XIB file loading and Storyboards. 2020-06-24 10:14:34 -04:00
Gregory John Casamento
c6aa964149 Eliminate NSApplication from being added to topLevelObjects 2020-06-23 15:22:00 -04:00
Gregory John Casamento
d0c1d7f403 This should fix old xibs and correct new ones as well 2020-06-23 15:15:09 -04:00
Gregory John Casamento
b03bcf7e4a Fix for xib loading (NSOwner wasn't being set properly) as well as some advances for storyboard loading. 2020-06-23 09:10:08 -04:00
Gregory John Casamento
34cd60e043 Remove storyboard specific modifications 2020-06-22 07:50:17 -04:00
Gregory John Casamento
155662d442 Remove detritus. Correct spelling of NSSeguePerforming. 2020-06-22 07:09:39 -04:00
Gregory John Casamento
7a907bea5e Fix issue with crashing when NSStoryboard loads. Change customObjects to proper values for XIB files during transformation. 2020-06-22 07:01:49 -04:00
Gregory John Casamento
4f88808a10 Initial signs of life with Storyboard loading. Able to get menu to load and initial application node. 2020-06-22 02:56:15 -04:00
Gregory John Casamento
ea1667dbe2 Initialize storyboard with document, break it down into scenes. Each scene is, basically, a xib. 2020-06-20 06:58:11 -04:00
Gregory John Casamento
5456b9b5a6 Set main storyboard 2020-06-19 08:53:09 -04:00
Gregory John Casamento
70a3baa428 Load data into NSData for processing in NSStoryboard 2020-06-19 07:45:10 -04:00
Gregory John Casamento
04d131fb44 Remove loader 2020-06-19 07:04:37 -04:00
Gregory John Casamento
d19d780a90 Add skeleton implementation of storyboard. 2020-06-19 05:15:37 -04:00
Gregory John Casamento
9e80fbebbe Add all empty classes make them compile. 2020-06-18 05:42:11 -04:00
Gregory John Casamento
178a2cabf5 Remove uneeded classes 2020-06-16 03:45:33 -04:00
Gregory John Casamento
f48dcc0869 Merge changes 2020-06-15 10:00:46 -04:00
Gregory John Casamento
ac207e296d Change name of the handler 2020-06-15 06:07:59 -04:00
Gregory John Casamento
d8ca67cb8c Merge branch 'master' into NSLayoutConstraint_branch 2020-06-15 05:56:41 -04:00
Gregory John Casamento
e91e5d820b Flesh out skeleton of NSAccessibility* classes. 2020-06-15 05:24:53 -04:00
Gregory John Casamento
9b7a64a3c4 Initial commit for NSAccessibilityCustom*.[hm] classes. 2020-06-15 04:12:35 -04:00
Gregory John Casamento
9bc2b0b5d2 Complete NSCoding implementation 2020-06-14 19:13:17 -04:00
Gregory John Casamento
799ac3b89c Remove logging 2020-06-14 12:39:19 -04:00
Gregory John Casamento
59b7d8cfca Use enum value NSLayoutPriorityRequired instead of literal 2020-06-14 10:55:05 -04:00
Gregory John Casamento
58b82dc39a decode NSRelation to it's numerical equivalent. 2020-06-14 10:34:10 -04:00
Gregory John Casamento
f7b731a75e Decode NSFirst/SecondAttribute properly. Implemented method which decodes the text in the XIB to the correct enumerated value 2020-06-14 09:18:52 -04:00
Gregory John Casamento
1f20485073 Add changes suggested by Fred. Do not expose init method, add defaults for NSConstant and NSMultiplier 2020-06-14 06:57:26 -04:00
Gregory John Casamento
5c920907d7 Remove 'removeObserver' call 2020-06-14 06:22:57 -04:00
Gregory John Casamento
32716a1216 Only apply to the window changing size. Other notifications will be added as needed. 2020-06-14 06:02:19 -04:00
Gregory John Casamento
215842efcc Streamlined isEqual: per discussion with Fred 2020-06-14 05:00:50 -04:00
Gregory John Casamento
d3dc69d805 Removed NSPriority from containsValueForKey:, the method checks for the name with the NS prefix as well as it is not needed 2020-06-14 04:46:52 -04:00
Gregory John Casamento
4e868a374f Make sure applyConstraint is called only once for each constraint. 2020-06-14 04:23:13 -04:00
Gregory John Casamento
aaaf420c78 Streamline notification and add/remove of constraints 2020-06-14 03:29:39 -04:00
Gregory John Casamento
df9109f040 Remove debug stuff 2020-06-14 02:33:13 -04:00
Gregory John Casamento
027cb95650 Implement isEqual: so that we don't have any repeat constraints in the array 2020-06-14 02:31:18 -04:00
Gregory John Casamento
474e87d2ad Changes in GSXib5KeyedUnarchiver to decode constraints. 2020-06-13 23:45:08 -04:00
Gregory John Casamento
fb3f9f5fe3 Add priority to copy, correct encoding and decoding. 2020-06-09 07:34:40 -04:00
Gregory John Casamento
bf3bc1668e Add NSPriority, default priority to 100 if not present 2020-06-09 07:27:06 -04:00
Gregory John Casamento
8508f9f98f Merge branch 'master' into NSLayoutConstraint_branch 2020-06-08 04:02:30 -04:00
Gregory John Casamento
9f74b1b915 Quick fix mispelled method name. 2020-06-08 04:01:28 -04:00
Gregory John Casamento
4c6548511f Quick fix for issue with initialization of NSPDFImageRep. Change arrayWithObjects to arrayWithObject. It was causing a SIGSEGV. 2020-06-08 04:00:32 -04:00
Gregory John Casamento
a4a30889f7 Start adding logic to process constraints 2020-06-03 07:12:31 -04:00
Gregory John Casamento
af2319d26e Add constraints when they are created 2020-06-02 04:58:13 -04:00
Gregory John Casamento
2c8692c379 Add dealloc 2020-06-01 02:27:49 -04:00
Gregory John Casamento
bb4d2b1284 Implement parsing methods. 2020-05-30 06:40:16 -04:00
Gregory John Casamento
33e39b1d93 Add methods to translate from relation and attribute to string. 2020-05-27 19:04:42 -04:00
Gregory John Casamento
44a3512ae2 Make changes to correctly decode firstItem and secondItem. 2020-05-26 23:59:00 -04:00
Gregory John Casamento
7faefbb0dd Improve NSLayoutConstraint description 2020-05-26 15:06:28 -04:00
Gregory John Casamento
74afc3d88c Merge conflicts 2020-05-26 02:07:51 -04:00
Gregory John Casamento
ca2a8fa6b0 Latest changes 2020-05-26 02:05:50 -04:00
fredkiefer
385fb7d204 * Headers/AppKit/NSColor.h,
* Source/NSColor.m: Add newer Cocoa methods.
2020-05-18 22:55:59 +02:00
fredkiefer
db28f7b420 Small formatting changes, but plenty of these. 2020-05-16 00:15:38 +02:00
Gregory John Casamento
1539213eeb Resolve conflict 2020-05-15 10:10:19 -04:00
fredkiefer
be12d7bd1e * Source/NSWindow.m (-makeFirstResponder, -sendEvent:): Correct
handling of new first responder not becoming first responder.
Patch suggested by Josh Freeman <pikopixel@twilightedge.com>.
2020-05-14 23:10:43 +02:00
Gregory John Casamento
2372be54a7 Update changelog 2020-05-12 12:27:20 -04:00
Gregory John Casamento
be214374ab Implement skeletons 2020-05-11 07:23:04 -04:00
Gregory John Casamento
e2752e1bc4 Add skeleton implementation of NSLayoutGuide 2020-05-11 07:08:01 -04:00
Gregory John Casamento
75bfedc564 Eliminate warnings. 2020-05-10 16:44:48 -04:00
Gregory John Casamento
a115217ec3 Skeleton version 2020-05-10 16:38:52 -04:00
fredkiefer
981227145e * Source/GSXib5KeyedUnarchiver.m: Clean up NSPathCell decoding. 2020-05-10 21:52:13 +02:00
Gregory John Casamento
e723d6914b Encoding and decoding implementation 2020-05-10 15:03:31 -04:00
Gregory John Casamento
2d3587a4cc Implement decoding 2020-05-10 14:49:06 -04:00
Gregory John Casamento
0a2f4e90e5 Implement methods in NSLayoutConstraint 2020-05-10 08:41:10 -04:00
Gregory John Casamento
a9a025ddf6 Implement methods in NSLayoutConstraint 2020-05-10 08:40:15 -04:00
Gregory John Casamento
c99d9f68d7 Implement methods in NSLayoutConstraint 2020-05-10 08:35:49 -04:00
Gregory John Casamento
86e4e58df3 Skeleton of NSLayoutConstraint 2020-05-10 08:22:12 -04:00
Gregory John Casamento
9c5143f1ce Add NSLayout* classes. Correct API version and email. 2020-05-10 06:38:06 -04:00
Gregory John Casamento
b1980268e2 Initial skeletons for layout constraints 2020-05-10 02:26:06 -04:00
fredkiefer
8162d07536 * Source/NSStringDrawing.m: Initialize all the cache entries as
not used.
2020-05-09 21:22:41 +02:00
fredkiefer
ec0e80eaee Remove unused variable. 2020-05-09 21:11:01 +02:00
Gregory Casamento
7fbf0bb067
Merge pull request #63 from gnustep/NSPersistentDocument_branch
NSPersistentDocument branch
2020-05-09 14:40:31 -04:00
Gregory John Casamento
cd44b3d036 Allocate concrete class 2020-05-09 14:27:49 -04:00
fredkiefer
66ca536acc * Source/GSHorizontalTypesetter.m (_addExtraLineFragment): Make
sure curParagraphStyle and line_height always have useful values.
2020-05-09 17:16:47 +02:00
fredkiefer
cad8383e62 * Source/NSWindow.m (-initWithContentRect:...defer:): Call
setFrame:display: to ensure the minium and maximum size gets enforced.
* Source/NSFont.m (-description): Add this method.
2020-05-08 22:41:09 +02:00
Gregory John Casamento
17c39bf98a Fix compilation error under gcc 2020-05-08 05:37:39 -04:00
Gregory John Casamento
9c9e520b6c Get rid of unused 'err' variable. 2020-05-08 05:23:47 -04:00
Gregory John Casamento
da3ad926f9 Merge from master 2020-05-08 05:00:04 -04:00
Gregory John Casamento
e92930756b Resolve conflict after merge from master 2020-05-08 04:50:39 -04:00
Gregory John Casamento
14131287b3 Correct frame 2020-05-08 01:33:19 -04:00
Gregory John Casamento
6df9f5466b Add space 2020-05-08 01:29:59 -04:00
Gregory John Casamento
44cacc7766 Keep pathComponentCell and pathItems in sync 2020-05-07 20:10:54 -04:00
Gregory John Casamento
093844bb9a Don't count 0 as a special case 2020-05-07 19:03:46 -04:00
Gregory John Casamento
5b8191556a Don't count 0 as a special case 2020-05-07 19:00:07 -04:00