Wolfgang Lux
d22c6be29f
Attempt to improve a possibly misleading comment about releasing top
...
level objects of a gorm/nib file.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@30074 72102866-910b-0410-8b05-ffd578937521
2010-03-30 07:09:44 +00:00
Fred Kiefer
6b262e278b
This should have been in the previous commit instead of NSPasteboard.h
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@30071 72102866-910b-0410-8b05-ffd578937521
2010-03-28 21:34:13 +00:00
Fred Kiefer
504a5c2064
Rewrite of top level object handling in NIB/Gorm/Xib loading.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@30070 72102866-910b-0410-8b05-ffd578937521
2010-03-28 21:33:08 +00:00
Wolfgang Lux
4e3817c049
Implement additional NSResponder action methods to scroll to the
...
beginning and end of a document, respectively.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@30057 72102866-910b-0410-8b05-ffd578937521
2010-03-27 22:03:34 +00:00
Wolfgang Lux
bed9ea8c64
Change move word forwoard to move to the next end of a word rather
...
than the beginning of the next word so users can quickly navigate to
either end of words.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@30056 72102866-910b-0410-8b05-ffd578937521
2010-03-27 21:51:33 +00:00
Wolfgang Lux
f3b6c1fe6f
Usability improvements: When setting the cursor to the beginning of a
...
line, set the typing attributes to the attributes of the first character
of that line rather than the preceding newline. When deleting text, set
the typing attributes to those of the first deleted character rather
than those of the character preceding the deleted range.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@30055 72102866-910b-0410-8b05-ffd578937521
2010-03-27 21:41:29 +00:00
Wolfgang Lux
ca3261653b
Allow shift-clicking in a text view to shrink the current selection.
...
Comes handy when you accidentally selected a few characters too much.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@30054 72102866-910b-0410-8b05-ffd578937521
2010-03-27 21:29:02 +00:00
Wolfgang Lux
79ef3c7045
Select pasted text in a text view after a DnD operation.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@30053 72102866-910b-0410-8b05-ffd578937521
2010-03-27 21:17:00 +00:00
Wolfgang Lux
04e0376187
Show a document's represented file name in the title of its window
...
also when its display name is equal to the last path component of the
file name, since that is what NSDocument uses by default for
compatibility with OS X.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@30052 72102866-910b-0410-8b05-ffd578937521
2010-03-27 21:06:45 +00:00
Wolfgang Lux
4dd7da00e0
Extend lifetime of a window controller to the end of the current event
...
cycle when its window is closed to prevent crashes due to a premature
release after the latest nib loading changes.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@30051 72102866-910b-0410-8b05-ffd578937521
2010-03-27 20:53:48 +00:00
David Chisnall
a9ba2e5e77
Removed all uses of @defs() from -gui, so it now compiles cleanly with the non-fragile ABI. All ivars that must be accessed from other classes are now wrapped in PACKAGE_SCOPE. With clang, this expands to @package, with GCC it expands to @public.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@30045 72102866-910b-0410-8b05-ffd578937521
2010-03-27 00:01:03 +00:00
Riccardo Mottola
1f6a5b28c2
removed c99-isms
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@30041 72102866-910b-0410-8b05-ffd578937521
2010-03-26 00:10:45 +00:00
Fred Kiefer
53381f6992
Some more #include -> #import replacement.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@30036 72102866-910b-0410-8b05-ffd578937521
2010-03-25 21:30:28 +00:00
Fred Kiefer
717ed845d0
* Source/GSNibLoading.m (NSIBObjectData-nibInstantiateWithOwner:topLevelObjects:): Loop
...
over _names instead of _objects.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@30035 72102866-910b-0410-8b05-ffd578937521
2010-03-25 20:41:06 +00:00
Fred Kiefer
6483053f29
Yet another bit of #include -> #import replacement. Replace includes of Foundation.h.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@30034 72102866-910b-0410-8b05-ffd578937521
2010-03-25 09:11:50 +00:00
Fred Kiefer
0d78f7f50a
Another bit of #include -> #import replacement.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@30033 72102866-910b-0410-8b05-ffd578937521
2010-03-24 22:41:21 +00:00
Doug Simons
27dd5c1a82
use NSPanel instead of NSWindow for tooltips
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@30030 72102866-910b-0410-8b05-ffd578937521
2010-03-24 17:14:34 +00:00
Fred Kiefer
00ab729bdd
Next bit of #include -> #import replacement.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@30029 72102866-910b-0410-8b05-ffd578937521
2010-03-24 09:18:14 +00:00
Fred Kiefer
9f4fd26405
Change tag to NSInteger.
...
Patch by Anibal Rindisbacher <anibal784@gmail.com>.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@30026 72102866-910b-0410-8b05-ffd578937521
2010-03-23 21:26:24 +00:00
Fred Kiefer
ff5d0e7c13
* Source/NSTextContainer.m (-replaceLayoutManager:): Retain the
...
text storage while replacing the layout manager. See last patch.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@30025 72102866-910b-0410-8b05-ffd578937521
2010-03-23 20:27:23 +00:00
Fred Kiefer
42b91d0695
Small improvements on XIB loading.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@30023 72102866-910b-0410-8b05-ffd578937521
2010-03-23 07:15:17 +00:00
Fred Kiefer
68ce541e5d
Fix issues with last commit.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@30019 72102866-910b-0410-8b05-ffd578937521
2010-03-22 21:25:35 +00:00
Fred Kiefer
d205cd7f9e
Get the class NSNib to work and use it in NSBundleAdditions.
...
Restructure top level object handling for NIB loading.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@30018 72102866-910b-0410-8b05-ffd578937521
2010-03-22 09:08:50 +00:00
Fred Kiefer
ef7e4a291b
Workaround for Bean NIB loading issue.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@30016 72102866-910b-0410-8b05-ffd578937521
2010-03-21 23:27:47 +00:00
Eric Wasylishen
aaf93b224a
Fix for NSSearchField not sending action messages during typing
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@30011 72102866-910b-0410-8b05-ffd578937521
2010-03-20 20:57:15 +00:00
Fred Kiefer
05beafea2e
Small improvements to NIB loading.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@30010 72102866-910b-0410-8b05-ffd578937521
2010-03-20 17:23:10 +00:00
Fred Kiefer
1399765d96
Clean up includes.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@30009 72102866-910b-0410-8b05-ffd578937521
2010-03-20 14:09:02 +00:00
Jonathan Gillaspie
4b4cc7452c
Don't attempt to add a nil sort descriptor
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@30005 72102866-910b-0410-8b05-ffd578937521
2010-03-19 23:39:07 +00:00
Fred Kiefer
0de3edcfe1
Remove includes of GSCategories.h, as this file no longer exists.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@30000 72102866-910b-0410-8b05-ffd578937521
2010-03-19 08:18:43 +00:00
Fred Kiefer
63c073879a
* Source/NSBitmapImageRep+JPEG.m: Put cinfo into a defined state
...
before using it.
Patch by Vincent Richomme <forumer@smartmobili.com>.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@29998 72102866-910b-0410-8b05-ffd578937521
2010-03-18 08:36:28 +00:00
Fred Kiefer
8f43eb6c4e
* Source/NSTextView.m (-readSelectionFromPasteboard:type:): Fix
...
potential memory leak for colour pasting.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@29992 72102866-910b-0410-8b05-ffd578937521
2010-03-17 09:36:19 +00:00
Eric Wasylishen
b81434b7d0
NSSliderCell: implement circular sliders
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@29985 72102866-910b-0410-8b05-ffd578937521
2010-03-17 00:18:30 +00:00
Fred Kiefer
26ea895671
Handle events of type flagschanged correctly.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@29978 72102866-910b-0410-8b05-ffd578937521
2010-03-16 09:15:54 +00:00
Richard Frith-MacDonald
81b60afa84
uninitialised var fix suggested by Anibal Rindisbacher <anibal784@gmail.com>
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@29970 72102866-910b-0410-8b05-ffd578937521
2010-03-15 21:26:06 +00:00
Fred Kiefer
6ccf4dc7e6
Correct the decoding of the <bytes> element. Now colour are correct.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@29964 72102866-910b-0410-8b05-ffd578937521
2010-03-15 13:10:05 +00:00
Fred Kiefer
58afda1e08
Small keyed decoing improvements.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@29963 72102866-910b-0410-8b05-ffd578937521
2010-03-15 12:55:12 +00:00
Fred Kiefer
a798a9bcc1
Retain teh text view not the layout manager during container replacement.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@29960 72102866-910b-0410-8b05-ffd578937521
2010-03-15 11:23:09 +00:00
Fred Kiefer
a61995b438
Better debug output plus minor improvements.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@29959 72102866-910b-0410-8b05-ffd578937521
2010-03-15 10:49:21 +00:00
Eric Wasylishen
c2610af4ff
NSOpenGLView: fix resising when loaded from nibs
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@29956 72102866-910b-0410-8b05-ffd578937521
2010-03-15 00:11:11 +00:00
Fred Kiefer
4c75baa42b
Add file for basic XIB loading. This is only partly working and will
...
need some more polishing and testing. Feel free to help with that.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@29955 72102866-910b-0410-8b05-ffd578937521
2010-03-14 23:07:53 +00:00
Germán Arias
03301b8b30
Added missing internationalisation
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@29937 72102866-910b-0410-8b05-ffd578937521
2010-03-14 05:45:53 +00:00
Germán Arias
7fa8cd2a1d
Corrected the title of print panel
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@29934 72102866-910b-0410-8b05-ffd578937521
2010-03-14 05:06:10 +00:00
Fred Kiefer
60c81d02b6
Add two Cocoa debug helper methods.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@29924 72102866-910b-0410-8b05-ffd578937521
2010-03-13 15:17:21 +00:00
Fred Kiefer
f159a71c85
* Source/NSBundleAdditions.m (NSNibOutletConnector
...
-establishConnection): Undo the last change to this method, as
it should not retain the assign value.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@29923 72102866-910b-0410-8b05-ffd578937521
2010-03-13 13:15:47 +00:00
Doug Simons
cdf59d5e96
Set insertion point _after_ pasted text, don't select it.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@29916 72102866-910b-0410-8b05-ffd578937521
2010-03-12 23:38:30 +00:00
Doug Simons
9b229c81f5
fix behavior of simple click within selected text; optimize setNeedsDisplayInRect: when called with empty rect
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@29914 72102866-910b-0410-8b05-ffd578937521
2010-03-12 22:50:42 +00:00
Doug Simons
e01753e955
Call isFlipped rather than accessing flag directly (fixes a problem with view loaded from a nib)
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@29906 72102866-910b-0410-8b05-ffd578937521
2010-03-12 02:08:01 +00:00
Wolfgang Lux
cdf5175e7c
Fix some optimistic coding in NSCell which was causing a crash in
...
AddressManager.app.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@29904 72102866-910b-0410-8b05-ffd578937521
2010-03-11 18:43:15 +00:00
Doug Simons
ce29b8d726
protect changedMessagesEnabled flag; update menus after modal session, key or main window change
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@29891 72102866-910b-0410-8b05-ffd578937521
2010-03-09 23:11:40 +00:00
Richard Frith-MacDonald
8dd7827584
Fixes for bug #29085
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@29864 72102866-910b-0410-8b05-ffd578937521
2010-03-07 08:28:11 +00:00