Commit graph

6609 commits

Author SHA1 Message Date
fredkiefer
6e417da18e * Source/NSMenuView.m (-mouseDown:): Protect against _window going
away during tracking.
2020-11-29 23:04:50 +01:00
Gregory John Casamento
4b072d3726 Merge branch 'master' of github.com:gnustep/libs-gui into NSGridView_NSStackView_branch 2020-11-27 07:24:44 -05:00
Riccardo Mottola
b7f5fb2edf Use standard setMenu: in release and avoid leaking the Menu. 2020-11-24 00:29:10 +01:00
Gregory John Casamento
cb8b56a5ee Add encoding 2020-11-23 00:44:08 -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
Gregory John Casamento
0c180978d9 Add decoding for row and placement 2020-11-18 22:38:33 -05:00
Gregory John Casamento
c3943fb21c Add encoding 2020-11-16 16:25:23 -05:00
Gregory John Casamento
08a448fc79 Add keyed encoding for row 2020-11-16 15:49:25 -05:00
Gregory John Casamento
db428d9e0c Add enciding for NSGridCell 2020-11-16 14:32:46 -05:00
Gregory John Casamento
07fcafcfdc Fix decoding 2020-11-15 02:33:40 -05:00
Gregory John Casamento
6184b12128 Fix decoding 2020-11-15 01:34:04 -05:00
Gregory John Casamento
f04f8536ec Minor cleanup 2020-11-15 00:15:11 -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
a016137aba Merge branch 'master' into NSGridView_NSStackView_branch 2020-11-03 17:07:28 -05:00
Riccardo Mottola
7b819af623 Support greyscape output colorspace in JPEG decompression, fix Alpha output do NO, since JPEGs do not support it. 2020-11-03 01:57:34 +01:00
fredkiefer
36772d25a1 * Source/NSTableView.m (-validateEditing): Reset _isValidating on
intermediate return.
Patch by Andreas Höschler <ahoesch@smartsoft.de>.
2020-10-18 23:52:19 +02:00
anthonyc
186f2da812 Make GSHorizontalTypesetter use defaultTabInterval if it has run out of defined tabstops 2020-10-15 17:57:20 +01:00
rmottola
2858654976 include hack for interface in Win headers so that no patch of MinGW is needed, also try to refine bool redefinition which changes among jpeg library versions - although not foolproof solution 2020-10-15 16:58:11 +02:00
fredkiefer
4b42583379 * Source/NSColor.m: Protect against theme colour list missing out
on default colours.
2020-10-04 22:39:39 +02:00
fredkiefer
8f46157e16 * Source/GSToolTips.m: Revert bogus last commit. 2020-09-14 23:21:52 +02:00
Gregory John Casamento
1889812055 Fix comment 2020-09-12 20:02:13 -04:00
Gregory John Casamento
faf57dd7a5 Merge branch 'master' into windows_corrections 2020-09-12 19:57:44 -04:00
fredkiefer
4cb2b0693f * Source/NSTextView.m (-initWithCoder:): Make sure text container is
in sync with the text view resize behaviour.
* Source/NSScrollView.m (-initWithCoder:): Add scrollers as
subviews when decoded.
2020-09-12 21:59:16 +02:00
Gregory John Casamento
2f0a22357c Merge branch 'master' into windows_corrections 2020-09-11 18:59:52 -04:00
Fred Kiefer
1f35fc1916
Merge pull request #82 from gnustep/nextspace-backports
NSWindow input focus switch fix
2020-09-11 22:59:04 +02:00
fredkiefer
c39b49c0d2 * Source/GSLayoutManager.m
+	(-glyphRangeForCharacterRange:actualCharacterRange:): Handle zero
+	length charRagne at end of text correctly.
2020-09-11 22:11:31 +02:00
Sergii Stoian
f7f80ecf8a * Source/NSWindow.m (makeKeyAndOrderFront:): unhide/activate
application after ordering and making it key. This prevents
  focus flickering between current key window and this window
  during application activation.
  Do not try to set key and main if window can't be set as key.
2020-09-11 12:52:09 +03:00
Gregory John Casamento
79374c6670 Update tooltips so that they display properly no matter what the theme is set to 2020-09-08 01:09:15 -04:00
fredkiefer
6832eaf1c4 * Source/GSXib5KeyedUnarchiver.m (-decodeCellPrototypeForElement:): Fix misuse of setType:. 2020-09-07 17:38:21 +02:00
Gregory John Casamento
cfd16f5afe Fix strange behavior of NSCell when running on windows. When a XIB or Storyboard is loaded setType is called and resets the value of the cell to 'title' for an unknown reason. 2020-09-01 04:53:13 -04:00
Gregory John Casamento
817374c50c Rollback last quickfix 2020-08-30 03:26:21 -04:00
Gregory John Casamento
ffee2f9560 Merge branch 'master' of github.com:gnustep/libs-gui 2020-08-27 19:52:28 -04:00
Gregory John Casamento
ca50dfa984 Quick fix for App exiting when it still has windows (on Win32) 2020-08-27 19:52:13 -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 Casamento
31958bf6e5
Merge pull request #73 from gnustep/NSText_branch
NSText* classes remaining in MISSING
2020-08-21 15:23:13 -04:00
Gregory John Casamento
3cc92a976d Eliminate warnings in NSTextFinder 2020-08-21 13:37:22 -04:00
Gregory John Casamento
1711b1d0da Delegate all functionality for NSTextFinder to GSTextFinder 2020-08-19 02:13:44 -04:00
Gregory John Casamento
ebafa1786d implemented changes suggested by review 2020-08-18 20:23:39 -04:00
Gregory John Casamento
1821d34ff2 Retab and correct indentation 2020-08-18 17:09:47 -04:00
Gregory John Casamento
65ba6fb8f9 Adding attribution for my changes to .m file 2020-08-18 15:57:38 -04:00
Gregory John Casamento
867e7879ac Call layoutManager from drawCharactersInRange:forContentView: 2020-08-18 14:53:40 -04:00
Gregory John Casamento
b242e3407a call performFindPanelAction: from performTextFinderAction: 2020-08-18 13:43:22 -04:00
Gregory John Casamento
889a1eb13b move call to validateUserInterfaceAction: 2020-08-18 13:35:00 -04:00
Gregory John Casamento
4d90930d64 Add implementation for validateUserInterfaceAction: 2020-08-18 13:32:13 -04:00
Gregory John Casamento
a02336f84f Implement rectsForCharacterRange: per example for firstRectForCharacterRange: 2020-08-14 12:34:49 -04:00
Gregory John Casamento
fe50e9f40a Correct previous change 2020-08-14 12:24:03 -04:00
Gregory John Casamento
553d81071d Return entire string for NSTextView in stringAtIndex:... 2020-08-14 11:58:29 -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
41484fd5b3 Add NSResponder actions 2020-08-13 22:54:55 -04:00
Gregory John Casamento
d72e9e6ced Remove uneeded instance var. 2020-08-09 10:21:52 -04:00
Gregory John Casamento
938467102e Changed to allocate a new instance 2020-08-09 08:49:20 -04:00
Gregory John Casamento
72eb294eb6 Fix method name. 2020-08-09 08:02:41 -04:00
Gregory John Casamento
7040dc265b Add NSGridView method implementations. 2020-08-08 23:00:26 -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
fredkiefer
16071b1b10 Fix compiler warnings mit gcc. 2020-08-07 19:44:13 +02:00
Gregory John Casamento
30f1483ded Implement methods on NSTextInputContext 2020-08-06 10:01:37 -04:00
Gregory John Casamento
ae317224c9 Remove uneeded variable. 2020-08-04 15:53:55 -04:00
Gregory John Casamento
03fd244708 Remove method which is already implemented 2020-08-04 15:51:12 -04:00
Gregory John Casamento
b6983955f6 Eliminate warnings 2020-08-04 14:45:04 -04:00
Gregory John Casamento
430862e7e9 Initialize shared GSTextFinder 2020-08-04 07:25:10 -04:00
Gregory John Casamento
40d84d7284 Implement all op methods 2020-08-04 07:16:46 -04:00
Gregory John Casamento
fc617321fe Add switch/case to handle app ops 2020-08-04 07:04:21 -04:00
Gregory John Casamento
214ff9e638 Implement setter/getter for client and findBarContainer. 2020-08-04 06:59:04 -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
6bfdb64ef4 Implementation of NSTextFinderClient protocol 2020-08-03 07:50:47 -04:00
Gregory John Casamento
405b9bae2f Implement NSTextFinder protocol on NSTextView. 2020-08-03 07:11:38 -04:00
Gregory John Casamento
3030efa9f7 Add encoding / decoding for NSPredicateEditor for non-keyed archiving 2020-08-03 05:51:27 -04:00
Gregory John Casamento
281da47d7f Add externs 2020-08-02 11:39:51 -04:00
Gregory John Casamento
5bca05faef NSTextFinder skeletal implementation 2020-08-02 10:59:56 -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
edf2eb9b57 Add new files. 2020-08-02 06:22:16 -04:00
Gregory John Casamento
3d1fa23f75 Add NSTitlebarAccessoryViewController 2020-07-31 20:54:25 -04:00
Gregory John Casamento
0839b27b43 NSSliderAccessory skeleton implementation 2020-07-31 05:12:53 -04:00
Gregory John Casamento
cc83e9f067 Merge branch 'master' into NSSliderAccessory_branch 2020-07-31 04:48:50 -04:00
Gregory John Casamento
78f9c90dd7 Initial changes 2020-07-31 04:39:26 -04:00
Gregory John Casamento
3322db37c2 NSStatusBarButton implementation 2020-07-31 02:40:41 -04:00
Gregory John Casamento
bf9513411d Reformat changelog a little. Remove nc to fix warning. 2020-07-30 05:10:37 -04:00
Gregory John Casamento
72cf6ce27c Remove notifications. 2020-07-30 04:56:32 -04:00
Gregory John Casamento
ed54fdd288 Merge branch 'master' into NSSplitViewController_branch 2020-07-28 10:26:59 -04:00
Gregory John Casamento
09f022fa14 Implement logic for canPropagate... 2020-07-28 09:10:20 -04:00
Gregory John Casamento
bc802f3833 Use enum for behavior 2020-07-28 07:44:47 -04:00
Gregory John Casamento
52fd3b0cc6 Use enum instead of string for preferredEdge 2020-07-28 01:17:42 -04:00
Gregory John Casamento
5a0958ec46 Add method to decode transitionStyle 2020-07-27 15:19:13 -04:00
Gregory John Casamento
050fc1180e Call delegate methods 2020-07-27 14:57:56 -04:00
Gregory John Casamento
073fdbf72f Instantiation of NSPageController in XIB/Storyboard. 2020-07-27 08:58:57 -04:00
Gregory John Casamento
df509dae91 Skeleton implementation of NSPageController.m 2020-07-27 08:05:56 -04:00
Gregory John Casamento
fbdcd54eb3 Add NSPageController. Add changes toGNUmakefile and headers 2020-07-27 07:26:56 -04:00
Gregory John Casamento
4377c217bb Complete encode/decode methods 2020-07-27 06:18:21 -04:00
Gregory John Casamento
ca812303e9 Complete encode/decode methods 2020-07-27 05:40:48 -04:00
Gregory John Casamento
e96106c295 Show tabview properly 2020-07-26 06:07:02 -04:00
Gregory John Casamento
d41635855f Force tabViewType to be something we support. To be fixed in a later branch to add other renderings for tabview since this branch is specific to controllers 2020-07-26 05:37:25 -04:00
Gregory John Casamento
7bb2123da6 Cleanup 2020-07-26 02:15:53 -04:00
Gregory John Casamento
b2b6eec1fa Implement encoding 2020-07-26 01:57:33 -04:00
Gregory John Casamento
1a649c747f Implement encoding 2020-07-26 00:28:52 -04:00
Gregory John Casamento
d5b6cf01ae Implement encoding 2020-07-26 00:20:09 -04:00
Gregory John Casamento
c96ce7edf4 autorelease items 2020-07-25 09:58:06 -04:00
Gregory John Casamento
285a77debb Use insertSplitViewItem in addSplitViewItem 2020-07-25 09:56:20 -04:00
Gregory John Casamento
7734331930 Move NSView private method to NSView.m and their declarations into NSViewPrivate.h 2020-07-25 09:28:01 -04:00
Gregory John Casamento
0add17530a First cut at working tabView controller 2020-07-23 13:30:05 -04:00
Gregory John Casamento
e4f94a1655 Add NSTabViewController 2020-07-23 07:13:48 -04:00
Gregory John Casamento
25f7ec93cb Add implementation of methods to add and delete NSSplitViewItem instances. 2020-07-23 05:33:02 -04:00
Gregory John Casamento
577aefb437 Add viewcontroller to item 2020-07-22 02:19:35 -04:00
Gregory John Casamento
2bd3faf3c8 Implement popover transition. NSPopover needs some additional work, but that will be in a different branch. 2020-07-22 01:37:08 -04:00
Gregory John Casamento
a59e998e20 Crudely working NSSplitViewController 2020-07-21 07:51:43 -04:00
Gregory John Casamento
726c847803 Decode splitview and items. 2020-07-21 06:38:47 -04:00
Gregory John Casamento
c7a3c798a9 Add encoding 2020-07-21 06:14:22 -04:00
Gregory John Casamento
2208132e41 Add check for relationship value window.shadowedContentViewController 2020-07-21 05:22:36 -04:00
Gregory John Casamento
b08a9576ff Fix NSAlert appearing without a button. New behavior sets 'OK' if none are set. 2020-07-20 23:11:19 -04:00
Gregory John Casamento
2aa154b1e4 Use view instead of a new ivar 2020-07-20 17:26:40 -04:00
Gregory John Casamento
40871909f2 Add metnods for NSCoding/NSCopying 2020-07-20 05:33:40 -04:00
Gregory John Casamento
d30a2daa17 Finish implementation of setters/getters. 2020-07-20 05:12:36 -04:00
Gregory John Casamento
6ec5cf0020 Skeletons 2020-07-20 04:47:19 -04:00
Gregory John Casamento
2d1127f2f2 Add method declarations and ivars 2020-07-20 03:20:34 -04:00
Gregory John Casamento
2cfb6ecc73 Implement splitview management methods 2020-07-20 02:17:00 -04:00
Gregory John Casamento
79c83ab9ae Add initial code. 2020-07-20 01:02:22 -04:00
Gregory John Casamento
586d207066 Remove useless else 2020-07-20 00:53:40 -04:00
Gregory John Casamento
8a04e0f61d Minor formatting fixes 2020-07-19 05:01:13 -04:00
Gregory John Casamento
25ab2c7a9d Fix inadvertent compilation error 2020-07-19 02:19:29 -04:00
Gregory John Casamento
d35781c519 Set segue_parent to connections and rename the segue_parent_parent var to something a little more comprehensible. 2020-07-19 02:06:25 -04:00
Gregory John Casamento
e44276fba8 Detect subclasses in processConnections... 2020-07-19 02:03:18 -04:00
Gregory John Casamento
0c278cc74b Add method to pull subclasses and compare them to the xml elements so we can handle subclasses of NSWindowController and NSViewController, or future subclasses 2020-07-19 02:00:48 -04:00
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