Commit graph

5310 commits

Author SHA1 Message Date
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