Commit graph

6113 commits

Author SHA1 Message Date
Fred Kiefer
ed28a8df0f dd missing changelog for last change.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@28672 72102866-910b-0410-8b05-ffd578937521
2009-09-14 19:01:02 +00:00
Fred Kiefer
32bb892abd Changed the class NSScroller to be more similar to the the current Apple
specification.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@28671 72102866-910b-0410-8b05-ffd578937521
2009-09-14 19:00:07 +00:00
Gregory John Casamento
dca2b3a161 Correct formatting.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@28666 72102866-910b-0410-8b05-ffd578937521
2009-09-12 18:10:17 +00:00
Riccardo Mottola
596f9b8f5b newly recreated true-color artwork
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@28664 72102866-910b-0410-8b05-ffd578937521
2009-09-11 22:53:59 +00:00
Richard Frith-MacDonald
2aa64c58a9 revert last change and do proper fix.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@28652 72102866-910b-0410-8b05-ffd578937521
2009-09-10 11:02:17 +00:00
Richard Frith-MacDonald
d16088af08 Fix to display correct app icon.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@28651 72102866-910b-0410-8b05-ffd578937521
2009-09-10 10:15:32 +00:00
Fred Kiefer
ec138f065f Two small changes that should make Emacs 23.1 usable with GNUstep.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@28643 72102866-910b-0410-8b05-ffd578937521
2009-09-08 22:10:56 +00:00
Fred Kiefer
176b3a0a2c * Headers/AppKit/NSMenuItem.h: Let the protocol NSMenuItem
conform to NSValidatedUserInterfaceItem.
  Patch by Quentin Mathe <quentin.mathe@gmail.com>.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@28627 72102866-910b-0410-8b05-ffd578937521
2009-09-07 16:42:16 +00:00
Fred Kiefer
c3d42b5370 * Source/NSScrollView.m (-initWithCoder:): Don't add the vertical
scroller directly into the subviews. Call tile to position all
  subviews correctly.
  Based on patch by Quentin Mathe <quentin.mathe@gmail.com>.



git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@28625 72102866-910b-0410-8b05-ffd578937521
2009-09-07 16:19:42 +00:00
Fred Kiefer
ce6009fe8b * Headers/AppKit/NSSearchFieldCell.h: Add version #ifdef's.
* Source/NSSearchFieldCell.m (-encodeWithCoder:, -initWithCoder:):
  Correct encoding/decoding of maximumRecents.
  Based on patch by Quentin Mathe <quentin.mathe@gmail.com>.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@28623 72102866-910b-0410-8b05-ffd578937521
2009-09-07 14:08:37 +00:00
Fred Kiefer
fd8ebd6a78 * Source/NSPopUpButton.m (-selectedTag): Return the tag of the selected item.
Patch by Douglas Simons <doug.simons@testplant.com>.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@28617 72102866-910b-0410-8b05-ffd578937521
2009-09-06 21:38:15 +00:00
Nicola Pero
3b1eb6048a Standardize installation of gnustep-gui Images, Sounds and Themes (should also automatically fix installation issue on Solaris 7)
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@28608 72102866-910b-0410-8b05-ffd578937521
2009-09-04 14:58:04 +00:00
Gregory John Casamento
79644218e7 Remove some noise in the image.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@28596 72102866-910b-0410-8b05-ffd578937521
2009-09-01 23:47:37 +00:00
Richard Frith-MacDonald
929829cb33 fix #27344
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@28584 72102866-910b-0410-8b05-ffd578937521
2009-09-01 05:58:48 +00:00
Richard Frith-MacDonald
883dd963de fix #25907
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@28583 72102866-910b-0410-8b05-ffd578937521
2009-09-01 05:20:08 +00:00
Quentin Mathe
7a5329dfb6 Added NSApplicationIcon to the image mapping list to ensure -imageNamed:
returns a non-nil image even when -[NSApplication finishLaunching] hasn't been 
called. The behavior is now the same than Cocoa.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@28580 72102866-910b-0410-8b05-ffd578937521
2009-08-31 10:27:04 +00:00
Gregory John Casamento
3300a0b948 Correct images used for H/V orientation of the dimple.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@28570 72102866-910b-0410-8b05-ffd578937521
2009-08-28 22:08:16 +00:00
Gregory John Casamento
1aa8213925 Correct the image name to be consistent with the other image names.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@28568 72102866-910b-0410-8b05-ffd578937521
2009-08-28 21:33:37 +00:00
Gregory John Casamento
989fb01d6d * Images/common_DimpleH.tiff: Horizontal image for dimple. This
image is not different from the vertical dimple for the default
	theme.  It's here so that it can be overriden by a theme, if
	needed.
	* Images/GNUmakefile: Add new image.
	* Source/GSThemeDrawing.m: Modify code in cellForScrollerKnob
	to use common_Dimple.tiff or common_DimpleH.tiff depending
	on the orientation of the scroller.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@28567 72102866-910b-0410-8b05-ffd578937521
2009-08-28 21:22:52 +00:00
Richard Frith-MacDonald
fd1e6db81d Fix error returning named images
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@28566 72102866-910b-0410-8b05-ffd578937521
2009-08-28 13:04:15 +00:00
Richard Frith-MacDonald
084c8a8663 tweak theme image handling
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@28565 72102866-910b-0410-8b05-ffd578937521
2009-08-28 09:48:00 +00:00
Richard Frith-MacDonald
55026bc7b3 cast to fix warning
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@28560 72102866-910b-0410-8b05-ffd578937521
2009-08-28 05:02:24 +00:00
Richard Frith-MacDonald
eafa573824 Add trivial debug for tracking activation
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@28557 72102866-910b-0410-8b05-ffd578937521
2009-08-27 17:13:31 +00:00
Richard Frith-MacDonald
01249da35e Fix bad return of proxy to user code
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@28556 72102866-910b-0410-8b05-ffd578937521
2009-08-27 14:57:00 +00:00
Richard Frith-MacDonald
fb3b2d3d19 theme system image fixes
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@28554 72102866-910b-0410-8b05-ffd578937521
2009-08-27 06:03:16 +00:00
Gregory John Casamento
21ac59a390 Revert previous change.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@28553 72102866-910b-0410-8b05-ffd578937521
2009-08-26 22:58:44 +00:00
Gregory John Casamento
727d28b114 * Source/libgnustep-gui.def: Export GSTheme class.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@28552 72102866-910b-0410-8b05-ffd578937521
2009-08-26 22:55:41 +00:00
Gregory John Casamento
ccd9924369 Fix solaris installation issue.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@28551 72102866-910b-0410-8b05-ffd578937521
2009-08-26 22:50:55 +00:00
Gregory John Casamento
ef011a9452 copy rather than install for the themes
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@28550 72102866-910b-0410-8b05-ffd578937521
2009-08-26 22:26:07 +00:00
Richard Frith-MacDonald
452ffee567 Small theme update, plus documentation fixes and tweaks to avoid warnings.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@28538 72102866-910b-0410-8b05-ffd578937521
2009-08-25 07:46:37 +00:00
Fred Kiefer
d82dad9351 Fix compiler warnings.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@28527 72102866-910b-0410-8b05-ffd578937521
2009-08-23 22:10:32 +00:00
Gregory John Casamento
454ca812c6 New sounds.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@28526 72102866-910b-0410-8b05-ffd578937521
2009-08-23 21:41:48 +00:00
Fred Kiefer
56d4f7938d Add better support for font descriptor. Requires a recompile of the backend.
This should be enough for Emacs to compile with GNUstep.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@28525 72102866-910b-0410-8b05-ffd578937521
2009-08-23 21:39:28 +00:00
David Chisnall
9f6848cace Fixed the name of GSOSSSoundSink
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@28524 72102866-910b-0410-8b05-ffd578937521
2009-08-23 21:35:56 +00:00
Gregory John Casamento
5d839b7f81 * Headers/Additions/GNUstepGUI/GSTheme.h: Add image parameter,
* Source/GSThemeDrawing.m: Add image parameter.   Correctly
	handle disabled buttons.
	* Source/NSButtonCell.m: Change to use new signature.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@28523 72102866-910b-0410-8b05-ffd578937521
2009-08-23 18:24:34 +00:00
Gregory John Casamento
bc95107253 * Headers/Additions/GNUstepGUI/GSTheme.h: Added new method declaration
for drawButtonCell:...
	* Source/GSThemeDrawing.m: Added implementation for new method.  The
	purpose of the method is to allow the theme to override images with
	native images which may be theme dependent.
	* Source/NSButtonCell.m: Use the new method.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@28522 72102866-910b-0410-8b05-ffd578937521
2009-08-23 18:07:39 +00:00
Gregory John Casamento
8949deeb03 * Source/GSHorizontalTypesetter.m: Remove unlock and
log the exception, but don't rethrow it.
	* Source/GSLayoutManager.m: return a zero length range in
	 -(NSRange)glyphRangeForCharacterRange:actualCharacterRange:
	when charRange has a length and a location of 0.
	Added by Gregory John Casamento <greg.casamento@gmail.com>


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@28521 72102866-910b-0410-8b05-ffd578937521
2009-08-23 16:37:28 +00:00
David Chisnall
3fb844f810 Added OSS sound sink. Not connected to the build.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@28520 72102866-910b-0410-8b05-ffd578937521
2009-08-23 16:17:33 +00:00
Gregory John Casamento
151a751f23 * Tools/sound/GNUmakefile: Fix circular dependency issue.
Added _INCLUDE_DIRS and _LIB_DIRS for each entry so that
	it can build when GNUstep is not installed.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@28519 72102866-910b-0410-8b05-ffd578937521
2009-08-23 15:51:58 +00:00
Stefan Bidigaray
695963974f Moved sound bundles to Tools/
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@28518 72102866-910b-0410-8b05-ffd578937521
2009-08-23 15:35:58 +00:00
Gregory John Casamento
cc8f7ada0b Added --disable-sound option
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@28514 72102866-910b-0410-8b05-ffd578937521
2009-08-23 07:53:50 +00:00
Gregory John Casamento
e1609d9dbb Added autoconf changes for recent NSSound modifications by Stefan.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@28513 72102866-910b-0410-8b05-ffd578937521
2009-08-23 07:46:51 +00:00
Gregory John Casamento
005eacab54 Create standard directory to place themes in. I am working on a windows-native theme and will place the code here. This directory should also hold any themes we would like distrubuted with GNUstep which are created by Thematic.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@28512 72102866-910b-0410-8b05-ffd578937521
2009-08-23 04:20:11 +00:00
Stefan Bidigaray
54e2773b7f NSSound reimplementation
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@28511 72102866-910b-0410-8b05-ffd578937521
2009-08-23 03:37:03 +00:00
Gregory John Casamento
b6789caaeb * Headers/Additions/GNUstepGUI/GSTheme.h: Add methods for drawing
stepper cell here.
	* Source/GSThemeDrawing.m: Implementations for stepper cell functions.
	* Source/NSStepperCell.m: Use new stepper cell functions.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@28510 72102866-910b-0410-8b05-ffd578937521
2009-08-22 23:50:14 +00:00
Fred Kiefer
88a5d26a8b * Source/NSMenuItemCell.m (-drawStateImageWithFrame:inView:,
-drawTitleWithFrame:inView:): Remove specific drawing code, use
  general code instead.
* Source/NSMenuItemCell.m (-drawingRectForBounds:): Add call to
  calcSize.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@28505 72102866-910b-0410-8b05-ffd578937521
2009-08-21 20:13:59 +00:00
Fred Kiefer
bf8446462b * Source/NSBitmapImageRep+ICNS.m: Redefine icns_size_t to int, as
this needs to be a 32 bit integer and on 64 bit systems long
  uses 64 bits.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@28501 72102866-910b-0410-8b05-ffd578937521
2009-08-21 13:57:16 +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