Commit graph

5559 commits

Author SHA1 Message Date
Marcian Lytwyn
29a168d554 Position NSAlert panel
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/branches/gnustep_testplant_branch@38438 72102866-910b-0410-8b05-ffd578937521
2015-03-26 22:06:52 +00:00
Doug Simons
7bcce58ffe fix the save panel title to update correctly when it is set
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/branches/gnustep_testplant_branch@38437 72102866-910b-0410-8b05-ffd578937521
2015-03-26 20:03:54 +00:00
Marcian Lytwyn
1794273db5 Add gui/backend support for checking running service - windows only
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/branches/gnustep_testplant_branch@38435 72102866-910b-0410-8b05-ffd578937521
2015-03-26 19:52:49 +00:00
Paul Landers
76d6fd866f Fixed formatting in previous committ
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/branches/gnustep_testplant_branch@38431 72102866-910b-0410-8b05-ffd578937521
2015-03-23 22:09:14 +00:00
Paul Landers
fa2a23ea28 Expansion to Marcian's temporary patch to account for more levels of recursion.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/branches/gnustep_testplant_branch@38430 72102866-910b-0410-8b05-ffd578937521
2015-03-23 22:05:57 +00:00
Doug Simons
8457967877 explicitly tell the session window to displayIfNeeded after each event to fix [#5384]
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/branches/gnustep_testplant_branch@38402 72102866-910b-0410-8b05-ffd578937521
2015-03-12 01:13:03 +00:00
Marcian Lytwyn
687bada9e1 Revert last change
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/branches/gnustep_testplant_branch@38394 72102866-910b-0410-8b05-ffd578937521
2015-03-11 00:57:46 +00:00
Marcian Lytwyn
2df985f377 Patch for closing menus on window out/window move sequences
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/branches/gnustep_testplant_branch@38390 72102866-910b-0410-8b05-ffd578937521
2015-03-10 01:00:57 +00:00
Marcian Lytwyn
69cc06a981 Add menu event processing for table cell(s)
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/branches/gnustep_testplant_branch@38383 72102866-910b-0410-8b05-ffd578937521
2015-03-06 01:10:09 +00:00
Paul Landers
cf20f7bd79 Changed == to >= to fix a crash when layout_char is beyond the length of the string.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/branches/gnustep_testplant_branch@38306 72102866-910b-0410-8b05-ffd578937521
2015-01-29 18:22:17 +00:00
Paul Landers
0f6f11e24d Warning message when horizontal typesetter enters multiple levels of recursion
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/branches/gnustep_testplant_branch@38296 72102866-910b-0410-8b05-ffd578937521
2015-01-17 00:08:39 +00:00
Paul Landers
9785d080af Added case to menu autoenabler to disable supermenus that have empty submenus, when there is no validator.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/branches/gnustep_testplant_branch@38285 72102866-910b-0410-8b05-ffd578937521
2015-01-08 23:52:59 +00:00
Doug Simons
5c75af1e49 Fix bug with fieldEditor undo history carrying across between fields
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/branches/gnustep_testplant_branch@38282 72102866-910b-0410-8b05-ffd578937521
2015-01-08 20:32:49 +00:00
Paul Landers
cbb5eeabf6 Fixed two issues with tooltips. (a) locationInView was being converted twice, producing invalid coordinates the second time, when using a provider to get the tooltips. (b) Tooltips were not working if you had two tracking rects next to each other in the same view, when moving from one to the other, depending on the order they were processed, one could get the enter before the other's exit, thus canceling the timer.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/branches/gnustep_testplant_branch@38235 72102866-910b-0410-8b05-ffd578937521
2014-12-05 19:01:46 +00:00
Marcian Lytwyn
13202adda5 Create working stubs for table view batch insertions/removals of rows
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/branches/gnustep_testplant_branch@38234 72102866-910b-0410-8b05-ffd578937521
2014-12-04 21:55:21 +00:00
Marcian Lytwyn
290e5b3c34 Fix possible NSAttributedString return from data source objectValue invocation
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/branches/gnustep_testplant_branch@38233 72102866-910b-0410-8b05-ffd578937521
2014-12-04 20:11:20 +00:00
Marcian Lytwyn
6a5a809f9f Modified previous fix for cell set object value fix
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/branches/gnustep_testplant_branch@38232 72102866-910b-0410-8b05-ffd578937521
2014-12-04 18:46:10 +00:00
Marcian Lytwyn
1325ed9c44 Reset needs_display flag on valid subview draw complete
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/branches/gnustep_testplant_branch@38231 72102866-910b-0410-8b05-ffd578937521
2014-12-04 16:31:08 +00:00
Marcian Lytwyn
beec601756 Additional information in description method
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/branches/gnustep_testplant_branch@38230 72102866-910b-0410-8b05-ffd578937521
2014-12-04 16:12:01 +00:00
Marcian Lytwyn
f173b531ff Send text storage versus string for tableView:setObjectValue delegate invocation
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/branches/gnustep_testplant_branch@38229 72102866-910b-0410-8b05-ffd578937521
2014-12-04 16:10:28 +00:00
Marcian Lytwyn
3f1b7cb970 Fix initial cursor insertion location with paragraph alignment setting
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/branches/gnustep_testplant_branch@38228 72102866-910b-0410-8b05-ffd578937521
2014-12-04 16:02:07 +00:00
Marcian Lytwyn
fd815172ac Fix index beyond range in text attachment processing in mouseDown
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/branches/gnustep_testplant_branch@38227 72102866-910b-0410-8b05-ffd578937521
2014-12-03 18:49:58 +00:00
Marcian Lytwyn
0dc0c821f9 Fix tool bar item tool tips
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/branches/gnustep_testplant_branch@38225 72102866-910b-0410-8b05-ffd578937521
2014-12-02 21:09:22 +00:00
Marcian Lytwyn
34bcb2c7c4 Fix object ID parsing in XIB loading due to Apple moving to string ID represenatation
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/branches/gnustep_testplant_branch@38224 72102866-910b-0410-8b05-ffd578937521
2014-12-02 20:36:00 +00:00
Marcian Lytwyn
9065c08f32 Temporary patch fix to string caching for ONE LEVEL recursion
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/branches/gnustep_testplant_branch@38184 72102866-910b-0410-8b05-ffd578937521
2014-11-19 19:21:34 +00:00
Marcian Lytwyn
1c8a7e6f78 First attempt for fixes for new TableScript processing
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/branches/gnustep_testplant_branch@38166 72102866-910b-0410-8b05-ffd578937521
2014-11-11 16:53:30 +00:00
Paul Landers
6adda710e5 Open recent menu to clear items that have been deleted whenever it reloads.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/branches/gnustep_testplant_branch@38078 72102866-910b-0410-8b05-ffd578937521
2014-09-12 16:13:48 +00:00
Marcian Lytwyn
98a33c53db Some more progress indicator changes
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/branches/gnustep_testplant_branch@38036 72102866-910b-0410-8b05-ffd578937521
2014-08-05 02:52:03 +00:00
Marcian Lytwyn
5b0b613990 Ignore start animation if progress indicator view is set to hidden
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/branches/gnustep_testplant_branch@38035 72102866-910b-0410-8b05-ffd578937521
2014-08-04 21:53:24 +00:00
Marcian Lytwyn
1765fa3698 Ignore start animation if progress indicator view is set to hidden
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/branches/gnustep_testplant_branch@38034 72102866-910b-0410-8b05-ffd578937521
2014-08-04 21:22:13 +00:00
Marcian Lytwyn
a5e0050e55 Remove NSLog(s)
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/branches/gnustep_testplant_branch@38023 72102866-910b-0410-8b05-ffd578937521
2014-08-01 20:59:46 +00:00
Marcian Lytwyn
c008417ba0 Use windows-like spinning images for GNUstep (currently windows AND linux platforms)
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/branches/gnustep_testplant_branch@38022 72102866-910b-0410-8b05-ffd578937521
2014-08-01 20:46:33 +00:00
Doug Simons
61695272c5 Implemented NSMenu removeAllItems method
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/branches/gnustep_testplant_branch@37996 72102866-910b-0410-8b05-ffd578937521
2014-07-14 20:08:26 +00:00
Marcian Lytwyn
aa81e2bd56 Revert test code to original code
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/branches/gnustep_testplant_branch@37876 72102866-910b-0410-8b05-ffd578937521
2014-05-12 15:05:16 +00:00
Marcian Lytwyn
661a8c563a OOPS
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/branches/gnustep_testplant_branch@37872 72102866-910b-0410-8b05-ffd578937521
2014-05-08 16:58:01 +00:00
Marcian Lytwyn
b22abf4616 Patch to allow test to verify internal ICNS functionality on Linux/Windows platforms
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/branches/gnustep_testplant_branch@37871 72102866-910b-0410-8b05-ffd578937521
2014-05-08 16:40:32 +00:00
Marcian Lytwyn
3877d7c696 Additional fixes for 'screen' method processing
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/branches/gnustep_testplant_branch@37840 72102866-910b-0410-8b05-ffd578937521
2014-05-05 16:34:52 +00:00
Marcian Lytwyn
0176b9a65d Fix NSApplication check from rootObjects during XIB loading
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/branches/gnustep_testplant_branch@37827 72102866-910b-0410-8b05-ffd578937521
2014-05-01 15:16:01 +00:00
Doug Simons
59c88abfa0 fix root cause of NaN sizes
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/branches/gnustep_testplant_branch@37811 72102866-910b-0410-8b05-ffd578937521
2014-04-26 05:08:24 +00:00
Doug Simons
cf0a37304e prevent infinite recursion if width is NaN
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/branches/gnustep_testplant_branch@37810 72102866-910b-0410-8b05-ffd578937521
2014-04-25 17:02:48 +00:00
Doug Simons
a2c9a6f583 try to avoid infinite recursion by being less demanding about exact equality
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/branches/gnustep_testplant_branch@37809 72102866-910b-0410-8b05-ffd578937521
2014-04-24 22:20:56 +00:00
Doug Simons
0d02e513d8 try to avoid infinite recursion by being less demanding about exact equality
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/branches/gnustep_testplant_branch@37808 72102866-910b-0410-8b05-ffd578937521
2014-04-24 21:07:59 +00:00
Doug Simons
da72380580 improve editing behavior when formatter returns a new string
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/branches/gnustep_testplant_branch@37807 72102866-910b-0410-8b05-ffd578937521
2014-04-23 22:46:26 +00:00
Doug Simons
0b3df11864 restore correct behavior of _screenForFrame:, and fix cascadeTopLeftFromPoint: to correctly put window on screen if it is not on any screen
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/branches/gnustep_testplant_branch@37806 72102866-910b-0410-8b05-ffd578937521
2014-04-23 19:26:13 +00:00
Doug Simons
f845468150 roll back change to _screenForFrame: which could make it return nil
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/branches/gnustep_testplant_branch@37798 72102866-910b-0410-8b05-ffd578937521
2014-04-16 14:14:18 +00:00
Marcian Lytwyn
4e943952f5 Attempt to fix windows lost in space
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/branches/gnustep_testplant_branch@37790 72102866-910b-0410-8b05-ffd578937521
2014-04-07 16:19:28 +00:00
Frank Le Grand
ff37e4b2e8 Source\NSToolbarItem.m: Fixed a bug where calling setImage: on a toolbar item would draw the image even if the toolbar display mode would be set to NSToolbarDisplayModeLabelOnly
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/branches/gnustep_testplant_branch@37777 72102866-910b-0410-8b05-ffd578937521
2014-03-28 17:47:45 +00:00
Marcian Lytwyn
bee13c1d64 Field editor for NSCell should have it's textview/textcontainer sized to title rectangle height
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/branches/gnustep_testplant_branch@37746 72102866-910b-0410-8b05-ffd578937521
2014-03-15 17:13:13 +00:00
Marcian Lytwyn
79537b24bf Pass mouseDragged to window if mouseDown passed to window
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/branches/gnustep_testplant_branch@37745 72102866-910b-0410-8b05-ffd578937521
2014-03-12 13:38:08 +00:00
Marcian Lytwyn
a218e2f605 Table header view display update rectangle incorrect - patched for now
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/branches/gnustep_testplant_branch@37744 72102866-910b-0410-8b05-ffd578937521
2014-03-11 22:30:17 +00:00
Marcian Lytwyn
a241cb876d OOPS
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/branches/gnustep_testplant_branch@37731 72102866-910b-0410-8b05-ffd578937521
2014-03-07 13:47:25 +00:00
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
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
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
Marcian Lytwyn
8d7afe873e Copy values for NSContentValuesBinding option
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/branches/gnustep_testplant_branch@36194 72102866-910b-0410-8b05-ffd578937521
2013-02-23 22:31:29 +00:00
Marcian Lytwyn
38f2534170 Add NSContentValuesBinding option to NSPopupButton
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/branches/gnustep_testplant_branch@36193 72102866-910b-0410-8b05-ffd578937521
2013-02-23 22:29:16 +00:00
Doug Simons
3dab64bcc1 Don't unregister delegate notifications if same window delegate is set again
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/branches/gnustep_testplant_branch@36190 72102866-910b-0410-8b05-ffd578937521
2013-02-22 23:24:40 +00:00
Frank Le Grand
c9f3f71f41 Preliminary implementation of NSCollectionView.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/branches/gnustep_testplant_branch@36183 72102866-910b-0410-8b05-ffd578937521
2013-02-21 22:23:36 +00:00
Jonathan Gillaspie
b40571e9c5 Fix a problem where owner, firstResponder and application
were put in the list of top-level objects, creating a retain-cycle.  Fix a problem where view and window controllers did not release
their top-level objects as expected.

git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/branches/gnustep_testplant_branch@36127 72102866-910b-0410-8b05-ffd578937521
2013-02-13 20:18:52 +00:00
Doug Simons
562a722ac1 fix leak of NSXMLDocument during xib loading
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/branches/gnustep_testplant_branch@36126 72102866-910b-0410-8b05-ffd578937521
2013-02-13 18:41:24 +00:00
Doug Simons
8bfbc45fae get Fred's memory fix from trunk
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/branches/gnustep_testplant_branch@36125 72102866-910b-0410-8b05-ffd578937521
2013-02-13 16:59:29 +00:00
Frank Le Grand
bca3428387 Implemented focus rings around cell so editable cells in a NSTableView appear by default with a focus ring when being edited. Some minor adjustments will be required to make it work perfectly with other controls, such as NSMatrix, NSForm, and NSPopUpButton.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/branches/gnustep_testplant_branch@36066 72102866-910b-0410-8b05-ffd578937521
2013-02-06 20:32:45 +00:00
Frank Le Grand
21e571b923 Basic implementation of the default drag image from a TableView that mimic Cocoa's behavior
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/branches/gnustep_testplant_branch@36053 72102866-910b-0410-8b05-ffd578937521
2013-01-31 17:57:24 +00:00
Doug Simons
9658c439bd Allow a non-selected row to be dragged
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/branches/gnustep_testplant_branch@36051 72102866-910b-0410-8b05-ffd578937521
2013-01-31 17:02:40 +00:00
Frank Le Grand
fe5d19ee8e Reverted changes of previous commit to rollback unintentional reformatting of code in the files NSTableView.m and NSOutlineView.m.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/branches/gnustep_testplant_branch@36044 72102866-910b-0410-8b05-ffd578937521
2013-01-31 01:52:05 +00:00
Frank Le Grand
10ad99f43f Implemented basic Cocoa-like default drag image from a Table/Outline view. Currently only work on one-column table/outline views.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/branches/gnustep_testplant_branch@36041 72102866-910b-0410-8b05-ffd578937521
2013-01-30 20:43:30 +00:00
Marcian Lytwyn
6bf2a257c3 Fix font panel size background color - this broke when theme colors were added
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/branches/gnustep_testplant_branch@35898 72102866-910b-0410-8b05-ffd578937521
2012-12-16 02:12:13 +00:00
Marcian Lytwyn
9323d15e47 Compile in orderFrontCharacterPalette: and do nothing instead of not compiling in and throwing a run-time exception
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/branches/gnustep_testplant_branch@35897 72102866-910b-0410-8b05-ffd578937521
2012-12-16 00:06:56 +00:00
Marcian Lytwyn
43a41c50fc Fix drag and drop of file objects - invoke cleanUpAfterDragOperation on lastDragView on NSWindow and add cleanup code to cleanUpAfterDragOperation in NSTextView
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/branches/gnustep_testplant_branch@35896 72102866-910b-0410-8b05-ffd578937521
2012-12-15 04:50:05 +00:00
Marcian Lytwyn
09efaeba41 patches for recursive sequence causes crashes when screen mag set to 125%
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/branches/gnustep_testplant_branch@35883 72102866-910b-0410-8b05-ffd578937521
2012-12-12 20:32:02 +00:00
Jonathan Gillaspie
0f5b764553 Add back showsResizeIndicator that got dropped during a merge.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/branches/gnustep_testplant_branch@35792 72102866-910b-0410-8b05-ffd578937521
2012-11-14 01:08:52 +00:00
Marcian Lytwyn
17ebc6fcf0 Fix cascadeTopLeftFromPoint to select main screen if window is off screen
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/branches/gnustep_testplant_branch@35769 72102866-910b-0410-8b05-ffd578937521
2012-10-30 21:35:12 +00:00
Marcian Lytwyn
71738e0dea Adjust window position if screen widths are different
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/branches/gnustep_testplant_branch@35768 72102866-910b-0410-8b05-ffd578937521
2012-10-30 20:47:51 +00:00
Marcian Lytwyn
cdf826a4d0 reset _selected to nil at top of dealloc
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/branches/gnustep_testplant_branch@35767 72102866-910b-0410-8b05-ffd578937521
2012-10-30 20:10:12 +00:00
Marcian Lytwyn
68f35290c3 Clear background when transparent flag is set
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/branches/gnustep_testplant_branch@35763 72102866-910b-0410-8b05-ffd578937521
2012-10-29 20:33:47 +00:00
Marcian Lytwyn
1299ede1d7 Merge with latest changes from main branch
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/branches/gnustep_testplant_branch@35742 72102866-910b-0410-8b05-ffd578937521
2012-10-25 19:30:39 +00:00
Doug Simons
c1f5f72359 Revert my previous change, which failed to set the mouseWindowRef for non-GNUstep windows.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/branches/gnustep_testplant_branch@35736 72102866-910b-0410-8b05-ffd578937521
2012-10-25 04:20:25 +00:00
Marcian Lytwyn
0a05caf78a Add new file: NSViewPrivate.h
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/branches/gnustep_testplant_branch@35727 72102866-910b-0410-8b05-ffd578937521
2012-10-20 00:06:53 +00:00
Marcian Lytwyn
40c790fad5 Tooltips not showing up wth cairo
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/branches/gnustep_testplant_branch@35726 72102866-910b-0410-8b05-ffd578937521
2012-10-19 23:42:50 +00:00
Marcian Lytwyn
e5c4319f54 Re-apply fixes for MINGW and temporary patch
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/branches/gnustep_testplant_branch@35725 72102866-910b-0410-8b05-ffd578937521
2012-10-19 23:15:26 +00:00
Marcian Lytwyn
36e77b95f7 Merge from revision 35723 from main branch plus NSCell allowsUndo flag extract from xib
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/branches/gnustep_testplant_branch@35724 72102866-910b-0410-8b05-ffd578937521
2012-10-19 22:51:20 +00:00
Marcian Lytwyn
b155bbdc2d Check for zero screen frame in saved string
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/branches/gnustep_testplant_branch@35710 72102866-910b-0410-8b05-ffd578937521
2012-10-17 21:35:05 +00:00
Marcian Lytwyn
ea9cd504ba probably should adjust width/height before centering frame
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/branches/gnustep_testplant_branch@35709 72102866-910b-0410-8b05-ffd578937521
2012-10-17 20:29:57 +00:00
Marcian Lytwyn
2887e68d43 Fix bad MSWindow frame string restore, window resizing due to menu
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/branches/gnustep_testplant_branch@35708 72102866-910b-0410-8b05-ffd578937521
2012-10-17 20:10:28 +00:00
Marcian Lytwyn
f3b7ab026a Add -size method from 10.6
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/branches/gnustep_testplant_branch@35701 72102866-910b-0410-8b05-ffd578937521
2012-10-16 17:16:30 +00:00
Doug Simons
293c07c2f0 Ignore any window that ignoresMouseEvents when dragging
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/branches/gnustep_testplant_branch@35684 72102866-910b-0410-8b05-ffd578937521
2012-10-14 16:39:16 +00:00
Marcian Lytwyn
f59b23c3fe TEMPORARY updaste for cairo and tooltips
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/branches/gnustep_testplant_branch@35669 72102866-910b-0410-8b05-ffd578937521
2012-10-11 21:03:00 +00:00
Marcian Lytwyn
4c16370ff9 Log message correction
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/branches/gnustep_testplant_branch@35667 72102866-910b-0410-8b05-ffd578937521
2012-10-11 20:41:07 +00:00
Doug Simons
0daa47b6fc Fix -center to center on the main screen if window is off screen
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/branches/gnustep_testplant_branch@35655 72102866-910b-0410-8b05-ffd578937521
2012-10-08 21:47:53 +00:00
Jonathan Gillaspie
2dd7f9fdcb Just do a return; not a return nil; on a void funtion
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/branches/gnustep_testplant_branch@35630 72102866-910b-0410-8b05-ffd578937521
2012-10-03 20:02:29 +00:00
Marcian Lytwyn
c48f214053 Handle nil string from delegate completed string processing
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/branches/gnustep_testplant_branch@35629 72102866-910b-0410-8b05-ffd578937521
2012-10-03 18:28:28 +00:00
Marcian Lytwyn
894510e18d XBI load retain cycle should ignore file's owner, first responder and NSApplication
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/branches/gnustep_testplant_branch@35628 72102866-910b-0410-8b05-ffd578937521
2012-10-03 17:09:59 +00:00
Jonathan Gillaspie
f8ce5cf7c3 Ignore a call to setToolTip on an NSCell. This can be set in XIBs from Apple
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/branches/gnustep_testplant_branch@35622 72102866-910b-0410-8b05-ffd578937521
2012-10-03 01:32:06 +00:00
Marcian Lytwyn
9e04422b24 Prevent recursive notification sequence
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/branches/gnustep_testplant_branch@35617 72102866-910b-0410-8b05-ffd578937521
2012-09-28 20:41:14 +00:00
Marcian Lytwyn
e80b42db50 Add font/setFont methods to NSTextStorage
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/branches/gnustep_testplant_branch@35588 72102866-910b-0410-8b05-ffd578937521
2012-09-21 20:56:05 +00:00
Marcian Lytwyn
18e11c87ef Add fillColor/setFillColor to NSBox
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/branches/gnustep_testplant_branch@35578 72102866-910b-0410-8b05-ffd578937521
2012-09-19 21:30:28 +00:00
Marcian Lytwyn
3dc7b38bc7 Warn when application tries to access display server on background threads
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/branches/gnustep_testplant_branch@35577 72102866-910b-0410-8b05-ffd578937521
2012-09-19 21:29:40 +00:00
Marcian Lytwyn
ed7a880a0c Fix tab selection on add/insert/remove
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/branches/gnustep_testplant_branch@35564 72102866-910b-0410-8b05-ffd578937521
2012-09-12 00:36:49 +00:00
Marcian Lytwyn
a0564c8ee4 addSubview should not throw exception on nil view (behavior does not match OSX)
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/branches/gnustep_testplant_branch@35560 72102866-910b-0410-8b05-ffd578937521
2012-09-10 20:51:58 +00:00
Marcian Lytwyn
121b601eb0 Fix open/save panel runModal - should only default dir
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/branches/gnustep_testplant_branch@35541 72102866-910b-0410-8b05-ffd578937521
2012-09-09 00:52:57 +00:00
Marcian Lytwyn
317dfe3470 Add flag for controlling recursive validation invocation loop
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/branches/gnustep_testplant_branch@35529 72102866-910b-0410-8b05-ffd578937521
2012-09-04 21:44:17 +00:00
Jonathan Gillaspie
3a023b859a Source/NSWorkspace.m: Log if we have a distributed lock error instead of raise fatally.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/branches/gnustep_testplant_branch@35526 72102866-910b-0410-8b05-ffd578937521
2012-09-04 20:21:31 +00:00
Marcian Lytwyn
caae5ea873 unbind all in dealloc
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/branches/gnustep_testplant_branch@35523 72102866-910b-0410-8b05-ffd578937521
2012-09-04 17:09:54 +00:00
Marcian Lytwyn
508b45d371 Expose title binding
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/branches/gnustep_testplant_branch@35522 72102866-910b-0410-8b05-ffd578937521
2012-09-04 16:48:08 +00:00
Marcian Lytwyn
0c5c7ed17e Init _selected_item in initWithCode
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/branches/gnustep_testplant_branch@35521 72102866-910b-0410-8b05-ffd578937521
2012-09-04 16:47:03 +00:00
Gregory John Casamento
bed52af8c3 Merge.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/branches/gnustep_testplant_branch@35515 72102866-910b-0410-8b05-ffd578937521
2012-09-04 02:36:01 +00:00
Gregory John Casamento
34ea78114d Merge.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/branches/gnustep_testplant_branch@35513 72102866-910b-0410-8b05-ffd578937521
2012-09-04 02:06:51 +00:00
Marcian Lytwyn
040da4f332 Patch fix for custom class substition - TEMPORARY
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/branches/gnustep_testplant_branch@35507 72102866-910b-0410-8b05-ffd578937521
2012-09-03 20:48:10 +00:00
Marcian Lytwyn
0520b35f07 Implement toolTip/setToolTip for NSTabViewItem - NOT TIED IN YET
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/branches/gnustep_testplant_branch@35506 72102866-910b-0410-8b05-ffd578937521
2012-09-03 20:39:02 +00:00
Marcian Lytwyn
781794e998 Implement showsResizeIndicator method
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/branches/gnustep_testplant_branch@35505 72102866-910b-0410-8b05-ffd578937521
2012-09-03 20:38:03 +00:00
Gregory John Casamento
3761e33981 change to id
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/branches/gnustep_testplant_branch@35498 72102866-910b-0410-8b05-ffd578937521
2012-09-02 19:20:47 +00:00
Gregory John Casamento
85a9492d22 Merge
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/branches/gnustep_testplant_branch@35497 72102866-910b-0410-8b05-ffd578937521
2012-09-02 19:18:21 +00:00
Gregory John Casamento
7fdbf3c5d0 Merge to branch.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/branches/gnustep_testplant_branch@35495 72102866-910b-0410-8b05-ffd578937521
2012-09-02 18:07:52 +00:00
Gregory John Casamento
7e684669ed * Source/GSXibLoader.m: Merge from trunk
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/branches/gnustep_testplant_branch@35486 72102866-910b-0410-8b05-ffd578937521
2012-08-31 20:34:35 +00:00
Gregory John Casamento
7b1a15cd96 * Source/GSXibLoader.m
* Source/GSXibLoading.m: Merge from trunk of new XIB fixes.



git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/branches/gnustep_testplant_branch@35483 72102866-910b-0410-8b05-ffd578937521
2012-08-31 16:57:39 +00:00
Marcian Lytwyn
37d5e64967 Modify WinNSOpenPanel to utilize base classes directory attribute variable
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/branches/gnustep_testplant_branch@35464 72102866-910b-0410-8b05-ffd578937521
2012-08-27 16:43:09 +00:00
Marcian Lytwyn
0cb5167322 Save NSURL (from rep) before trying to replace so it's available if the NSImageRep fails
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/branches/gnustep_testplant_branch@35406 72102866-910b-0410-8b05-ffd578937521
2012-08-13 22:37:18 +00:00
Marcian Lytwyn
b5f4b49fdb TEMP FIX for missing helvetica font
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/branches/gnustep_testplant_branch@35375 72102866-910b-0410-8b05-ffd578937521
2012-08-08 22:46:54 +00:00
Gregory John Casamento
eee9416e6b Merging changes from the trunk to the branch for testplant for NSImage changes.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/branches/gnustep_testplant_branch@35317 72102866-910b-0410-8b05-ffd578937521
2012-07-24 17:04:52 +00:00
Marcian Lytwyn
d888d2ec77 Fixed multi-screen support on window frame restore
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/branches/gnustep_testplant_branch@35241 72102866-910b-0410-8b05-ffd578937521
2012-06-27 18:10:40 +00:00
Marcian Lytwyn
91399c7d53 Added NSOpenSavePanelDelegate
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/branches/gnustep_testplant_branch@35237 72102866-910b-0410-8b05-ffd578937521
2012-06-27 17:50:57 +00:00
Marcian Lytwyn
1b5f5d337a Added NSControlTextEditingDelegate
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/branches/gnustep_testplant_branch@35236 72102866-910b-0410-8b05-ffd578937521
2012-06-27 17:49:57 +00:00
Germán Arias
60f4f3c880 Revert last change in GSWindowDecorationView.m while found the real problem
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@35205 72102866-910b-0410-8b05-ffd578937521
2012-06-15 18:45:14 +00:00
Eric Wasylishen
a92d331704 * Source/NSSplitView.m (adjustSubviews): Use centerScanRect to
give subviews pixel-aligned frames.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@35199 72102866-910b-0410-8b05-ffd578937521
2012-06-13 06:30:42 +00:00
Germán Arias
2495374d27 Use the font size in user defaults for tooltips
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@35185 72102866-910b-0410-8b05-ffd578937521
2012-06-08 04:43:06 +00:00
Germán Arias
6e3e481071 Fix bugs #36419 and #36586
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@35183 72102866-910b-0410-8b05-ffd578937521
2012-06-07 18:46:44 +00:00
Wolfgang Lux
70fe303412 Prevent potential crashes due to invalid pointers left in text
containers and layout managers when their respective layout manager
and text storage are deallocated.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@35178 72102866-910b-0410-8b05-ffd578937521
2012-06-05 11:34:02 +00:00
Wolfgang Lux
1dd7be22f7 Update text storage directly when undoing text changes in a NSTextView
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@35175 72102866-910b-0410-8b05-ffd578937521
2012-06-02 22:31:54 +00:00
Gregory John Casamento
f8c5c4673d * Source/GSXibLoader.m:
Added NSMenu (XibCompatibility) category with method: _isMainMenu
	Added NSMenu (XibCompatibility) category implementation.
        Modified setting main menu in awake:inContainer:withContext:
	Fixes bug #36427
	Committed by: gcasa



git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@35159 72102866-910b-0410-8b05-ffd578937521
2012-05-21 17:56:05 +00:00
Fred Kiefer
82a110d152 * Headers/AppKit/NSInterfaceStyle.h: Remove GSNativeInterfaceStyle.
* Source/NSComboBoxCell.m (-encodeWithCoder:, -initWithCoder:):
Add a few more keyed coding values. Fixes bug #36426.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@35146 72102866-910b-0410-8b05-ffd578937521
2012-05-07 20:21:59 +00:00
Fred Kiefer
023f0030e2 * Source/GSXibLoader.m: Add some (currently unused) helper code
for class substitution in flattenedProperties.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@35138 72102866-910b-0410-8b05-ffd578937521
2012-05-05 16:49:43 +00:00
Fred Kiefer
74139f4848 * Source/NSPasteboard.m (NSURL-writeToPasteboard:): Revert the
last change.
* Source/NSWorkspace.m (-openURL:): Declare the URL pasteboard
type here.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@35110 72102866-910b-0410-8b05-ffd578937521
2012-04-24 16:54:53 +00:00
Fred Kiefer
ea5e2a3c97 * Source/NSPasteboard.m (NSURL-writeToPasteboard:): Declare the type.
Patch by Andreas Schik <andreas.schik@web.de>.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@35109 72102866-910b-0410-8b05-ffd578937521
2012-04-24 07:48:53 +00:00
Fred Kiefer
323e1dc02f * Source/NSTabView.m (+initialize): Increase version number.
* Source/NSTabView.m (-encodeWithCoder:, -decodeWithCoder:):
Clean up last patch.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@35054 72102866-910b-0410-8b05-ffd578937521
2012-04-10 21:42:25 +00:00
Sebastian Reitenbach
e65c5bc665 some int/NSInteger to NSUInteger changes to better
match return values of methods

OK Fred Kiefer



git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@35052 72102866-910b-0410-8b05-ffd578937521
2012-04-10 07:16:36 +00:00
Fred Kiefer
4efed91607 * Source/NSMenuItem.m (GSMenuSeparator -classForCoder): Add
missing method to get separator coding correct.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@35023 72102866-910b-0410-8b05-ffd578937521
2012-04-02 20:51:06 +00:00
Eric Wasylishen
c500d8379f * Source/NSCell.m (_updateFieldEditor:): Fix what I presume is
a typo. The "if (nil == _contents) { contents = @""; }" blocks were
dead code because the contents variable would later
be set to nil if _contents was nil. This was causing an exception
when starting editing an empty text field loaded from a xib.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@35011 72102866-910b-0410-8b05-ffd578937521
2012-03-27 19:26:17 +00:00
Eric Wasylishen
a900e2f5cb * Headers/AppKit/NSSplitView.h:
* Source/NSSplitView.m: Add support for
splitView:shouldAdjustSizeOfSubview: delegate method.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@35002 72102866-910b-0410-8b05-ffd578937521
2012-03-27 04:32:57 +00:00
Eric Wasylishen
32aa3f4c83 * Source/GSToolTips.m (-mouseEntered:): When calling the owner's
view:stringForToolTip:point:userData: method, make the point
relative to the view's coordinate system (tested on OS X) instead
of relative to the tracking rect (as before.)
* Source/GSToolTips.m (-_timedOut:): Fix a crash caused by
invalidating the timer and then using its userInfo object.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@35000 72102866-910b-0410-8b05-ffd578937521
2012-03-27 03:38:59 +00:00
Eric Wasylishen
62a3374ae9 * Source/NSAttributedString.m
(-initWithData:options:documentAttributes:error:): Set
NSCharacterEncodingDocumentAttribute in the documentAttributes dict
when reading plain text.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@34987 72102866-910b-0410-8b05-ffd578937521
2012-03-23 03:16:40 +00:00
Eric Wasylishen
9345069a14 * Source/NSAttributedString.m
(-initWithData:options:documentAttributes:error:): Fixes for TextEdit.
If no type is provided, assume plain text. If no encoding is provided,
assume UTF-8 unless a UTF-16 BOM is detected.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@34985 72102866-910b-0410-8b05-ffd578937521
2012-03-23 01:40:11 +00:00
Eric Wasylishen
93ca7c0e0e * Source/GSThemeDrawing.m (-toolbarBorderColor): Change default to
[NSColor darkGrayColor]
* Source/NSToolbar.m (-initWithIdentifier:): Call
[self setShowsBaselineSeparator: YES] by default so the toolbar has
a bottom border.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@34983 72102866-910b-0410-8b05-ffd578937521
2012-03-22 23:11:44 +00:00
Fred Kiefer
e8d2648aca * Headers/AppKit/NSKeyValueBinding.h,
* Source/externs.m: Additional binding names.
* Source/GSBindingHelpers.h,
* Source/NSKeyValueBinding.m: Additional helper methods.
* Source/NSObjectController.m: Use helper methods.
* Source/NSArrayController.m: Signal when the arranged objects
change.
* Source/NSTableColumn.m,
* Source/NSTableView.m: First attempt at support for content
binding.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@34923 72102866-910b-0410-8b05-ffd578937521
2012-03-12 12:24:17 +00:00
Eric Wasylishen
df87a9f362 * Source/NSTableView.m:
* Source/GSNibLoading.m: Move -[coder setClassName: @"_NSCornerView"
forClass: [GSTableCornerView class]] call from
-[NSTableView initWithCoder:] to GSNibLoading, because corner views
can be encountered before hitting -[NSTableView initWithCoder:]


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@34919 72102866-910b-0410-8b05-ffd578937521
2012-03-09 23:18:18 +00:00
Eric Wasylishen
325a56881f * Source/NSClipView.m: Re-enable copy-on-scroll
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@34918 72102866-910b-0410-8b05-ffd578937521
2012-03-09 22:28:59 +00:00