Commit graph

6082 commits

Author SHA1 Message Date
Doug Simons
48d11d63e6 fixed problem with saved window size growing when toolbar is visible
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/branches/testplant_1@29084 72102866-910b-0410-8b05-ffd578937521
2009-12-01 00:32:27 +00:00
Doug Simons
d5241a56ca correct a mistake in my last fix (pointed out by Wolfgang Lux) that would select the text when clicking out as well as tabbing out
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/branches/testplant_1@29056 72102866-910b-0410-8b05-ffd578937521
2009-11-24 18:33:06 +00:00
Doug Simons
737245ac31 fix a mistake I made that caused the drawer to not resize properly
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/branches/testplant_1@29038 72102866-910b-0410-8b05-ffd578937521
2009-11-19 16:28:29 +00:00
Doug Simons
187090ff6a fix problem with mouse tracking being off in submenus that are shifted to stay on screen
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/branches/testplant_1@29026 72102866-910b-0410-8b05-ffd578937521
2009-11-16 22:51:14 +00:00
Doug Simons
f3072e79af set default _keyEquivalentModifierMask to 0; anything else breaks the most common case: Return
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/branches/testplant_1@29002 72102866-910b-0410-8b05-ffd578937521
2009-11-14 03:17:36 +00:00
Doug Simons
61fb17e0b5 fixed textDidEndEditing: to send action when sendsActionOnEndEditing is set
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/branches/testplant_1@29000 72102866-910b-0410-8b05-ffd578937521
2009-11-13 21:29:21 +00:00
Doug Simons
f396eac704 implement drawer sliding (by resizing, since window ordering can't be controlled cleanly)
properly handle top and bottom drawers as well as left and right
keep track of _latestParentFrame for efficiency, and speed up timer for better responsiveness
bring parent window to front when drawer is clicked
keep drawer positioned properly when window is miniaturized and deminiaturized



git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/branches/testplant_1@28999 72102866-910b-0410-8b05-ffd578937521
2009-11-13 21:27:05 +00:00
Doug Simons
2c98097017 added handling of escape character to call cancelOperation:
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/branches/testplant_1@28998 72102866-910b-0410-8b05-ffd578937521
2009-11-13 20:58:09 +00:00
Doug Simons
9d92f03d0a Implemented selectedTag to work correctly
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/branches/testplant_1@28549 72102866-910b-0410-8b05-ffd578937521
2009-08-26 16:58:49 +00:00
Doug Simons
959f37211d log last week's changes
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/branches/testplant_1@28547 72102866-910b-0410-8b05-ffd578937521
2009-08-26 16:46:26 +00:00
Doug Simons
8f4cdad77e fix to properly enable the OK button when selecting only folders
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/branches/testplant_1@28498 72102866-910b-0410-8b05-ffd578937521
2009-08-20 22:42:05 +00:00
Jonathan Gillaspie
c673865896 Fix to always return a full path for fileName (as documented).
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/branches/testplant_1@28496 72102866-910b-0410-8b05-ffd578937521
2009-08-20 19:20:18 +00:00
Jonathan Gillaspie
0b94042333 Added the ability to suppress missing font warnings
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/branches/testplant_1@28494 72102866-910b-0410-8b05-ffd578937521
2009-08-20 17:54:28 +00:00
Doug Simons
a0dec03555 fix bug with glyphRangeForCharacterRange:actualCharacterRange: when a range of (0,0) is passed in
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/branches/testplant_1@28492 72102866-910b-0410-8b05-ffd578937521
2009-08-20 17:38:08 +00:00
Gregory John Casamento
ca241e19ea Add new branch with corrected revision number.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/branches/testplant_1@28488 72102866-910b-0410-8b05-ffd578937521
2009-08-19 22:25:33 +00:00
Gregory John Casamento
990dc61213 Creating branch for testplant testing.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/branches/testplant_1@28473 72102866-910b-0410-8b05-ffd578937521
2009-08-19 17:23:34 +00:00
Gregory John Casamento
5b293ad771 * Source/NSTextView.m: Don't add the text storage if it's nil
in initWithCoder:


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@28470 72102866-910b-0410-8b05-ffd578937521
2009-08-19 04:58:31 +00:00
Gregory John Casamento
aa702d8947 * Source/NSTextStorage.m: Correct spelling of header file.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@28468 72102866-910b-0410-8b05-ffd578937521
2009-08-16 19:15:32 +00:00
Fred Kiefer
5fd580f117 * Source/NSView.m (-initWithFrame:, -initWithCoder:) Set
_post_frame_changes and _post_bounds_changes to YES by default.
  Patch by Quentin Mathe <qmathe@gmail.com>.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@28465 72102866-910b-0410-8b05-ffd578937521
2009-08-15 22:34:13 +00:00
Fred Kiefer
b29913b227 * Source/NSTextStorage.m (-replacementObjectForPortCoder:):
Added this method as suggested by Richard.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@28464 72102866-910b-0410-8b05-ffd578937521
2009-08-15 22:05:08 +00:00
Gregory John Casamento
0abc65f726 Makefile corrections eliminating circular build dependencies.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@28460 72102866-910b-0410-8b05-ffd578937521
2009-08-15 21:28:10 +00:00
David Chisnall
f36a988c07 Fixed some undeclared selectors flagged by clang.
GNUstep-gui now builds correctly with clang!



git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@28459 72102866-910b-0410-8b05-ffd578937521
2009-08-15 21:04:08 +00:00
Gregory John Casamento
7ae46b1f5c * Source/NSDrawer.m: Changed - (void) stopTimer. Fixed to
prevent a crash when the drawer is opened/closed and then the
	window is then closed causing a double release.  


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@28457 72102866-910b-0410-8b05-ffd578937521
2009-08-12 22:28:25 +00:00
Fred Kiefer
81cf28902a * Source/NSTextStorage.m (-classForCoder, -initWithCoder:,
-encodeWithCoder:): Encode this class and not the concrete 
  one. Also call super encoding/decoding methods as they are
  correct in base now.
* Source/GSTextStorage.m (-classForPortCoder, -encodeWithCoder:,
  -replacementObjectForPortCoder:): Remove these methods.



git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@28456 72102866-910b-0410-8b05-ffd578937521
2009-08-12 22:00:16 +00:00
Gregory John Casamento
5ea075f5ab * Sounds/Basso.wav
* Sounds/Hero.wav
	* Sounds/Ping.wav
	* Sounds/Pop.wav
	* Sounds/Sosumi.wav
	* Sounds/Tink.wav: Added new sound files.
	* Sounds/GNUmakefile: Copy sound files


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@28449 72102866-910b-0410-8b05-ffd578937521
2009-08-11 03:28:26 +00:00
Gregory John Casamento
c34154a5ef * Source/NSMenuItem.m: encodeWithCoder: only encode the NSSubitems
key if the menu is not owned by a popup.   This avoids an
	assertion error when loading the resulting nib into InterfaceBuilder.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@28446 72102866-910b-0410-8b05-ffd578937521
2009-08-09 03:27:13 +00:00
Gregory John Casamento
3a969af071 * Source/NSTextView.m: initWithCoder: change to use text storage
more directly to allow the handling of attributed strings.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@28445 72102866-910b-0410-8b05-ffd578937521
2009-08-08 17:07:07 +00:00
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