Riccardo Mottola
0b1771198f
When initializing the text view do not use the document view of the scroll view which is not yet set and invalid. (Fixes exceptions/crashes - fix by Fred Kiefer)
2021-06-17 14:12:59 +02:00
Gregory John Casamento
d3a1fd1119
Remove some unneeded comments in init method
2021-05-27 18:35:15 -04:00
Gregory John Casamento
ec1eb16cc8
Changes to return proper subview and arrangedSubview arrays for NSStackView. Refresh view when arranged subviews are set.
2021-05-27 08:14:43 -04:00
Gregory John Casamento
f481605a6a
Intermediate work on layout for container.
2021-05-27 08:05:14 -04:00
Gregory John Casamento
4002c0efa0
Show stack view container contents
2021-05-27 06:34:00 -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
1ed368de09
Add encoding for NSStackViewContainer class
2021-05-26 03:24:08 -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
65ade78a5a
Fix issue with expanding control when needed
2021-05-24 08:13:28 -04:00
Gregory John Casamento
1414cfeff6
Add implementation for horizontal view without containers
2021-05-24 07:14:44 -04:00
Gregory John Casamento
ba065e55e2
More corrections to calculation.
2021-05-24 06:54:38 -04:00
Gregory John Casamento
f06f27f40d
More corrections to calculation. Move logic to _layoutViewsInView:withOrientation:
2021-05-24 06:40:52 -04:00
Gregory John Casamento
9c43880d85
More corrections to calculation. Move logic to _layoutViewsInView:withOrientation:
2021-05-24 06:03:23 -04:00
Gregory John Casamento
346138b042
More fixes
2021-05-23 16:13:30 -04:00
Gregory John Casamento
47b7b0b084
More fixes
2021-05-23 15:40:17 -04:00
Gregory John Casamento
37b1475f54
Slightly refactor where we are getting the frame
2021-05-23 15:33:40 -04:00
Gregory John Casamento
b4e7f7c065
Correct the math for calculating view position.
2021-05-23 14:29:05 -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
8814229de5
Add container and methods needed to manage views
2021-05-17 23:56:42 -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
3fd0f590f4
Implement encodeWithCoder: for NSStackView
2021-05-17 05:45:25 -04:00
Gregory John Casamento
00672662de
Implement initWithCoder for NSStackView
2021-05-17 05:29:22 -04:00
Gregory John Casamento
2fe5ce8056
Add more info to debug when insert or addView methods are called
2021-05-17 01:08:08 -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 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 Casamento
a354fb0f7f
Merge pull request #103 from gnustep/xib_gorm_integration
...
XIB/Gorm integration
2021-05-06 23:08:16 -04:00
Riccardo Mottola
a4c5e48839
if a Help viewer is found and the file is opened, do not beep
2021-05-07 02:46:45 +02: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
74f8e99c2c
Add to the description of IBConnector so that it shows more detail.
2021-04-26 19:57:39 -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
d9921efd8e
Use [GSModelLoaderFactory modelLoaderForData:] to generically implement methods that unarchive a model purely from data since we cannot use the file extension to determine which loader to instantiate.
2021-04-24 08:51:32 -04:00
Gregory John Casamento
0d3c3d1b2a
Add interface and abstract implementation of modelLoaderForData:
2021-04-24 06:06:45 -04:00
Gregory John Casamento
b5ecb4e490
Quick fix. Remove unecessary warning about storyboard in NSApplicationMain function
2021-04-23 07:04:47 -04:00
Gregory Casamento
72d9db4e4b
Merge pull request #74 from gnustep/NSGridView_NSStackView_branch
...
NSGridView branch
2021-03-29 10:12:05 -04:00
Fred Kiefer
0576f2736b
* Source/NSControl.m (-textDidChange:): If there is a binding with
...
continious update, pass on the changed text.
* Source/GSXibElement.m: Correct the handling of boolean values in attributes.
* Source/GSBindingHelpers.h,
* Source/NSKeyValueBinding.m: Prevent recursion when
reverseSetValue: is used.
* Source/NSTextField.m (-textDidChange:): Remove empty code line.
2021-03-27 21:20:28 +01:00
Gregory John Casamento
b1b6e9a2a1
Add padding back into calculation
2021-03-26 18:08:30 -04:00
Gregory John Casamento
a9598d9d10
Commit fixes for all issues Fred mentioned except for formatting.
2021-03-26 02:58:30 -04:00
Gregory John Casamento
bf381f8c31
Remove incorrect calculations in _refreshCells
2021-03-23 20:11:54 -04:00
Gregory John Casamento
914bcb6f68
Incorporate all suggestions made by Fred K.
2021-03-23 19:58:05 -04:00
Gregory John Casamento
d818fc42d4
Fix implementation of initWithViews:
2021-03-22 20:03:46 -04:00
Gregory John Casamento
ac2e5ff680
Change name of method _findPrototypeView to _prototypeFrame
2021-03-22 18:10:32 -04:00
Gregory John Casamento
857e4d2e28
Fix column/row spacing issues
2021-03-22 17:25:47 -04:00
Gregory John Casamento
0bc6216ef1
Fix minor issues with _cellsForRowAtIndex:
2021-03-22 14:20:19 -04:00
Gregory John Casamento
aacc539464
Make insertRow/Column based on the number of rows/columns in the view. Get cell from array or create based on that info
2021-03-22 13:48:08 -04:00
Gregory John Casamento
bf302d3a12
Add customPlacementConstraints
2021-03-20 07:45:44 -04:00
Gregory John Casamento
2576fbd215
Correct spelling
2021-03-19 06:35:06 -04:00
Gregory John Casamento
d7eca23b73
Double checked and corrected where the fast enumeration var was misdeclared in END_FOR_IN(...).
2021-03-18 18:44:20 -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
Gregory John Casamento
34e9da4f96
Fix issue with initWithViews enumeration of views
2021-03-18 14:19:02 -04:00
Gregory John Casamento
c816d484b4
Change moveColumnAtIndex: so that cell information is preserved.
2021-03-18 14:01:43 -04:00
Graham Lee
f3dd2fa451
Add stub for -[NSWorkspace frontmostApplication]
2021-03-17 21:18:24 +00:00
Gregory John Casamento
c46d190c08
Make gridViewWithNumberOfColumns:rows: generate an NSArray of NSArrays of NSViews before passing it to gridViewWithViews:
2021-03-17 09:19:12 -04:00
Gregory John Casamento
fd8533fab9
Change rows to views
2021-03-16 20:07:10 -04:00
Gregory John Casamento
ae3c4fbee5
Move autorelease to gridViewWIthViews:
2021-03-16 20:03:47 -04:00
Gregory John Casamento
0391347746
Fix numberOfCells methods
2021-03-16 13:28:42 -04:00
Gregory John Casamento
195b162c7e
Various corrections and typographical corrections.
2021-03-14 15:03:07 -04:00
Gregory John Casamento
9bdee0a181
Remove uneeded NSDebugLog statements
2021-03-14 14:57:08 -04:00
Gregory John Casamento
a449fa172f
Fixed minor formatting issues.
2021-03-14 14:55:55 -04:00
Gregory John Casamento
49348ffa24
Implement mergeCellsInRange: for row/columns
2021-03-14 14:47:10 -04:00
Gregory John Casamento
fd0d501604
Cleanup of comment
2021-03-14 14:33:03 -04:00
Gregory John Casamento
68dad85a1e
Address fred's comment about getting the cell more efficiently
2021-03-14 14:32:04 -04:00
Fred Kiefer
a07d68551f
* Source/NSMenu.m (-_setOwnedByPopUp:): Only update the menu if
...
there is a new popup.
2021-03-12 18:36:38 +01: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
b8ecd7b59b
Merge branch 'master' of github.com:gnustep/libs-gui into NSGridView_NSStackView_branch
2021-02-24 19:24:09 -05:00
Gregory John Casamento
b35da84d61
Implement numberOfCells/cellAtIndex: for NSGridRow and NSGridColumn classes.
2021-02-21 20:26:56 -05:00
Fred Kiefer
48a03d8b8f
* Source/NSPasteboard.m (-_pasteboardWithTarget:name:): Correct
...
wrong order of arguments to NSMapInsert.
* Source/NSPasteboard.m (-generalPasteboard): Simplify
implementation.
2021-02-21 20:45:56 +01:00
Gregory John Casamento
652ffb756e
Add default size for cell from observation in Xcode
2021-02-21 14:18:01 -05:00
Gregory John Casamento
e329b2d7de
Remove refresh from merge... call
2021-02-20 07:37:19 -05:00
Gregory John Casamento
7de5efd022
implement deleteRow/ColumnAtIndex: moveRow/ColumnAtIndex: methods.
2021-02-20 07:13:35 -05:00
Gregory John Casamento
037d50d445
insertRowAtIndex:withViews: correct implementation.
2021-02-20 04:54:31 -05:00
Gregory John Casamento
9156fa6da4
Precalculate column/row widths.
2021-02-20 02:38:49 -05:00
Gregory John Casamento
dd223a8ff0
Add note regarding calculation of row/column heights.
2021-02-20 02:03:20 -05:00
Gregory John Casamento
f9e2b42bc4
_refreshCells now reformats views properly.
2021-02-20 01:59:16 -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
eaf0351b78
Reimplement so that cells are managed in one place
2021-02-15 23:44:08 -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
d97ab132ac
Merge branch 'master' of github.com:gnustep/libs-gui into NSGridView_NSStackView_branch
2021-02-14 14:00:47 -05:00
Fred Kiefer
1c972d2892
* Source/NSSearchFieldCell.m: Correct encoding/decoding that was
...
broken in last commit of this file.
2021-02-12 19:47:50 +01:00
Gregory John Casamento
07ca3b7cd3
Merge branch 'master' into NSGridView_NSStackView_branch
2021-02-07 15:03:05 -05:00
Gregory John Casamento
cb135584c7
Use new macros
2021-02-06 20:04:54 -05:00
Gregory John Casamento
d0dd3331fb
Fix issue #91 , add non-keyed encoding to initWithCoder:/encodeWithCoder
2021-02-06 15:53:20 -05:00
Gregory John Casamento
78f84bb52a
Merge branch 'master' of github.com:gnustep/libs-gui into NSGridView_NSStackView_branch
2021-01-24 12:13:53 -05:00
Fred Kiefer
a4ec02e613
* Source/NSTableView.m (-_numRows): Take column value binding into
...
consideration.
* Source/NSTableColumn.m (-setValue:forKey:): Reload table data.
2021-01-22 22:48:13 +01:00
Fred Kiefer
efff658f82
* Source/NSWindow.m (GSOrderedWindows): Don't try to handle
...
already gone windows that may be returned from a slow window manager.
2021-01-22 14:53:15 +01: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
9dbbc2d257
Clean up implementation
2021-01-16 20:49:54 -05:00
Gregory John Casamento
4b0f8c7173
Implement insertRowAtIndex:...
2021-01-16 20:39:14 -05:00
fredkiefer
5e4ab88aa7
Updating documentation for the upcoming 0.29.0 release.
2021-01-16 20:37:24 +01:00
Fred Kiefer
d28fe15d03
Merge pull request #88 from anthonyc-r/master
...
Make GSHorizontalTypesetter use defaultTabInterval if it has run out …
2021-01-16 17:33:39 +01:00
Gregory John Casamento
e5d82ac329
Cleanup implementation
2021-01-16 10:58:34 -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
fredkiefer
e34e28e4c7
* Source/NSControl.m: Change encoding/decoding to protect
...
against differences in integer size.
2021-01-15 22:48:11 +01:00
Gregory John Casamento
be109b850a
Start implementation of refresh/rectForCell
2021-01-15 08:59:54 -05:00
Gregory John Casamento
53f5352675
Start implementation of refresh/rectForCell
2021-01-15 08:54:40 -05:00
Gregory John Casamento
91977535e6
Add NSDebugLog(..)
2021-01-14 08:24:17 -05:00
Gregory John Casamento
9f39948dd6
Encoding of NSGridView
2021-01-14 08:21:31 -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
200d325d94
Instantiate the row or column objects in the methods where needed
2021-01-12 08:51:48 -05:00
Gregory John Casamento
e97e6d5c1e
Do not retain the view in the row/column instances
2021-01-12 04:05:52 -05:00
Gregory John Casamento
fd2c454a60
encode/decode gridview column
2021-01-11 09:19:40 -05:00
Gregory John Casamento
3706afee0a
encode/decode gridview column
2021-01-11 08:24:19 -05:00
Gregory John Casamento
e43256516b
Add code to encode typedstream NSGridCell
2021-01-11 06:08:39 -05:00
Gregory John Casamento
f1883469b4
Add code to decode typedstream NSGridCell
2021-01-11 06:04:17 -05:00
fredkiefer
5294a34911
Add macros for encoding/decoding.
2021-01-10 22:40:29 +01:00
fredkiefer
35698d41b6
Change encoding/decoding to protect against differences in integer size.
2021-01-08 17:18:36 +01:00
Gregory John Casamento
af0c1c4e0e
Correction of keys and decoding
2020-12-27 15:37:31 -05:00
Gregory John Casamento
10cd98e74f
Merge branch 'master' of github.com:gnustep/libs-gui into NSGridView_NSStackView_branch
2020-12-24 04:46:58 -05:00
Riccardo Mottola
05572b2d01
fix compilation with ICU 68
2020-12-21 16:35:10 +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
fredkiefer
d899741be4
* Source/NSSearchFieldCell.m: Use GSTheme to display the popup.
2020-12-13 20:38:35 +01:00
fredkiefer
a0f0b8b147
* Source/NSSearchField.m,
...
* Source/NSSearchFieldCell.m: Small cleanups in formatting and int types.
2020-12-12 19:18:29 +01:00
Riccardo Mottola
4004f549d7
height is CGFloat
2020-12-12 02:20:01 +01:00
Riccardo Mottola
0ff4adfd42
minor code style updates, transition to CGFloat and correct signedness too
2020-12-12 01:54:37 +01:00
Riccardo Mottola
9db97cd047
Use centerScanRect to correct Items frame and avoid flickering.
2020-12-12 23:32:01 +01:00
Gregory John Casamento
9fba8e5af6
Remoce call to decodeIntegerForKey: and remove superfluous implementation.
2020-12-07 09:01:49 -05:00
fredkiefer
5cee71869b
* Source/NSToolbarFrameworkPrivate.h,
...
* Source/GSToolbarView.m,
* Source/NSToolbar.m: Minor changes to format code, remove unused
methods and introduce some new helper methods.
2020-12-06 22:10:13 +01:00
Gregory John Casamento
84cca3fbca
Merge branch 'master' of github.com:gnustep/libs-gui into NSGridView_NSStackView_branch
2020-12-03 09:07:38 -05:00
fredkiefer
59b4b15f7e
Merge branch 'master' of github.com:gnustep/libs-gui
...
# Conflicts:
# ChangeLog
2020-11-29 23:08:15 +01:00
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
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
Gregory John Casamento
58e50ff079
Change do..while to while
2020-05-07 18:57:02 -04:00
Gregory John Casamento
3d711b5672
add release implmentation
2020-05-07 18:53:15 -04:00
Gregory John Casamento
13ae5fdb54
Eliminate include
2020-05-07 18:30:23 -04:00
Gregory John Casamento
e4b3a412c1
Include NSAttributedString from foundation.
2020-05-07 18:29:35 -04:00
Gregory John Casamento
485f9f4617
Internationalize
2020-05-07 17:56:02 -04:00
Gregory John Casamento
c81e67aeaa
Remove commented out code
2020-05-07 17:54:42 -04:00
Gregory John Casamento
d1803df5a7
Moved defaults to else branches
2020-05-07 17:53:57 -04:00
Gregory John Casamento
5fcbc9e46c
Moved defaults to else branches
2020-05-07 17:53:40 -04:00
Gregory John Casamento
dd80a3d890
Modify positions
2020-05-07 05:33:34 -04:00
Gregory John Casamento
e0357ebffe
Refactor drawPathComponentCellWithFrame:...
2020-05-07 05:29:47 -04:00
Gregory John Casamento
d1be7c89cb
includes
2020-05-07 03:11:14 -04:00
Gregory John Casamento
f9c2f3b864
Clean .m skeleton.
2020-05-07 01:08:05 -04:00
Gregory John Casamento
c0b812c73c
Add skeletons
2020-05-07 00:10:43 -04:00
Gregory John Casamento
9c84decf5f
minor fixes
2020-05-06 23:52:06 -04:00
Gregory John Casamento
d3e628fec5
minor fixes
2020-05-06 23:51:15 -04:00
Gregory John Casamento
8a5f5b180a
minor fixes
2020-05-06 23:50:37 -04:00
Gregory John Casamento
c636211e0e
minor fixes
2020-05-06 23:46:09 -04:00
Gregory John Casamento
63c02bed44
minor fixes
2020-05-06 23:45:25 -04:00
Gregory John Casamento
b982a2029e
minor fixes
2020-05-06 23:44:03 -04:00
Gregory John Casamento
9ddd7b3ae6
Use string instead of [url path]
2020-05-06 23:42:49 -04:00
Gregory John Casamento
225e24909f
Fix formatting
2020-05-06 23:34:09 -04:00
Gregory John Casamento
08f80ed5b5
Remove unneeded methods
2020-05-06 17:02:39 -04:00
Gregory John Casamento
5d74923ac3
Remove commented out code
2020-05-06 16:36:53 -04:00
Gregory John Casamento
fb280df615
Use URL to generate all of the path component cells
2020-05-06 16:18:53 -04:00
Gregory John Casamento
0e61c251bf
Use resetCursorRects
2020-05-06 14:02:41 -04:00
Gregory John Casamento
c84fa5a10f
Remove decoding of NSContents
2020-05-06 11:50:03 -04:00
Gregory John Casamento
deaae76366
Fix pathItems
2020-05-06 11:44:54 -04:00
Gregory John Casamento
3b7be08ade
Using current url in open panel.
2020-05-06 11:14:31 -04:00
Gregory John Casamento
1f74bec01c
Add setCellClass: / cellClass
2020-05-06 10:52:40 -04:00
Gregory John Casamento
1e1e1043f8
Add point values
2020-05-06 10:45:07 -04:00
Gregory John Casamento
0e7f729f1f
Use represented object
2020-05-06 10:38:24 -04:00
Gregory John Casamento
7764903d6d
Make drawing use the component cell to render
2020-05-06 08:38:31 -04:00
Gregory John Casamento
c67ca273a9
Added performDragOperation:
2020-05-06 08:18:32 -04:00
Gregory John Casamento
1725e272c6
Delegate uncommented, removed setObjectValue and use super version.
2020-05-06 08:11:28 -04:00
Gregory John Casamento
5cb4e41d17
Use rectOfPathComponentCell: to determine the frames of cells to be drawn.
2020-05-06 07:56:37 -04:00
Gregory John Casamento
d3322b62f2
Add tracking
2020-05-06 04:55:10 -04:00
Gregory John Casamento
925b6f8e1b
Add method to get rects of clicked items.
2020-05-06 04:39:39 -04:00
Gregory John Casamento
96b094be5c
Implement encoding
2020-05-06 02:56:01 -04:00