Commit graph

6055 commits

Author SHA1 Message Date
Gregory John Casamento
acc0597c97 * Source/GSTextStorage.m: In initWithCoder: don't overwrite the
contents of the text storage by attempting to unarchive when the
	unarchiver is keyed.
	* Source/NSTextView.m: In initWithCoder: retrieve the contents
	of the text storage for display in the text view.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@28443 72102866-910b-0410-8b05-ffd578937521
2009-08-08 07:08:23 +00:00
Gregory John Casamento
1aa9c676ce * Source/NSTextView.m: initWithCoder: temporarily remove decoding
of NSTextContainer since it is causing a crash when editing a text
	view's that was loaded from a nib file. 


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@28442 72102866-910b-0410-8b05-ffd578937521
2009-08-08 04:43:41 +00:00
Fred Kiefer
8603ae06ae Some more cleanup of the NSToolbarItem code.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@28438 72102866-910b-0410-8b05-ffd578937521
2009-08-04 20:12:35 +00:00
Gregory John Casamento
41e5c2bf3d * Headers/AppKit/NSWindow.h
* Source/NSApplication.m
	* Source/NSWindow.m: Added ivar for attached sheet back.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@28433 72102866-910b-0410-8b05-ffd578937521
2009-08-02 14:16:13 +00:00
Gregory John Casamento
0e43459d49 * config.make.in: Change to include BUILD_SPEECH in output
* configure: Regenerated
	* configure.ac: Check for flite library and flite.h header.
	* Tools/GNUmakefile: Add ${BUILD_SPEECH} to subproject list.
	* Tools/say/GNUmakefile
	* Tools/say/say.m: Say utility
	* Tools/speech/FliteSpeechEngine.m: 
	* Tools/speech/GNUmakefile
	* Tools/speech/GSSpeechEngine.[hm]
	* Tools/speech/GSSpeechServer.[hm]
	* Tools/speech/GSSpeechSynthesizer.[hm]: Speech synthesis engine
	implementation using flite.
	* Tools/speech/main.m: main for the server application.
	Speech code by David Chisnall <theraven@sucs.org>
	Changes to makefiles and config by Gregory Casamento.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@28430 72102866-910b-0410-8b05-ffd578937521
2009-08-02 00:33:19 +00:00
Gregory John Casamento
d5cb6fc832 * Sounds/GNUmakefile: Change makefile to copy wav files.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@28429 72102866-910b-0410-8b05-ffd578937521
2009-08-01 21:50:08 +00:00
Gregory John Casamento
72e7f4a694 Changed sounds to .wav
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@28428 72102866-910b-0410-8b05-ffd578937521
2009-08-01 21:48:02 +00:00
Gregory John Casamento
8a04a9d234 * GNUmakefile
* Sounds/Basso.ogg
	* Sounds/Blow.ogg
	* Sounds/Bottle.ogg
	* Sounds/Glass.ogg: Add new sounds.
	* Sounds/GNUmakefile
	* Sounds/GNUmakefile.postamble: Add sounds directory and makefiles.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@28427 72102866-910b-0410-8b05-ffd578937521
2009-08-01 16:22:31 +00:00
Adam Fedor
c613fefd6e Version 0.17.1
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@28423 72102866-910b-0410-8b05-ffd578937521
2009-07-31 14:10:07 +00:00
Gregory John Casamento
debe8f5801 * Source/GSThemeTools.m: -[GSThemeTools drawRoundBezel:withColor:]
add code to draw highlights for rounded buttons to give them a 
	better 3D look.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@28421 72102866-910b-0410-8b05-ffd578937521
2009-07-30 19:42:21 +00:00
Fred Kiefer
1871f18f54 * Source/NSDocument.m (-setFileName:): Set the file name to the
absolute file path.
  Patch by Jonathan Gillaspie <jonathan.gillaspie@testplant.com>.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@28418 72102866-910b-0410-8b05-ffd578937521
2009-07-28 21:01:53 +00:00
Gregory John Casamento
3a16583dcb * Headers/AppKit/NSWindow.h: Comment out _attachedSheet ivar.
* Source/NSAlert.m: Change code to use hightlightWithLevel: method
	in resetWindow method.
	* Source/NSApplication.m: Stub out setAttachedSheet method.
	* Source/NSWindow.m: Remove new ivar for next release and stub out
	attachedSheet method.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@28415 72102866-910b-0410-8b05-ffd578937521
2009-07-27 16:31:32 +00:00
Fred Kiefer
519598ef24 Small fixes for font descriptor handling.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@28412 72102866-910b-0410-8b05-ffd578937521
2009-07-26 21:38:35 +00:00
Gregory John Casamento
c6f4518c9f * Source/NSAlert.m: Offset color by less in -resetWindow. Remove
redundant logic for calling the "didEnd" method in the NSBeginSheet...
	functions.
	* Source/NSApplication.m: Add code to reset parent window in 
	beginSheet:... method.  Also added check to make sure the
	modalDelegate is not nil.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@28411 72102866-910b-0410-8b05-ffd578937521
2009-07-26 02:56:56 +00:00
Gregory John Casamento
0c982ef3eb * Source/NSAlert.m: Remove category for setAttachedSheet method.
* Source/NSApplication.m: Added private category to add 
	setAttachedSheet: to NSWindow.  Modified beginSheet:... method
	to call the new method with the sheet that is associated with it.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@28410 72102866-910b-0410-8b05-ffd578937521
2009-07-26 00:56:29 +00:00
Gregory John Casamento
5c556f96a7 * Source/NSAlert.m: GSAlertSheet - removed unecessary parentWindow
and  container ivars in interface declaration.  Removed uneeded
	accessors for parentWindow and contentRect.  Added check in
	frameFromParentWindowFrame to check to see if parent is initialized
	prior to using it.   Removed NSBox in the init.. method since it 
	could cause issues with drawing.   Added code to lighten the 
	color of the background of the sheet relative to the parent window.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@28409 72102866-910b-0410-8b05-ffd578937521
2009-07-26 00:35:13 +00:00
Fred Kiefer
2ed61072dd * Source/NSTextView.m (-initWithCoder:, -setTextContainer:):
Attempt to resolve the memory issues when coding a text container.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@28405 72102866-910b-0410-8b05-ffd578937521
2009-07-24 07:35:38 +00:00
Gregory John Casamento
d221178290 Correct mispelling.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@28403 72102866-910b-0410-8b05-ffd578937521
2009-07-21 19:04:10 +00:00
Fred Kiefer
f02eb99202 * Source/NSPrintOperation.m: Add include needed for Windows.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@28399 72102866-910b-0410-8b05-ffd578937521
2009-07-17 06:42:32 +00:00
Fred Kiefer
3a47141351 * Source/NSPrintOperation.m (-_printPaginateWithInfo:knowsRange:,
-_print):
Try to handle not set print information more graceful.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@28396 72102866-910b-0410-8b05-ffd578937521
2009-07-16 07:18:52 +00:00
Fred Kiefer
94bb80778d * Source/NSPrintOperation.m (-_printPaginateWithInfo:knowsRange:):
Use scale 1.0 if none is given.
Patch by Georg Fleischmann <G.Fleischmann@vhf.de>.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@28394 72102866-910b-0410-8b05-ffd578937521
2009-07-14 08:10:53 +00:00
Gregory John Casamento
6d3b1bd4ce * Source/NSAlert.m: Implementation of GSAlertSheet.
* Source/NSApplication.m: Change order in which setWindowParent:
	and runModalForWindow: are called in beginSheet:... method.
	* Source/NSDrawer.m: Remove notifications when drawer is closed
	in dealloc.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@28392 72102866-910b-0410-8b05-ffd578937521
2009-07-13 18:12:52 +00:00
Fred Kiefer
e00133c375 * Source/NSTableView.m (-_editPreviousEditableCellBeforeRow:column:,
-_editNextEditableCellAfterRow:column:): Comment out the loop
around of the last change. This leads to wrong results, when the
table view isn't the only view in the window.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@28383 72102866-910b-0410-8b05-ffd578937521
2009-07-06 14:21:22 +00:00
Fred Kiefer
fc5a042401 * Source/NSView.m (-_setNeedsDisplayInRect_real:) Set the window
views as needing display, even when the invalidated rectangle
didn't change.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@28382 72102866-910b-0410-8b05-ffd578937521
2009-07-06 14:18:16 +00:00
Fred Kiefer
1dc747bf5d Better implementation of changing the edited cell in a table view.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@28381 72102866-910b-0410-8b05-ffd578937521
2009-07-05 21:52:17 +00:00
Riccardo Mottola
54e5c30271 removed c99-ism
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@28380 72102866-910b-0410-8b05-ffd578937521
2009-07-05 20:12:22 +00:00
Fred Kiefer
45726cd72c Compare row against _numberOfRows not _numberOfColumns.
Patch by Tim Schmielau <tim@smmo.org>.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@28379 72102866-910b-0410-8b05-ffd578937521
2009-07-05 09:45:18 +00:00
Nicolas Roard
4905a0de91 Apply patch from Eric Wasylishen, add live resize and
live moving for table columns if GSUseGhostResize is
set to NO.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@28376 72102866-910b-0410-8b05-ffd578937521
2009-06-30 00:40:57 +00:00
Gregory John Casamento
a145faad11 Added fix suggested by George.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@28375 72102866-910b-0410-8b05-ffd578937521
2009-06-29 03:47:10 +00:00
Fred Kiefer
48a1be38fa Add more implementation to NSObjectController.
Patch by Andy Balholm <andy@balholm.com>.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@28374 72102866-910b-0410-8b05-ffd578937521
2009-06-28 23:09:50 +00:00
Fred Kiefer
ca5161d0a1 Add NSFontDescriptor.h to AppKit.h
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@28373 72102866-910b-0410-8b05-ffd578937521
2009-06-28 21:48:47 +00:00
Fred Kiefer
988c2a8a8b Retain the shared user defaults controller before returning it in
initWithCoder:.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@28368 72102866-910b-0410-8b05-ffd578937521
2009-06-21 22:35:23 +00:00
Fred Kiefer
8ed4d5e90e Small bug fixes for NSKeyValueBinding
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@28367 72102866-910b-0410-8b05-ffd578937521
2009-06-21 22:21:26 +00:00
Gregory John Casamento
0f6d7e890d * Headers/AppKit/NSSpeechSynthesizer.h:
* Source/NSSpeechSynthesizer.m: Implementation of
	NSSpeechSynthesizer.  
	Patch by David Chisnall <theraven@sucs.org>


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@28327 72102866-910b-0410-8b05-ffd578937521
2009-06-05 22:26:09 +00:00
Fred Kiefer
053c28aa92 Check whether there is a returned save panel, this wont be the case
when the user cancels the save operation.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@28321 72102866-910b-0410-8b05-ffd578937521
2009-06-02 21:40:07 +00:00
Fred Kiefer
a8ecb0c14a Replace a call to a now longer existing extension on NSInvocation
with the correct method calls.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@28312 72102866-910b-0410-8b05-ffd578937521
2009-05-31 15:48:49 +00:00
Fred Kiefer
4aa1fb4c5e Make sure the static variable windowmaps is always initialized before
using it.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@28311 72102866-910b-0410-8b05-ffd578937521
2009-05-31 15:30:03 +00:00
Gregory John Casamento
039f0c39b0 * Source/NSWorkspace.m: Improve handling of CFBundleType...
constants in the private method _extIconForApp:info:.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@28297 72102866-910b-0410-8b05-ffd578937521
2009-05-24 02:17:05 +00:00
Gregory John Casamento
4991a29743 * Source/GSStandardWindowDecorationView.m: Live window resize changes
for when using GNUstep decorations in resizeWindowStartingWithEvent:.
	* Source/NSLayoutManager.m: Unarchive the text containers into an 
	array in initWithCoder:.
	* Source/NSTextContainer.m: Get the layout manager in initWithCoder:.
	* Source/NSTextView.m: Changes to include text container from nib
	file into the nib loading process in initWithCoder:.   


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@28296 72102866-910b-0410-8b05-ffd578937521
2009-05-23 15:50:51 +00:00
Nicolas Roard
242eb12644 Add a live resize for splitviews. Users can revert to the old behaviour
by doing: defaults write NSGlobalDomain GSUseGhostResize YES


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@28291 72102866-910b-0410-8b05-ffd578937521
2009-05-22 01:20:07 +00:00
Riccardo Mottola
448d898622 fixed allocation of NSMutableArray
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@28284 72102866-910b-0410-8b05-ffd578937521
2009-05-14 23:21:05 +00:00
Gregory John Casamento
7f6ee7d9fd Initial changes for sheet implementation. More to come.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@28283 72102866-910b-0410-8b05-ffd578937521
2009-05-14 22:17:48 +00:00
Adam Fedor
90de622eae Versino 0.17.0
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@28275 72102866-910b-0410-8b05-ffd578937521
2009-05-10 20:54:58 +00:00
Fred Kiefer
b3906a84f2 Get buttons for GSTitleView from NSWindow.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@28264 72102866-910b-0410-8b05-ffd578937521
2009-05-01 22:54:11 +00:00
Fred Kiefer
70fe7f2bb0 * Source/NSBezierPath.m (-appendBezierPathWithRoundedRect:xRadius:yRadius:):
Small rearangment of code.
Patch by Fred Morcos <fred.morcos@gmail.com>


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@28254 72102866-910b-0410-8b05-ffd578937521
2009-04-27 13:12:25 +00:00
Fred Kiefer
345f77f374 * Headers/AppKit/NSBezierPath.h,
* Source/NSBezierPath.m
* (+bezierPathWithRoundedRect:xRadius:yRadius:, -appendBezierPathWithRoundedRect:xRadius:yRadius:):
New 10.5 methods.
Patch by Fred Morcos <fred.morcos@gmail.com>


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@28247 72102866-910b-0410-8b05-ffd578937521
2009-04-25 12:38:15 +00:00
Richard Frith-MacDonald
05a515f767 fix for #26277
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@28244 72102866-910b-0410-8b05-ffd578937521
2009-04-24 07:44:09 +00:00
Gregory John Casamento
144289ad4e * Headers/AppKit/NSSearchFieldCell.h: Give the values assigned in
Cocoa to the enum.  Patch by: doug@riverrock.org
	* Source/NSSearchFieldCell.m: Implemented search menu template and
	recent items.  Patch by: doug@rivverrock.org
	* Source/NSSearchField.m: Call cell methods to use search menu.
	Patch by: doug@riverrock.org


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@28233 72102866-910b-0410-8b05-ffd578937521
2009-04-19 04:50:04 +00:00
Gregory John Casamento
80a3c7d56e * Source/NSApplication.m: Make certain that a sheet is always placed
above the window it's supposed to appear relative to.   Change
	to runModalForWindow:relativeToWindow:.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@28232 72102866-910b-0410-8b05-ffd578937521
2009-04-19 04:23:34 +00:00
Gregory John Casamento
8369481079 * Source/NSScrollView.m: If the scrollview has scrollers,
don't pay attention to the hidden flag in nib loading.
	* Source/NSTableView.m: if the table has a cornerview, don't
	pay attention to the hidden flag in nib loading.  
	NOTE: In both instances it appears that Cocoa sets the hidden flag 
	when autohide is set to true.   GNUstep handles this case differently,
	so it's okay to ignore this flag when the scroller is in an
	NSScrollView.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@28231 72102866-910b-0410-8b05-ffd578937521
2009-04-19 03:23:11 +00:00