Commit graph

6498 commits

Author SHA1 Message Date
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
58a1f6ec65 Some more #include -> #import replacement.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@30072 72102866-910b-0410-8b05-ffd578937521
2010-03-28 21:36:19 +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
Fred Kiefer
d1c9ba660b Add return statement to avoid compiler warning.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@30069 72102866-910b-0410-8b05-ffd578937521
2010-03-28 21:28:02 +00:00
Wolfgang Lux
4f4a58161e Commit change in NSResponder.h, too, which accidentally did not make
it in the last commit.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@30058 72102866-910b-0410-8b05-ffd578937521
2010-03-27 22:10:58 +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
080e8d5097 Added redundant information to the ChangeLog, for people who like going via an extra layer of indirection between svn blame and svn log.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@30046 72102866-910b-0410-8b05-ffd578937521
2010-03-27 00:02:45 +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
Germán Arias
45a0301af8 Added French localisation by Philippe Roussel <p.o.roussel@free.fr>
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@29984 72102866-910b-0410-8b05-ffd578937521
2010-03-16 23:33:10 +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
642734daa0 Spanish translation to PrintPanel's title
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@29935 72102866-910b-0410-8b05-ffd578937521
2010-03-14 05:15:27 +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