Commit graph

7406 commits

Author SHA1 Message Date
Marcian Lytwyn
1d8e1bb0b5 Initial fix(es) for drawing table heading exceeding the end of the last table header column
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/branches/gnustep_testplant_branch@37727 72102866-910b-0410-8b05-ffd578937521
2014-03-06 16:48:06 +00:00
Marcian Lytwyn
c96089be04 Patch for possible string size caching problem for same strings
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/branches/gnustep_testplant_branch@37710 72102866-910b-0410-8b05-ffd578937521
2014-02-25 18:49:27 +00:00
Marcian Lytwyn
706eec3f24 Fix obscure exception case
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/branches/gnustep_testplant_branch@37709 72102866-910b-0410-8b05-ffd578937521
2014-02-24 22:18:38 +00:00
Frank Le Grand
f203fea7d7 2013-02-18 Frank Le Grand <frank.legrand@testplant.com>
* Source\NSCollectionView.m: Fixed a potential "index out
	of bounds" exception.

git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/branches/gnustep_testplant_branch@37696 72102866-910b-0410-8b05-ffd578937521
2014-02-19 03:40:26 +00:00
Jonathan Gillaspie
a9cac5d99a Back out last mod which was redundant and confusing
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/branches/gnustep_testplant_branch@37632 72102866-910b-0410-8b05-ffd578937521
2014-01-23 16:17:21 +00:00
Jonathan Gillaspie
a139d7094a Switch XIB cursor logs to Debug level
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/branches/gnustep_testplant_branch@37631 72102866-910b-0410-8b05-ffd578937521
2014-01-23 16:13:37 +00:00
Marcian Lytwyn
3860611cea NSTableView delegate/datasource protocol definitions
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/branches/gnustep_testplant_branch@37470 72102866-910b-0410-8b05-ffd578937521
2013-12-18 15:04:29 +00:00
Marcian Lytwyn
a02122130c Update GSXibLoader for 4.6 XIBs
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/branches/gnustep_testplant_branch@37462 72102866-910b-0410-8b05-ffd578937521
2013-12-13 16:10:32 +00:00
Jonathan Gillaspie
77016b7aa0 Fix for a problem with drop down indicators overlapping text
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/branches/gnustep_testplant_branch@37448 72102866-910b-0410-8b05-ffd578937521
2013-12-11 15:54:44 +00:00
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
0fe05a39f2 table view delegate methods incorrectly added to datasource protocol section
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/branches/gnustep_testplant_branch@37348 72102866-910b-0410-8b05-ffd578937521
2013-11-01 15:45:42 +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