Commit graph

4271 commits

Author SHA1 Message Date
fredkiefer
c7ac1eafa2 Turned Richards specific hash method into a generic one.
--- --

M    Source/NSColor.m
M    ChangeLog


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@28812 72102866-910b-0410-8b05-ffd578937521
2009-10-12 16:02:42 +00:00
rfm
13a0f17839 finish implementng hash methods for NSColor subclasses
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@28811 72102866-910b-0410-8b05-ffd578937521
2009-10-12 15:57:59 +00:00
rfm
36de572f15 add a couple of hash implementations... need more
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@28810 72102866-910b-0410-8b05-ffd578937521
2009-10-12 15:23:24 +00:00
rfm
5fdeffdf69 improve isEqual: for named colors
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@28809 72102866-910b-0410-8b05-ffd578937521
2009-10-12 15:05:47 +00:00
rfm
6c26110011 tidied
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@28808 72102866-910b-0410-8b05-ffd578937521
2009-10-12 14:49:12 +00:00
fredkiefer
97071994de Remove special handling for proxies in NSColor.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@28805 72102866-910b-0410-8b05-ffd578937521
2009-10-12 13:52:28 +00:00
rfm
97972737e3 Fixup color changes on theme activation.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@28803 72102866-910b-0410-8b05-ffd578937521
2009-10-12 09:09:59 +00:00
fredkiefer
38dfaac467 Fix for bug #27631
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@28802 72102866-910b-0410-8b05-ffd578937521
2009-10-11 20:17:28 +00:00
rfm
53b1ca1077 fix to get open panels working again.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@28801 72102866-910b-0410-8b05-ffd578937521
2009-10-11 16:29:03 +00:00
fredkiefer
1c217a60b2 Add the corresponding code in dealloc to the last change.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@28800 72102866-910b-0410-8b05-ffd578937521
2009-10-11 16:03:49 +00:00
fredkiefer
ebbbacbe03 Move all the window border drawing code into GSTheme.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@28792 72102866-910b-0410-8b05-ffd578937521
2009-10-10 17:37:01 +00:00
fredkiefer
b3aacde1c3 Remove usage of NSDeallocateObject
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@28789 72102866-910b-0410-8b05-ffd578937521
2009-10-10 14:10:52 +00:00
fredkiefer
5e4e8730d9 Fix bug #27613. After closing the print option panel via the close
button the application was no longer reacting.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@28788 72102866-910b-0410-8b05-ffd578937521
2009-10-10 13:56:45 +00:00
rfm
c560ba5eb2 Fix bug setting name of an image which already has a name. Added thread safety
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@28743 72102866-910b-0410-8b05-ffd578937521
2009-09-27 08:54:03 +00:00
fredkiefer
106e20f047 * Source/NSApplication.m (-setApplicationIconImage:,
-finishLaunching): Move the set name code to finishLaunching, as
  the image called NSApplicationIcon should stay the same all the time.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@28741 72102866-910b-0410-8b05-ffd578937521
2009-09-26 19:28:29 +00:00
fredkiefer
7c0ecbbb83 Add method init for NSTextContainer as suggested
by Derek Fawcus <dfawcus@cisco.com>.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@28738 72102866-910b-0410-8b05-ffd578937521
2009-09-25 22:08:50 +00:00
fredkiefer
001528c4ac Remove now obsolte comment
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@28723 72102866-910b-0410-8b05-ffd578937521
2009-09-21 16:59:22 +00:00
fredkiefer
9e33aabc27 Get NSToolbar setVisible: to really display/hide the toolbar.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@28722 72102866-910b-0410-8b05-ffd578937521
2009-09-21 16:04:36 +00:00
fredkiefer
7b15f5c439 Use default paragraph style in text layout when none is set.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@28714 72102866-910b-0410-8b05-ffd578937521
2009-09-19 15:28:33 +00:00
fredkiefer
e28685c8f8 Unify the text converter handling. Plus added a bit of implementation
for the new test block methods.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@28713 72102866-910b-0410-8b05-ffd578937521
2009-09-19 14:55:57 +00:00
fredkiefer
9d6acb8a2b Correct the only use of the method that Hans Baier renamed :-)
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@28690 72102866-910b-0410-8b05-ffd578937521
2009-09-16 07:11:21 +00:00
hansfbaier
7021534ef8 GSTheme.h: fix typo in method name: Toobar -> Toolbar
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@28688 72102866-910b-0410-8b05-ffd578937521
2009-09-16 02:44:28 +00:00
hansfbaier
d4e93f2587 Source/NSWorkspace.m: ([-launchAppWithBundleIdentifier:]) add dummy implementation
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@28678 72102866-910b-0410-8b05-ffd578937521
2009-09-15 04:26:29 +00:00
fredkiefer
80e0875d45 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
rfm
726ab25f1e 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
rfm
21c9e0dca8 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
fredkiefer
c10bfc152d 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
fredkiefer
c354825c15 * 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
fredkiefer
63164f9779 * 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
fredkiefer
58bdad9031 * 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
rfm
3837171b94 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
rfm
3884d4644a 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
gcasa
528eb702bd 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
gcasa
2ca663467a 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
gcasa
b376b80f9e * 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
rfm
e91677691b 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
rfm
c1a52b18ce 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
rfm
81659ffe9f 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
rfm
f59617c25d 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
rfm
47cf8f490b 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
rfm
e1cdeb9825 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
gcasa
7961719661 * 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
rfm
f48b5d132e 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
fredkiefer
9d3c6e1abb 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
fredkiefer
e1bb31f0d2 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
gcasa
e70f79fbf7 * 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
gcasa
e89b630802 * 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
gcasa
08af90abe3 * 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
stefanbidi
d715c22bc7 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
gcasa
22ffef8a5e * 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