Commit graph

5748 commits

Author SHA1 Message Date
Richard Frith-MacDonald
19b84c87b4 Fix failure to locate tools
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@27215 72102866-910b-0410-8b05-ffd578937521
2008-12-06 08:01:09 +00:00
Gregory John Casamento
09955c2002 * Source/GSNibLoading.m: Check to make sure the menu has more than
0 entries in _setMain:.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@27206 72102866-910b-0410-8b05-ffd578937521
2008-12-04 03:33:02 +00:00
Gregory John Casamento
f74ca7e5c1 * Source/NSDocumentController.m: Fixed fileExtensionFromType:,
bug #24894


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@27205 72102866-910b-0410-8b05-ffd578937521
2008-12-03 22:19:36 +00:00
Gregory John Casamento
ccf577f687 * Source/GSInfoPanel.m: -[GSInfoPanel initWithDictionary:]
don't show authors in the info panel if there are none given
	in the dictionary.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@27199 72102866-910b-0410-8b05-ffd578937521
2008-12-03 06:34:50 +00:00
Gregory John Casamento
0f92239a0b * Source/NSApplication.m: Always resize icon to 48x48 so that
icons larger than this will display correctly.  Change made in
	setApplicationIconImage:. 


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@27197 72102866-910b-0410-8b05-ffd578937521
2008-12-03 06:08:12 +00:00
Gregory John Casamento
0425232826 * Source/GSNibLoading.m: Added some new methods to address
bug #24985.
	* Source/NSMenu.m: Removed some spaces after a close brace.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@27196 72102866-910b-0410-8b05-ffd578937521
2008-12-03 04:52:06 +00:00
Gregory John Casamento
03d2fc6b14 Fix for bug #24785.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@27195 72102866-910b-0410-8b05-ffd578937521
2008-12-03 00:48:42 +00:00
Richard Frith-MacDonald
a06a8ceb9e Fix bug #24990
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@27194 72102866-910b-0410-8b05-ffd578937521
2008-12-02 23:06:49 +00:00
Richard Frith-MacDonald
74aae24e15 Fix bug #24672
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@27193 72102866-910b-0410-8b05-ffd578937521
2008-12-02 22:54:38 +00:00
Richard Frith-MacDonald
10fe2a1e3b fix uninitialised variable
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@27191 72102866-910b-0410-8b05-ffd578937521
2008-12-02 22:39:37 +00:00
Gregory John Casamento
7e2e7607b5 * Source/GSNibLoading.m
* Source/NSButtonCell.m
	* Source/NSNibAXAttributeConnector.m
	* Source/NSNibAXRelationshipConnector.m
	* Source/NSNibBindingConnector.m
	* Source/NSNib.m
	* Source/NSProgressIndicator.m: Change to use new headers.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@27189 72102866-910b-0410-8b05-ffd578937521
2008-12-02 07:27:14 +00:00
Gregory John Casamento
252c5e6ccd * Headers/Additions/GNUstepGUI/GSNibCompatibility.h: Remove
* Headers/Additions/GNUstepGUI/GSNibTemplates.h: Remove 
	* Source/GNUmakefile: Update to reference new files.
	* Source/GSGormLoader.m: Change to reference the 
	* Source/GSGormLoading.m: New gorm loading file.
	* Source/GSNibCompatibility.m: Removed.
	* Source/GSNibLoader.m: Reference the new file.
	* Source/GSNibLoading.m: New file containing the nib loading logic.
	* Source/GSNibTemplates.m: Removed.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@27188 72102866-910b-0410-8b05-ffd578937521
2008-12-02 07:05:19 +00:00
Gregory John Casamento
fd6062af3b * Source/GSNibCompatibility.m: Fix for bug #24979. Change in
initWithCoder: for NSCustomView to return the real object directly 
	and call nibInstantiate.  Change to prevent double instantiation
	of NSApplication.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@27186 72102866-910b-0410-8b05-ffd578937521
2008-12-02 06:39:48 +00:00
Gregory John Casamento
baf9f5de3f Update changelog.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@27185 72102866-910b-0410-8b05-ffd578937521
2008-12-02 05:32:40 +00:00
Gregory John Casamento
5a414944de Change so that echos bullets by default.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@27184 72102866-910b-0410-8b05-ffd578937521
2008-12-01 23:57:21 +00:00
Wolfgang Lux
e21870de5d Fix header syntax in install.sh and provide default for make command
argument.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@27181 72102866-910b-0410-8b05-ffd578937521
2008-11-30 17:39:33 +00:00
Richard Frith-MacDonald
bacf599365 Fix uninitialised variable
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@27177 72102866-910b-0410-8b05-ffd578937521
2008-11-30 14:06:15 +00:00
Gregory John Casamento
5df9b0ddb3 (Updated last comment in ChangeLog)
* Source/GSNibCompatibility.m: Added back in _root assignment in
	-[NSIBObjectData initWithCoder:].  It's removal caused an issue with
	loading some nibs.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@27171 72102866-910b-0410-8b05-ffd578937521
2008-11-29 05:53:34 +00:00
Gregory John Casamento
df0e44c0ec * Source/GSNibCompatibility.m: Added back in _root assignment in
-[NSIBObjectData initWithCoder:] which was causing an issue.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@27170 72102866-910b-0410-8b05-ffd578937521
2008-11-29 05:39:36 +00:00
Gregory John Casamento
8c5b239f5a * Source/GSNibCompatibility.m: Correct issue when loading into
Gorm.  NSClassSwapper should check to see if it's in the gui builder
	and return the appropriate class.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@27169 72102866-910b-0410-8b05-ffd578937521
2008-11-28 20:16:26 +00:00
Gregory John Casamento
b74117a2ac Install into SYSTEM when using install.sh
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@27165 72102866-910b-0410-8b05-ffd578937521
2008-11-28 03:12:37 +00:00
Gregory John Casamento
3bde1ce15d * Source/GSNibCompatibility.m: Corrected issue with using generic
cells on some controls.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@27153 72102866-910b-0410-8b05-ffd578937521
2008-11-27 15:07:09 +00:00
Richard Frith-MacDonald
61ab558bf1 cope with base installed in local domain and other cases
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@27151 72102866-910b-0410-8b05-ffd578937521
2008-11-27 14:38:45 +00:00
Gregory John Casamento
fc6e72192e * Source/NSWorkspace.m: [NSWorkspace getInfoForFile:application:type:]
appName output parameter is set to nil if no application is found.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@27143 72102866-910b-0410-8b05-ffd578937521
2008-11-27 06:24:01 +00:00
Gregory John Casamento
efd8695609 Minor correction to previous change.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@27142 72102866-910b-0410-8b05-ffd578937521
2008-11-27 05:43:44 +00:00
Gregory John Casamento
4c043a0017 * Source/GSNibCompatibility.m: Correct bug #24780. There was an issue
in NSClassSwapper when decoding classes which use cells from nib files.
	* Source/NSSecureTextField.m: Encode in encodeWithCoder and 
	decodeWithCoder: a key for storing the bool _echosBullets.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@27140 72102866-910b-0410-8b05-ffd578937521
2008-11-27 02:12:55 +00:00
Wolfgang Lux
c6e08b897c Improve implementation of undo and register redo operations for
NSTextView.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@27138 72102866-910b-0410-8b05-ffd578937521
2008-11-26 22:56:03 +00:00
Gregory John Casamento
7683c739eb * Headers/AppKit/NSWindow.h: Declaration for attachedSheet.
* Source/NSWindow.m: Added skeleton implementation of attachedSheet.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@27137 72102866-910b-0410-8b05-ffd578937521
2008-11-26 21:29:32 +00:00
Wolfgang Lux
28b86a0bae Double clicking on a white space character also selects the
surrounding white space as on OS X.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@27131 72102866-910b-0410-8b05-ffd578937521
2008-11-25 21:46:23 +00:00
Wolfgang Lux
d1514c3ce1 Simplify the new drag and drop implementation for NSTextView and fix
some corner cases.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@27129 72102866-910b-0410-8b05-ffd578937521
2008-11-24 21:58:42 +00:00
Wolfgang Lux
7e739d6fa3 Fix an oversight in the previous check-in that was causing a crash
when moving text via drag and drop to the end of a text view.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@27126 72102866-910b-0410-8b05-ffd578937521
2008-11-24 10:27:10 +00:00
Wolfgang Lux
30fb47d4bb Improve drag and drop implementation for NSTextView so that an ongoing
drag operation no longer changes the current selection of the target
view. Also fix an issue with dropping text into an empty text view.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@27125 72102866-910b-0410-8b05-ffd578937521
2008-11-24 08:24:19 +00:00
Gregory John Casamento
8b23e80c6d * Headers/AppKit/NSLayoutManager.h: Declarations for new methods
to handle temporary attributes.
	* Source/GSNibCompatibility.m: Corrections to nib loading logic.
	* Source/NSLayoutManager.m: Skeleton implementations of new
	methods to handle temporary attributes.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@27124 72102866-910b-0410-8b05-ffd578937521
2008-11-23 23:54:00 +00:00
Fred Kiefer
9045dcf521 Make sure a decoded control always has a cell.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@27122 72102866-910b-0410-8b05-ffd578937521
2008-11-23 17:10:22 +00:00
Wolfgang Lux
2f2292f703 Complete drag and drop support for NSTextView by making them dragging
sources, too. In addition, support dragging text to non-rich text
NSTextViews.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@27117 72102866-910b-0410-8b05-ffd578937521
2008-11-23 10:02:16 +00:00
Gregory John Casamento
de552b0ce9 * Source/GSNibCompatibility.m: Further improvements to nib loading
logic.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@27115 72102866-910b-0410-8b05-ffd578937521
2008-11-23 01:41:04 +00:00
Gregory John Casamento
a526472758 * Source/GSNibCompatibility.m: Remove calls to designated initializers
for nib files.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@27114 72102866-910b-0410-8b05-ffd578937521
2008-11-22 04:07:50 +00:00
Gregory John Casamento
cfbf81636e * Source/GSNibTemplates.m: Remove calls to designated initializers
as per documentation.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@27104 72102866-910b-0410-8b05-ffd578937521
2008-11-21 06:07:52 +00:00
Wolfgang Lux
2bedbf4129 Revert the previous change to NSWindow -miniaturize: correcting bug
#24707. A better fix for this is now in -back.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@27102 72102866-910b-0410-8b05-ffd578937521
2008-11-20 16:51:57 +00:00
Fred Kiefer
c18e1e2c12 Hack to dar cached image representation on scaled context correctly.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@27097 72102866-910b-0410-8b05-ffd578937521
2008-11-19 18:57:24 +00:00
Fred Kiefer
6e3db9142d Return a winding count of 0 when the bezier path is empty.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@27086 72102866-910b-0410-8b05-ffd578937521
2008-11-17 22:19:30 +00:00
Fred Kiefer
833dedb984 Split up final notification sending into method _didFinishLaunching
to allow supclasses to go between these calls.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@27083 72102866-910b-0410-8b05-ffd578937521
2008-11-17 20:52:24 +00:00
Fred Kiefer
d39b74c4cc Get the device description for an NSImage representation from the window.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@27074 72102866-910b-0410-8b05-ffd578937521
2008-11-16 23:21:58 +00:00
Fred Kiefer
1febd24809 Correction to last commit.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@27069 72102866-910b-0410-8b05-ffd578937521
2008-11-16 16:18:11 +00:00
Fred Kiefer
2e53778720 Bug fix for last changes on NSView bounds setting.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@27067 72102866-910b-0410-8b05-ffd578937521
2008-11-16 13:45:53 +00:00
Wolfgang Lux
db8e30700b Fix problems where the string value of a text field control might not
be updated while its cell is edited and where the save panel's text
form ignores the file name passed to -runModalForDirectory:file:.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@27059 72102866-910b-0410-8b05-ffd578937521
2008-11-14 23:12:33 +00:00
Fred Kiefer
d71b76e768 Replaced scrollview change with one that is easier to understand.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@27053 72102866-910b-0410-8b05-ffd578937521
2008-11-14 19:25:01 +00:00
Gregory John Casamento
32e9a3017a * Source/NSScrollView.m: Correct issue with tableviews when
loading nib files, corrected bug #24782.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@27044 72102866-910b-0410-8b05-ffd578937521
2008-11-14 05:36:20 +00:00
Fred Kiefer
ab5d2c1256 More corrections to bounds transformation, based on the new test code.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@27042 72102866-910b-0410-8b05-ffd578937521
2008-11-13 20:44:51 +00:00
Gregory John Casamento
93655370b0 * Source/GSNibCompatibility.m: Conditionally call setToolTip if it
exists when doing establishConnection on an NSIBHelpConnector.
	* Source/NSDocumentController.m: Correction to prevent exception when
	NSDocumentClass isn't specified.   This does not cause an issue on
	Mac OS X.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@27031 72102866-910b-0410-8b05-ffd578937521
2008-11-12 22:58:47 +00:00