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