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