Commit graph

5350 commits

Author SHA1 Message Date
Jonathan Gillaspie
364e2295e2 Add a log when we have an invalid drop item
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/branches/gnustep_testplant_branch@37447 72102866-910b-0410-8b05-ffd578937521
2013-12-11 15:51:30 +00:00
Marcian Lytwyn
daf7281a96 Fix NSOutlineView to conform to fixed NSTableView
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/branches/gnustep_testplant_branch@37446 72102866-910b-0410-8b05-ffd578937521
2013-12-10 19:54:07 +00:00
Marcian Lytwyn
813b317275 Revert to using instance var for _numberOfRows but leave numberOfRows subclass processing fix
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/branches/gnustep_testplant_branch@37443 72102866-910b-0410-8b05-ffd578937521
2013-12-10 01:30:28 +00:00
Marcian Lytwyn
ab663c24b3 Need NSTableView to conform to Cocoa behavior
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/branches/gnustep_testplant_branch@37439 72102866-910b-0410-8b05-ffd578937521
2013-12-07 20:51:40 +00:00
Marcian Lytwyn
7bfd4dfad0 hit test processed with row == -1
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/branches/gnustep_testplant_branch@37360 72102866-910b-0410-8b05-ffd578937521
2013-11-04 16:37:06 +00:00
Marcian Lytwyn
e1498b311a Table view and cell drawing updates
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/branches/gnustep_testplant_branch@37351 72102866-910b-0410-8b05-ffd578937521
2013-11-01 23:20:18 +00:00
Marcian Lytwyn
b951ff0d8b Missed a isGroupRow without a responder check
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/branches/gnustep_testplant_branch@37349 72102866-910b-0410-8b05-ffd578937521
2013-11-01 20:19:04 +00:00
Marcian Lytwyn
0122926822 tableView and NSCell processing and drawing updates
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/branches/gnustep_testplant_branch@37347 72102866-910b-0410-8b05-ffd578937521
2013-11-01 15:35:17 +00:00
Marcian Lytwyn
731714853b Optimize group cell gradient drawing
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/branches/gnustep_testplant_branch@37339 72102866-910b-0410-8b05-ffd578937521
2013-10-31 16:17:28 +00:00
Marcian Lytwyn
cdfe249de8 Update NSTableView processing to handle grouped row cells
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/branches/gnustep_testplant_branch@37336 72102866-910b-0410-8b05-ffd578937521
2013-10-30 20:55:04 +00:00
Frank Le Grand
c216a53d91 Source\NSCursor.m: Added class method "resetStack" that is used by the backend to determine when we hit a non-client area of the window.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/branches/gnustep_testplant_branch@37270 72102866-910b-0410-8b05-ffd578937521
2013-10-21 17:59:13 +00:00
Frank Le Grand
c6fdf580ff Fixed bug introduced in my last commit on the Ibeam cursor issue.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/branches/gnustep_testplant_branch@37216 72102866-910b-0410-8b05-ffd578937521
2013-10-10 18:12:15 +00:00
Frank Le Grand
44c6dfb650 Added a small hack to work around and Ibeam cursor image inserted in XIB files by Xcode, which would not be found in the project and therefore was substituted with the default arrow cursor.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/branches/gnustep_testplant_branch@37189 72102866-910b-0410-8b05-ffd578937521
2013-10-03 20:20:25 +00:00
Frank Le Grand
4d5c80b58c Fixed a bug introduced in rev #37069 where autocomplete was no longer working unless we were at the beginning or end of a text.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/branches/gnustep_testplant_branch@37179 72102866-910b-0410-8b05-ffd578937521
2013-10-01 15:41:37 +00:00
Frank Le Grand
d1662e45b0 Removed an NSLog that was forgotten in previous commit.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/branches/gnustep_testplant_branch@37074 72102866-910b-0410-8b05-ffd578937521
2013-09-12 17:25:10 +00:00
Marcian Lytwyn
5bebf8d94e Temporary revert to fix auto-complete window processing
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/branches/gnustep_testplant_branch@37070 72102866-910b-0410-8b05-ffd578937521
2013-09-11 18:43:55 +00:00
Marcian Lytwyn
45c1de514f Auto complete not working if chars typed in after quote, slash, etc
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/branches/gnustep_testplant_branch@37069 72102866-910b-0410-8b05-ffd578937521
2013-09-11 17:55:12 +00:00
Frank Le Grand
624a62d838 Applied a fix/workaround to an issue where a toolbar would cease from validating itself after its window was closed and re-opened.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/branches/gnustep_testplant_branch@37068 72102866-910b-0410-8b05-ffd578937521
2013-09-11 16:54:56 +00:00
Marcian Lytwyn
a9e4f72f54 Save undo sequences for only LAST auto-completion selected or UNDO on cancelled auto-completion
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/branches/gnustep_testplant_branch@37051 72102866-910b-0410-8b05-ffd578937521
2013-09-09 01:54:02 +00:00
Frank Le Grand
2929f8aed8 Source\NSBrowser.m: Fixed a bug where setting the path to "/" would not deselect the cells.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/branches/gnustep_testplant_branch@37041 72102866-910b-0410-8b05-ffd578937521
2013-09-04 18:15:55 +00:00
Marcian Lytwyn
3ed2a612ad Remove hardcoded escape key processing in NSTextView.m:keyDown method added previously, add binding processing code for escape key, add default escape key binding to complete: method
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/branches/gnustep_testplant_branch@37037 72102866-910b-0410-8b05-ffd578937521
2013-09-03 22:36:08 +00:00
Marcian Lytwyn
6f19ceff5f First pass: autocompletion exception fix and invocation
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/branches/gnustep_testplant_branch@37036 72102866-910b-0410-8b05-ffd578937521
2013-09-03 20:50:16 +00:00
Frank Le Grand
bbc245709a Fixed NSAttributedString.m to always do a font substitution when necessary on unicode characters.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/branches/gnustep_testplant_branch@37023 72102866-910b-0410-8b05-ffd578937521
2013-08-28 03:11:51 +00:00
Doug Simons
68a8e6c19f fixed _didInvalidateLayout to properly reset internal state
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/branches/gnustep_testplant_branch@37019 72102866-910b-0410-8b05-ffd578937521
2013-08-26 21:19:31 +00:00
Frank Le Grand
425fbcd681 Fixed a bug in NSTabView where the nextKeyView was being set to a dealloc'd view after closing all tabs and reopening one.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/branches/gnustep_testplant_branch@37015 72102866-910b-0410-8b05-ffd578937521
2013-08-23 21:33:02 +00:00
Frank Le Grand
c1baac77be Fixed typo in [NSCursor resizeNESWCursor] method name.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/branches/gnustep_testplant_branch@37013 72102866-910b-0410-8b05-ffd578937521
2013-08-23 16:31:38 +00:00
Frank Le Grand
94976243dd Added bi-directional diagonal mouse cursors to standard cursors
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/branches/gnustep_testplant_branch@37012 72102866-910b-0410-8b05-ffd578937521
2013-08-23 16:09:17 +00:00
Frank Le Grand
4b27157a46 Merged Trunk changes from rev 35219 to TestPlant branch.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/branches/gnustep_testplant_branch@36953 72102866-910b-0410-8b05-ffd578937521
2013-08-09 14:24:48 +00:00
Marcian Lytwyn
343da32c8c Remove patch for MINGW to terminate all backend windows due to non-retained backing types problem on MSWindows/cairo
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/branches/gnustep_testplant_branch@36908 72102866-910b-0410-8b05-ffd578937521
2013-07-20 16:34:26 +00:00
Marcian Lytwyn
417d2f9a54 Revert original right display code - fixed in theme
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/branches/gnustep_testplant_branch@36869 72102866-910b-0410-8b05-ffd578937521
2013-07-10 20:25:50 +00:00
Marcian Lytwyn
3b710d1c37 Popup menu display broken on linux
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/branches/gnustep_testplant_branch@36865 72102866-910b-0410-8b05-ffd578937521
2013-07-10 15:59:56 +00:00
Marcian Lytwyn
d8aa0014eb Attempt fix for constant re-display of view problem
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/branches/gnustep_testplant_branch@36779 72102866-910b-0410-8b05-ffd578937521
2013-06-30 18:23:05 +00:00
Marcian Lytwyn
03f832152f Remove extraneous NSLog
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/branches/gnustep_testplant_branch@36778 72102866-910b-0410-8b05-ffd578937521
2013-06-30 18:22:24 +00:00
Marcian Lytwyn
139c233e05 Use theme's displayPopUpMenu method rather than rightMouseDisplay to inform which window we want it in
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/branches/gnustep_testplant_branch@36721 72102866-910b-0410-8b05-ffd578937521
2013-06-11 23:51:18 +00:00
Marcian Lytwyn
1b649920e9 Force window(s) to primary screen if restored frame string is invalid
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/branches/gnustep_testplant_branch@36720 72102866-910b-0410-8b05-ffd578937521
2013-06-11 23:49:28 +00:00
Frank Le Grand
7ac1d3dd1c When adding subviews (items) to a NSCollectionView we need to set them in a non-visible area first so they don't get drawn in front of a view when the collection view is behind the latter.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/branches/gnustep_testplant_branch@36583 72102866-910b-0410-8b05-ffd578937521
2013-04-25 20:43:58 +00:00
Frank Le Grand
588eab8526 Fixed an NSRangeException that would get raised in drawRect: when we have an empty content array by explicitly casting values to int in the MIN macro.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/branches/gnustep_testplant_branch@36580 72102866-910b-0410-8b05-ffd578937521
2013-04-24 16:47:43 +00:00
Doug Simons
6f9a0ad102 Add support for NSLineBreakByTruncatingHead/Tail/Middle line break modes
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/branches/gnustep_testplant_branch@36562 72102866-910b-0410-8b05-ffd578937521
2013-04-22 20:12:01 +00:00
Frank Le Grand
cd9c1f8d04 NSImageView sends mouseDown: to it's nextResponder when it is not editable, as it seems to do in Cocoa.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/branches/gnustep_testplant_branch@36549 72102866-910b-0410-8b05-ffd578937521
2013-04-19 20:50:24 +00:00
Frank Le Grand
7e9050993d - (NSIndexSet *) selectedColumnIndexes and - (NSIndexSet *) selectedRowIndexes should return an autoreleased copy of the corresponding ivar. Returning a reference to the ivar leads to issues (and behavior different from Cocoa) when iterating thru the indexsets if at a time they would be being altered.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/branches/gnustep_testplant_branch@36548 72102866-910b-0410-8b05-ffd578937521
2013-04-18 23:06:57 +00:00
Marcian Lytwyn
03e73ef171 Use NSPopupButton addItemsWithTitles method
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/branches/gnustep_testplant_branch@36534 72102866-910b-0410-8b05-ffd578937521
2013-04-14 23:46:50 +00:00
Jonathan Gillaspie
9015fa656e Log instead of raise fatal exceptions when unable to obtain a Distributed lock during application launch notification.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/branches/gnustep_testplant_branch@36359 72102866-910b-0410-8b05-ffd578937521
2013-03-14 00:00:10 +00:00
Frank Le Grand
9f1f9be84e Fixed call to delegate method collectionView:validateDrop:proposedIndex:dropOperation where we were passing integers instead of their reference.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/branches/gnustep_testplant_branch@36339 72102866-910b-0410-8b05-ffd578937521
2013-03-11 16:25:00 +00:00
Frank Le Grand
d3b8f3ae90 Finalized drag&drop on NSCollectionView, fixed a bug in NSTabView where the nextKeyView was being set to a dealloc'd view after closing all tabs and reopening one.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/branches/gnustep_testplant_branch@36314 72102866-910b-0410-8b05-ffd578937521
2013-03-08 22:59:40 +00:00
Frank Le Grand
efc1c707a0 Added support for drag&drop in NSCollectionView. Work in progress, the little animation on dropping in the collection needs to be improved.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/branches/gnustep_testplant_branch@36299 72102866-910b-0410-8b05-ffd578937521
2013-03-07 23:57:49 +00:00
Frank Le Grand
05538a1b5c #1995 Fixed a bug where dragging the mouse in the empty area of a tableview was causing an exception.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/branches/gnustep_testplant_branch@36298 72102866-910b-0410-8b05-ffd578937521
2013-03-07 23:09:33 +00:00
Frank Le Grand
cc357289fa Added Drag&Drop methods on NSCollectionView. Work in progress...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/branches/gnustep_testplant_branch@36283 72102866-910b-0410-8b05-ffd578937521
2013-03-06 00:05:18 +00:00
Frank Le Grand
b8cf0d6957 Improvements in working with selection indexes in NSCollectionView.m
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/branches/gnustep_testplant_branch@36266 72102866-910b-0410-8b05-ffd578937521
2013-03-04 16:40:21 +00:00
Frank Le Grand
d1bb44a910 Adding-on to our -in progress- work on Collection View.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/branches/gnustep_testplant_branch@36211 72102866-910b-0410-8b05-ffd578937521
2013-03-01 00:04:56 +00:00
Marcian Lytwyn
f62f56695d Autorelease copy values when adding during NSContentValuesBinding option processing
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/branches/gnustep_testplant_branch@36195 72102866-910b-0410-8b05-ffd578937521
2013-02-24 00:32:45 +00:00