Commit graph

3409 commits

Author SHA1 Message Date
Alexander Malmberg
e885109f43 2005-02-03 10:54 Alexander Malmberg <alexander@malmberg.org>
* Source/NSImage.m (min, max): Rename to ...
	(gs_min, gs_max): ... this. Update callers.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@20650 72102866-910b-0410-8b05-ffd578937521
2005-02-03 09:47:38 +00:00
Gregory John Casamento
7700675c89 Made change to prevent the color well's use when disabled.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@20631 72102866-910b-0410-8b05-ffd578937521
2005-01-29 02:54:50 +00:00
Alexander Malmberg
79e9a091e7 2005-01-28 17:57 Alexander Malmberg <alexander@malmberg.org>
* Source/NSImageCell.m (-drawInteriorWithFrame:inView:): If our
	view is flipped, flip the image.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@20629 72102866-910b-0410-8b05-ffd578937521
2005-01-28 16:58:10 +00:00
Adrian Robert
3f1e7a2e68 made -beginModalSessionForWindow: center panel only if isn't already on-screen (matches OS X); clarified gsdoc here and a couple of related places
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@20624 72102866-910b-0410-8b05-ffd578937521
2005-01-27 01:36:52 +00:00
Alexander Malmberg
87a32e985f 2005-01-25 01:05 Alexander Malmberg <alexander@malmberg.org>
* Source/NSImageCell.m (-drawInteriorWithFrame:inView:): Use
	-drawInRect:fromRect:operation:fraction: to draw the image.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@20614 72102866-910b-0410-8b05-ffd578937521
2005-01-25 00:01:50 +00:00
Alexander Malmberg
d67b1e64cd 2005-01-25 00:29 Alexander Malmberg <alexander@malmberg.org>
* Headers/AppKit/NSImage.h (-drawAtPoint:fromRect:fraction:)
	(-drawInRect:fromRect:operation:fraction:): Document.
	* Source/NSImage.m -drawAtPoint:fromRect:fraction:)
	(-drawInRect:fromRect:operation:fraction:): Implement.
	(min, max): New functions.
	(-drawRepresentation:inRect:): Save the gstate before drawing
	and restore it afterwards.

	Fixes bug #11712.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@20611 72102866-910b-0410-8b05-ffd578937521
2005-01-24 23:28:07 +00:00
Alexander Malmberg
490f08fd30 2005-01-24 16:57 Alexander Malmberg <alexander@malmberg.org>
* Source/NSPopUpButtonCell.m (-synchronizeTitleAndSelectedItem): For
	non-pulldowns, make sure the selected item and the highlighted item
	are the same.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@20610 72102866-910b-0410-8b05-ffd578937521
2005-01-24 16:14:36 +00:00
Quentin Mathe
4348b3a5ac Fixed white toolbar background bug
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@20609 72102866-910b-0410-8b05-ffd578937521
2005-01-24 11:25:42 +00:00
Adrian Robert
a2a12020db Corrected NSSavePanel file display filtering to handle case where _requiredFileType is nil or empty string by accepting any extension.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@20608 72102866-910b-0410-8b05-ffd578937521
2005-01-24 05:26:15 +00:00
Alexander Malmberg
27333c9d4c 2005-01-24 00:48 Alexander Malmberg <alexander@malmberg.org>
* Source/NSImageCell.m (-drawInteriorWithFrame:inView:): Draw
	the image using the right size, but don't scale it. Work around
	bug #11712.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@20606 72102866-910b-0410-8b05-ffd578937521
2005-01-23 23:45:20 +00:00
Adrian Robert
02a7f545d7 fixed search logic in [NSFontManager -fontWithFamily:traits:weight:size]
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@20596 72102866-910b-0410-8b05-ffd578937521
2005-01-22 16:37:02 +00:00
Alexander Malmberg
ad2419e484 2005-01-21 21:43 Alexander Malmberg <alexander@malmberg.org>
Various whitespace cleanups, comment type fixes, and changes
	to avoid warnings from recent versions of gcc.

	* Headers/Additions/GNUstepGUI/GSToolbar.h (-_toolbars): Declare.
	* Source/NSWindow+Toolbar.m: Remove conflicting declaration of
	[NSToolbar -_toolbars].

	* Headers/Additions/GNUstepGUI/GSServicesManager.h,
 	Source/GSServicesMananger.m (-item2title:, -validateMenuItem:):
	Adjust argument types.
	* Headers/AppKit/NSMenu.h (-validateMenuItem:): Adjust argument
	type.

	* Source/NSTextView.m (-sizeToFit): Don't use size uninitialized
	if neither resizable flags is set.
	(-insertText:): Adjust argument type.
	* Headers/AppKit/NSResponder.h, Source/NSResponder.m (-insertText:):
	Adjust argument type. Document.

	* Headers/AppKit/NSView.h: Change type of ivar _window to NSWindow *.

	* Source/GSTitleView.m (-mouseDown:): Always initialize
	startWindowOrigin.
	* Source/NSApplication.m (-setApplicationIconImage:): Add casts
	to avoid warnings.
	* Source/NSCell.m (-cellSize): Add default: case.
	* Source/NSPasteboard.m
	([GSFiltered -pasteboard:provideDataForType:]): Detect and warn if we
	can't find a filter that will get us the desired type.
	* Source/NSProgressIndicator.m: Comment out unused variable 'images'.
	* Source/NSBezierPath.m: Declare GSBezierPath fully before using it.
	(-bezierPathByFlatteningPath, -bezierPathByReversingPath): Make sure
	variables are always initialized.

	* Source/NSMenuView.m,
	* Source/NSPrintOperation.m,
	* Source/NSSplitView.m,
	* Source/NSTableHeaderView.m: Make sure variables are always
	initialized.

	* Source/NSBox.m,
	* Source/NSImageview.m,
	* Source/NSText.m,
	* Source/NSTextStorage.m: Add missing includes.

	* Source/GSKeyBindingTable.m,
	* Source/GSLayoutManager.m,
	* Source/NSBitmapImageRep+PNM.m,
	* Source/NSBundleAdditions.m,
	* Source/NSLayoutManager.m,
	* Source/nsimage-tiff.h,
	* Source/tiff.m,
	* Headers/Additions/GNUstepGUI/GSDisplayServer.h,
	* Source/GSDisplayServer.m: Change signedness of various variables.

	* Source/NSPanel.m (-sendEvent:): Remove.
	* Source/NSWindow.m (-becomesKeyOnlyIfNeeded): New method.
	(-_sendEvent:becomesKeyOnlyIfNeeded:): Remove. Move code ...
	(-sendEvent:): ... here. Use -becomesKeyOnlyIfNeeded instead
	of the argument.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@20590 72102866-910b-0410-8b05-ffd578937521
2005-01-21 20:39:18 +00:00
Quentin Mathe
efe686d736 Fixed GNUMail compilation with recent Darwin linker versions
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@20588 72102866-910b-0410-8b05-ffd578937521
2005-01-21 09:32:50 +00:00
Fred Kiefer
90952ec827 Ensure the NSTableView rowAtPoint: method always returns a valid row number.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@20584 72102866-910b-0410-8b05-ffd578937521
2005-01-20 09:44:52 +00:00
Alexander Malmberg
d297a62697 2005-01-18 17:06 Alexander Malmberg <alexander@malmberg.org>
* Source/NSWindow.m
	(-initWithContentRect:styleMask:backing:defer:screen:): Assert that
	the shared application instance has been created instead of just
	calling NSLog. Make the message clearer.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@20581 72102866-910b-0410-8b05-ffd578937521
2005-01-18 16:04:40 +00:00
Alexander Malmberg
f282f87e88 2005-01-18 16:53 Alexander Malmberg <alexander@malmberg.org>
* Source/NSCell.m (-setUpFieldEditorAttributes:): Clear the
	text object's string.
	* Source/NSControl.m (-setDoubleValue:, -setFloatValue:)
	(-setIntValue:, -setStringValue:, -setObjectValue:): If the receiver
	was being edited when the method was called, make it the first
	responder after changing the value.
	(-abortEditing): Don't clear the text object's string.
	* Source/NSMatrix.m (-abortEditing): Don't clear the text object's
	string.
	* Source/NSTableView.m (-abortEditing): Ditto.
	* Source/NSTextField.m (-abortEditing): Ditto.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@20580 72102866-910b-0410-8b05-ffd578937521
2005-01-18 15:48:34 +00:00
Alexander Malmberg
cc5de74696 2005-01-18 16:39 Alexander Malmberg <alexander@malmberg.org>
* Source/NSBitmapImageRep.m
	(-TIFFRepresentationUsingCompression:factor:): Don't use pointer
	comparisons to compare strings. Handle both device and calibrated
	colorspaces. Warn if the colorspace isn't recognized.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@20579 72102866-910b-0410-8b05-ffd578937521
2005-01-18 15:35:51 +00:00
Alexander Malmberg
d1daa284b4 2005-01-18 15:50 Alexander Malmberg <alexander@malmberg.org>
* Source/NSApplication.m (-runModalSession:): Don't order the window
	to the front or make it the key/main window.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@20578 72102866-910b-0410-8b05-ffd578937521
2005-01-18 14:45:31 +00:00
Alexander Malmberg
38b6a9b074 2005-01-18 15:46 Alexander Malmberg <alexander@malmberg.org>
* Source/NSApplication.m (-finishLaunching): Don't attempt to open
	an untitled file if we were autolaunched.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@20577 72102866-910b-0410-8b05-ffd578937521
2005-01-18 14:42:22 +00:00
Alexander Malmberg
9fd5580d01 2005-01-18 14:16 Alexander Malmberg <alexander@malmberg.org>
* Source/NSAffineTransform.m (pi): Correct the rounding.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@20576 72102866-910b-0410-8b05-ffd578937521
2005-01-18 13:26:00 +00:00
Matt Rice
4f18a708bf * Source/NSTextView.m (setSelectedRange:): Do not make the selected text visible.
(-didChangeText,-checkSpelling:): Make the selected text visible.
* Source/NSTextView_actions.m (_moveTo:select:): Ditto.
* Source/NSCell.m (-setUpFieldEditorAttributes:): Ditto.
(-selectWithFrame:inView:editor:delegate:start:length:): Ditto.
* Source/NSComboBoxCell (-validateSelection:,-textDidChange:): Ditto.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@20575 72102866-910b-0410-8b05-ffd578937521
2005-01-18 13:18:29 +00:00
Alexander Malmberg
0a62f93891 2005-01-18 14:09 Alexander Malmberg <alexander@malmberg.org>
* Source/Functions.m (NSDottedFrameRect, NSFrameRectWithWidth): Draw
	the frame inside the given rectangle.
	(NSDrawTiledRects): Remove documentation.
	* Headers/AppKit/NSGraphics.h (NSDottedFrameRect, NSFrameRect)
	(NSFrameRectWithWidth, NSDrawTiledRects): Add new documentation.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@20574 72102866-910b-0410-8b05-ffd578937521
2005-01-18 13:08:37 +00:00
Adrian Robert
57d8fc5b92 NSWindow -sendEvent:becomesKeyOnlyIfNeeded now sends mouseDragged events to _lastView, rather than view (if exists) underneath mouse
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@20569 72102866-910b-0410-8b05-ffd578937521
2005-01-17 02:12:05 +00:00
Adrian Robert
b8464ec6d4 don't let marker 'null_event' unhide mouse
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@20568 72102866-910b-0410-8b05-ffd578937521
2005-01-17 01:26:01 +00:00
Fred Kiefer
7c8190c993 Allow text and image in NSBrowserCell at the same time.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@20567 72102866-910b-0410-8b05-ffd578937521
2005-01-17 00:07:50 +00:00
Gregory John Casamento
310d3464fd Further undo improvements.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@20562 72102866-910b-0410-8b05-ffd578937521
2005-01-16 11:38:23 +00:00
Gregory John Casamento
7e6ddd83a6 More undo stuff.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@20558 72102866-910b-0410-8b05-ffd578937521
2005-01-15 11:06:01 +00:00
Alexander Malmberg
52e84e5d08 2005-01-14 16:11 Alexander Malmberg <alexander@malmberg.org>
* Headers/AppKit/NSSavePanel.h (-panel:shouldShowFilename:):
	Document.
	* Source/NSSavePanel.m (-setDelegate:): Call -validateVisibleColumns.
	Whitespace cleanups.
	(-browser:isColumnValid:): Give the delegate the complete path to
	each file.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@20555 72102866-910b-0410-8b05-ffd578937521
2005-01-14 15:15:54 +00:00
Gregory John Casamento
ee5fe319db Corrected undo in nsdocument.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@20553 72102866-910b-0410-8b05-ffd578937521
2005-01-14 14:24:57 +00:00
Gregory John Casamento
dc4cf8f93c Corrected undo.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@20551 72102866-910b-0410-8b05-ffd578937521
2005-01-14 10:50:06 +00:00
Adam Fedor
a6bacaf8d8 * Source/GNUmakefile.preamble: Extend FILTER_OUT flag to
all sparc architectures.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@20546 72102866-910b-0410-8b05-ffd578937521
2005-01-13 16:04:51 +00:00
Alexander Malmberg
f008693502 2005-01-12 00:47 Alexander Malmberg <alexander@malmberg.org>
* Source/GSStandardWindowDecorationView.m (-initWithFrame🪟):
	Create a paragraph style with line-breaking-by-clipping and use it
	for window titles.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@20543 72102866-910b-0410-8b05-ffd578937521
2005-01-11 23:43:36 +00:00
Alexander Malmberg
ff7516df4b 2005-01-11 23:50 Alexander Malmberg <alexander@malmberg.org>
* Headers/AppKit/NSBezierPath.h (NSWindingRule)
 	(-containsPoint): Document.
	(-windingCountAtPoint:): New method.
	* Source/NSBezierPath.m: Remove some trailing whitespace.
	(PI): Correct rounding.
	(contribution, -contributionToContains:): Remove.
	(winding_line, winding_curve): New functions.
	(-windingCountAtPoint:): New method.
	(-containsPoint:): Use -windingCountAtPoint: instead of
	-contributionToContains:. Don't flatten the path.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@20538 72102866-910b-0410-8b05-ffd578937521
2005-01-11 22:53:08 +00:00
Matt Rice
3cbd603819 * Source/NSTableHeaderCell.m (-drawInteriorWithFrame:inView:): Use
the correct background/highlight colors and NSCompositeSourceOver for
image cells.
(-setHighlighted): Use controlHighlightColor instead of controlColor.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@20533 72102866-910b-0410-8b05-ffd578937521
2005-01-09 16:12:14 +00:00
Quentin Mathe
f43c0326c6 Fixed the toolbar bug #11393
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@20503 72102866-910b-0410-8b05-ffd578937521
2004-12-30 14:02:00 +00:00
Gregory John Casamento
2f2183fca1 Correction for bug#11409.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@20498 72102866-910b-0410-8b05-ffd578937521
2004-12-28 17:06:14 +00:00
Quentin Mathe
da59460004 More correct NSComboBoxCell implementation
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@20446 72102866-910b-0410-8b05-ffd578937521
2004-12-13 02:18:32 +00:00
Fred Kiefer
843814c42c Extended NSCursor to handle missing standard cursor.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@20428 72102866-910b-0410-8b05-ffd578937521
2004-12-08 23:53:32 +00:00
Adam Fedor
36aaff3b9d * Source/GSDragView.m ([GSDragView -_setCursor]): Initialize variable.
* Source/NSMatrix.m: Rename vaguely-named macro.
(Based on Path #3499 from Patrick Middleton).


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@20346 72102866-910b-0410-8b05-ffd578937521
2004-11-12 04:19:33 +00:00
Adam Fedor
13e0addf7d * Version: Add numeric value for runtime versioning.
* Souce/GNUmakeifle: Add resource set install.
* Source/GNUmakefile.postamble (Info-gnustep.plist): New target.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@20344 72102866-910b-0410-8b05-ffd578937521
2004-11-12 03:53:23 +00:00
Fred Kiefer
7447bc1045 Moved the main menu handling into the class NSMenu and fixed activation problem on Windows.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@20342 72102866-910b-0410-8b05-ffd578937521
2004-11-11 19:52:24 +00:00
Alexander Malmberg
ee70d6ab43 2004-11-11 15:08 Alexander Malmberg <alexander@malmberg.org>
* Source/NSCell.m (-_setupTextWithFrame:inView:editor:): Reduce the
	maximum size. Explicitly set the size of the text view, and make it
	not resizable.
	* Source/NSLayoutManager.m (-rectArrayForGlyphRange:
	withinSelectedGlyphRange:inTextContainer:rectCount:): Fix check for
	whether the starting index is inside a line frag rect.
	* Source/NSTextView.m (-sizeToFit): Don't increase the size if we
	have no inset.
	(-updateInsertionPointStateAndRestartTimer:): Force the insertion
	point rect to be inside the text view.
	(-scrollRangeToVisible:): If we are a non-rich-text field editor,
	adjust the scrolling to make the auto-scrolling more useful.

	Fixes bug #9279.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@20340 72102866-910b-0410-8b05-ffd578937521
2004-11-11 14:10:08 +00:00
Matt Rice
d714152e8f 2004-11-10 Matt Rice <ratmice@yahoo.com>
* Headers/Additions/GNUstepGUI/GSDisplayServer.h (-iconSize): New method        declaration.
        (-iconTileImage): Ditto.
        * Source/GSDisplayServer.m (-resolutionForScreen:): Fix Typo in Docs.
        (-boundsForScreen:): Ditto.
        (-windowBounds:): Ditto.
        (-iconSize): Implement new method.
        (-iconTileImage): Ditto.
        * Source/NSApplication.m (NSAppIconView): Remove
        useWindowmakerIconBackground variable.
        (scaledIconSizeForSize): New function.
        ([NSAppIconView +initialize]): Dont set a default image here. Remove
        usage of GSUseWindowmakerIconBackground default. Use backend tile and
        scale it to the backend icon size.
        ([NSAppIconView -drawRect:]): Remove usage of
        useWindowmakerIconBackground. Draw cells with the backend icon size.
        ([NSAppIconView -setImage:]): Set the image to a scaled copy.
        setNeedsDisplay instead of drawing directly.
        ([NSApplication -_appIconInit]): Use backend icon size.
        * Source/NSWindow.m: Remove useWindowmakerIconBackground variable.
        (scaledIconSizeForSize): New function.
        ([NSMiniWindowView +initialize]): Remove usage of
        GSUseWindowmakerIconBackground default. Use backend tile image and scale        it to the backend icon size.
        ([NSMiniWindowView -drawRect:]): Remove usage of
        useWindowmakerIconBackground. Draw cells with the backend iconSize.
        ([NSMiniWindowView -setImage:]): Set the image to a scaled copy.
        setNeedsDisplay instead of drawing directly.
        ([NSMiniWindowView -setTitle:]): setNeedsDisplay instead of drawing
        directly.
        ([NSWindow -miniaturize:]): Use backend icon size.
        * Documentation/GuiUser/DefaultsSummary.gsdoc: Remove docs for
        GSUseWindowmakerIconBackground.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@20336 72102866-910b-0410-8b05-ffd578937521
2004-11-10 17:12:57 +00:00
Adrian Robert
409e8d2388 NSTabView fixes to bring in line w/os x behavior for display update and zero-tabs case; NSColorList capability added to read text color files, and corrected interp of arg to -initWithNameFromFile
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@20334 72102866-910b-0410-8b05-ffd578937521
2004-11-10 04:36:23 +00:00
Alexander Malmberg
aa6f4087a1 2004-11-09 22:36 Alexander Malmberg <alexander@malmberg.org>
* Source/GSInfoPanel.m (_value_from_info_plist_for_key): Rename to
	value_from_info_plist_for_key.
	(_nil_or_not_of_class): Rename to nil_or_not_of_class.
	Update callers.
	(-initWithDictionary:): Fix comment typo.
	* Source/NSAlert.m: Whitespace cleanups.
	* Source/NSPrinter.m: Whitespace cleanups.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@20332 72102866-910b-0410-8b05-ffd578937521
2004-11-09 21:37:43 +00:00
Alexander Malmberg
0958e055fa 2004-11-09 22:08 Alexander Malmberg <alexander@malmberg.org>
* Source/GSHorizontalTypesetter.m (-layoutLineNewParagraph:):
	Implement NSLineBreakByClipping. Set outside_line_frag and dont_show
	attributes for every glyph.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@20330 72102866-910b-0410-8b05-ffd578937521
2004-11-09 21:14:36 +00:00
Alexander Malmberg
b9990147a6 2004-11-09 18:55 Alexander Malmberg <alexander@malmberg.org>
* Source/NSPasteboard.m (+_pbs): Give gpbs a --GSStartupNotification
	argument. Listen for the notification and connect immediately if it
	arrives. Clarify the user message.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@20325 72102866-910b-0410-8b05-ffd578937521
2004-11-09 17:57:45 +00:00
Quentin Mathe
82b7c49bb5 Fixed the possibility to call -setImagePosition: after -setImage: broke with the previous commit
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@20309 72102866-910b-0410-8b05-ffd578937521
2004-11-08 02:20:10 +00:00
Quentin Mathe
9ffc576add Fixed NSButtonCell -image returns nil
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@20308 72102866-910b-0410-8b05-ffd578937521
2004-11-07 20:59:16 +00:00
Quentin Mathe
a93430ad56 Improved the NSWindow positioning
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@20306 72102866-910b-0410-8b05-ffd578937521
2004-11-07 18:03:50 +00:00
Gregory John Casamento
e739e88641 Removed unneeded nibInstantiate method.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@20303 72102866-910b-0410-8b05-ffd578937521
2004-11-06 13:48:12 +00:00
Alexander Malmberg
df0ff73e62 2004-10-30 Alex Perez <aperez@student.santarosa.edu>
* Headers/AppKit/NSImage.h (+_standardImageWithName:): New method.
	* Source/NSImage.m (+_standardImageWithName:): New method.
	* Source/NSWorkspace.m (_getImageForName:alternate:): Remove. Update
	callers to use +_standardImageWithName: instead.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@20270 72102866-910b-0410-8b05-ffd578937521
2004-10-30 11:19:07 +00:00
Quentin Mathe
50bad4da8e Unified application icons support in NSWorkspace
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@20257 72102866-910b-0410-8b05-ffd578937521
2004-10-24 23:53:31 +00:00
Quentin Mathe
7a7ef628ca Fixed -appIconForApp: in NSWorkspace
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@20256 72102866-910b-0410-8b05-ffd578937521
2004-10-24 17:24:38 +00:00
Gregory John Casamento
78b37d430e Correction for issue with gcc 3.4.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@20243 72102866-910b-0410-8b05-ffd578937521
2004-10-22 12:20:01 +00:00
Fred Kiefer
6ff377994a Small improvements for keyed decoding.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@20242 72102866-910b-0410-8b05-ffd578937521
2004-10-21 21:01:36 +00:00
Gregory John Casamento
208c87b881 Improvements in keyed coding and correction for NSCell formatter unarchiving issue.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@20235 72102866-910b-0410-8b05-ffd578937521
2004-10-18 01:48:15 +00:00
Adrian Robert
51256bbe12 NSBestDepth() checks outarg non-null (Functions.m); getNSFont() treats negative fontSize arg as 0 (NSFont.m); documented
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@20231 72102866-910b-0410-8b05-ffd578937521
2004-10-17 18:52:48 +00:00
Matt Rice
ff9620f5f4 2004-10-15 07:33 Matt Rice <ratmice@yahoo.com>
* Source/NSApplication.m ([NSAppIconView -mouseDown:]): order front
        possibly obscured windows if not hidden.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@20225 72102866-910b-0410-8b05-ffd578937521
2004-10-15 14:37:48 +00:00
Fred Kiefer
5271b53ebe Some more keyed decoding.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@20216 72102866-910b-0410-8b05-ffd578937521
2004-10-10 22:36:02 +00:00
Fred Kiefer
08529677f0 Added some more keyed decoding.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@20211 72102866-910b-0410-8b05-ffd578937521
2004-10-08 21:24:25 +00:00
Chad Hardin
0cddf71bd1 Printing updates
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@20207 72102866-910b-0410-8b05-ffd578937521
2004-10-08 05:22:22 +00:00
Adam Fedor
f6d83285ae * Source/GNUmakefile.postamble (libgnustep-gui.def): Search for both
T and R symbols to work with multiple mingw/cygwin flavors.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@20198 72102866-910b-0410-8b05-ffd578937521
2004-10-06 03:34:46 +00:00
Adam Fedor
2d88c43c22 * Documentation/ReleaseNotes.gsdoc: Format fixes.
* Source/DocMakefile (before-clean, after-clean): Move obj out of the
way so it isn't removed when cleaning docs.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@20182 72102866-910b-0410-8b05-ffd578937521
2004-10-01 14:57:39 +00:00
Adam Fedor
137396c189 * Source/GNUmakefile.preamble: Add filter out flags for
compilation of some files on Solaris.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@20181 72102866-910b-0410-8b05-ffd578937521
2004-10-01 14:55:54 +00:00
Alexander Malmberg
2e391ee77e * Source/GSServicesManager.m (NSPerformService): Check whether the
service provider is remote by checking the class of the object.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@20162 72102866-910b-0410-8b05-ffd578937521
2004-09-27 15:53:04 +00:00
Alexander Malmberg
56e200830d * Source/NSTabViewItem.m (-drawLabel:inRect:): Adjust the label
position to match the text height change (of 2004-09-21).


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@20151 72102866-910b-0410-8b05-ffd578937521
2004-09-26 20:20:32 +00:00
Matt Rice
3a84f7e3af 2004-09-25 Matt Rice <ratmice@yahoo.com>
* Source/NSScrollView.m: Remove corner view when we have one, but no
        vertical scroller. (Fixes #10501).


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@20147 72102866-910b-0410-8b05-ffd578937521
2004-09-26 12:49:32 +00:00
Adam Fedor
b58f4fd5e1 * Documentation/GNUmakefile.postamble: Clean up files properly
* Source/DocMakefile: Fix up for moved files
* Documentation/Gui/Gui.gsdoc,
Documentation/GuiAdditions/GuiAdditions.gsdoc: Move up one level.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@20133 72102866-910b-0410-8b05-ffd578937521
2004-09-25 02:51:05 +00:00
Fred Kiefer
e13699f905 Added editing methods.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@20125 72102866-910b-0410-8b05-ffd578937521
2004-09-24 16:35:41 +00:00
Fred Kiefer
54da49bd72 Make sure menu views get cleaned up properly.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@20122 72102866-910b-0410-8b05-ffd578937521
2004-09-24 10:54:18 +00:00
Fred Kiefer
a52e330d25 Added some more keyed decoding.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@20116 72102866-910b-0410-8b05-ffd578937521
2004-09-23 23:12:54 +00:00
Alexander Malmberg
d3f517e16b * Source/NSTableView.m (-mouseDown:): Fix the check that detects
when an unselected row is being dragged.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@20115 72102866-910b-0410-8b05-ffd578937521
2004-09-23 20:36:10 +00:00
Alexander Malmberg
767334b501 * Source/NSCursor.m (_getStandardCursor): Rename to
getStandardCursor and make static and non-inlined. Update callers.
	* Source/NSTableView.m (computePeriod): Make static.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@20102 72102866-910b-0410-8b05-ffd578937521
2004-09-21 22:00:26 +00:00
Alexander Malmberg
811ae4cf9f * Source/GSFontInfo.m (-defaultLineHeightForFont): Adjust line
height calculation.
	* Source/NSButtonCell.m (-drawInteriorWithFrame:inView:): Always
	initialize imageRect and titleRect. Adjust the calculations to match
	the new line height.
	(-cellSize): Always initialize imageRect and titleRect.
	* Headers/AppKit/NSCell.h (-_drawImage:inFrame:isFlipped:): Remove.
	* Source/NSCell.m (-_drawImage:inFrame:isFlipped:): Remove. Move code
	back ...
	(-drawInteriorWithFrame:inView:): ... here.
	* Source/NSToolbarItem.m (+initialize): Remove.
	(+cellClass): Add.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@20100 72102866-910b-0410-8b05-ffd578937521
2004-09-21 16:55:43 +00:00
Alexander Malmberg
e2e0084fdb Log tiff warnings using NSDebugLLog instead of NSLog. Make private methods static.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@20082 72102866-910b-0410-8b05-ffd578937521
2004-09-18 13:16:55 +00:00
Fred Kiefer
91cf238321 Small correction on last change.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@20079 72102866-910b-0410-8b05-ffd578937521
2004-09-17 17:47:39 +00:00
Fred Kiefer
a15214f38d Readded NSCell setType: patch with originally missing bit for NSButtonCell.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@20072 72102866-910b-0410-8b05-ffd578937521
2004-09-16 13:44:00 +00:00
Matt Rice
878d6abeac 2004-09-16 Matt Rice <ratmice@yahoo.com>
* Source/NSTextFieldCell.m (+initialize): Bump class version.
        (-initWithCoder:): When decoding the previous version of NSTextFieldCell        replace the old default _action_mask with the new default value.
        (Fixes #9609 for .gorm files)


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@20069 72102866-910b-0410-8b05-ffd578937521
2004-09-16 07:34:41 +00:00
Adrian Robert
309cb40424 removed ../Documentation/Gui/Introduction.gsdoc from list of gsdoc files; this material was moved in texi form into Documentation/manual
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@20066 72102866-910b-0410-8b05-ffd578937521
2004-09-15 01:27:04 +00:00
Matt Rice
8b3d930318 2004-09-13 Matt Rice <ratmice@yahoo.com>
* NSScrollView.h: Declare new ivar _cornerView and private method
        -_synchronizeCornerAndHeaderView
        * NSScrollView.m (tile): Call _synchronizeCornerAndHeaderView method
        from here. Replace local cornerView variable with _cornerView.
        (-setDocumentView:): Remove code to set the corner and header views.
        (-_synchronizeCornerAndHeaderView): Implement new method.
        * NSTableView.m (-setHeaderView:, -setCornerView:): call tile on the
        scroll view we're in. Remove comments and warnings for cases which are
        now implemented.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@20049 72102866-910b-0410-8b05-ffd578937521
2004-09-13 19:57:44 +00:00
Matt Rice
afaa68f9d5 2004-09-12 Matt Rice <ratmice@yahoo.com>
* Headers/AppKit/NSCell.h (-_sendsActionOn:): New method.
        * Source/NSCell.m (-_sendsActionOn:): Implement it.
        * Source/NSTextFieldCell.m (-initTextCell:): Change _action_mask to a
        key press.
        * Source/NSTableView.m (-mouseDown:): Use _sendsActionOn: to only modify        the object value and send the event to the cell if the cell works on
        mouse events. (Fixes #9609).


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@20046 72102866-910b-0410-8b05-ffd578937521
2004-09-12 16:58:32 +00:00
Gregory John Casamento
55d59ae5c2 Data link implementation.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@20045 72102866-910b-0410-8b05-ffd578937521
2004-09-12 04:26:21 +00:00
Gregory John Casamento
05af0a68bc Corrected an issue and more work on data link.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@20044 72102866-910b-0410-8b05-ffd578937521
2004-09-11 16:47:07 +00:00
Fred Kiefer
1040bb284d Use method call to change cell type.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@20038 72102866-910b-0410-8b05-ffd578937521
2004-09-08 22:27:23 +00:00
Adam Fedor
e04a7e9892 Correct naming mistake in INTERFACE_VERSION
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@20021 72102866-910b-0410-8b05-ffd578937521
2004-09-07 14:39:13 +00:00
Adam Fedor
4916645a42 * Source/GNUmakefile: Specify INTERFACE_VERSION explicitly.
* Documentation/ReleaseNotes.gsdoc, Documentation/news.texi: Update
for new release.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@20019 72102866-910b-0410-8b05-ffd578937521
2004-09-07 14:26:52 +00:00
Quentin Mathe
06bd77f976 Deactivated the toolbar delegate synchronisation and other toolbar modifications
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@20001 72102866-910b-0410-8b05-ffd578937521
2004-09-05 17:56:11 +00:00
Gregory John Casamento
f981e6343f Corrected issue with NSTableView.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@19999 72102866-910b-0410-8b05-ffd578937521
2004-09-05 14:32:25 +00:00
Matt Rice
353db5256c 2004-09-05 06:23 Matt Rice <ratmice@yahoo.com>
* Source/GSServicesManager.m: new method -activateIgnoringOtherApps:
        * Source/NSWorkspace.m (-launchApplication:showIcon:autolaunch:):
        call -activateIgnoringOtherApps: on the remote connection to an already
        running app.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@19998 72102866-910b-0410-8b05-ffd578937521
2004-09-05 13:46:13 +00:00
Alexander Malmberg
7d98f0f270 2004-09-04 23:32 Alexander Malmberg <alexander@malmberg.org>
* Source/GSHorizontalTypesetter.m (-layoutLineNewParagraph:):
	Pass the right glyph position to cells.
	* Headers/AppKit/NSTextAttachment.h: Clarify documentation.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@19991 72102866-910b-0410-8b05-ffd578937521
2004-09-04 21:40:30 +00:00
Alexander Malmberg
e8ce1bfa9f Remove spurious ';'.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@19985 72102866-910b-0410-8b05-ffd578937521
2004-09-03 23:10:13 +00:00
Quentin Mathe
ef1010acc4 Added the possibility to rearrange toolbar items
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@19976 72102866-910b-0410-8b05-ffd578937521
2004-09-02 17:40:00 +00:00
Adam Fedor
19e45d5c7b * Source/NSPrintInfo.m ([NSPrintInfo -paperSize]): Avoid returning
a nil object return value into a struct.
* Printing/GSLPR/GNUmakefile.preamble: Add
Source/$(GNUSTEP_TARGET_DIR) includes
* Tools/GNUmakefile.preamble: Likewise.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@19970 72102866-910b-0410-8b05-ffd578937521
2004-09-02 03:27:54 +00:00
Alexander Malmberg
ab6a805021 (-scrollRectToVisible:): Implement correctly, patch from Andrew Ruder.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@19968 72102866-910b-0410-8b05-ffd578937521
2004-09-01 22:19:49 +00:00
Quentin Mathe
a901114168 Fixed the toolbar layout problem introduced by NSButtonCell changes
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@19941 72102866-910b-0410-8b05-ffd578937521
2004-08-30 21:33:17 +00:00
Alexander Malmberg
53b27348a7 (-draggingUpdated:): Return currentDragOperation.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@19936 72102866-910b-0410-8b05-ffd578937521
2004-08-29 00:55:54 +00:00
Gregory John Casamento
b9ea1b1822 Some slight improvements. Made templates use a method called shouldSwapClass which checks for the existence of isInInterfaceBuilder and, if available, returns the value.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@19933 72102866-910b-0410-8b05-ffd578937521
2004-08-28 14:41:16 +00:00
Alexander Malmberg
da55fbe8a0 (-setFrameFromString:): Don't change the size of the window if it isn't resizable.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@19905 72102866-910b-0410-8b05-ffd578937521
2004-08-23 15:34:34 +00:00
Fred Kiefer
73fd0482a8 Deal with nil in substrign expansion.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@19898 72102866-910b-0410-8b05-ffd578937521
2004-08-21 10:06:24 +00:00
Quentin Mathe
1fc2399220 Correct details related to combo box
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@19872 72102866-910b-0410-8b05-ffd578937521
2004-08-13 23:28:50 +00:00
Quentin Mathe
a4c583b139 Fixed combo box bug introduced in June
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@19870 72102866-910b-0410-8b05-ffd578937521
2004-08-13 22:07:06 +00:00
Alexander Malmberg
dd69ef973d Adjust handling of selected range changes in response to text changes.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@19866 72102866-910b-0410-8b05-ffd578937521
2004-08-11 23:46:37 +00:00
Alexander Malmberg
f28c2b56c5 Move text back down 2 point in NSImageAbove case.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@19865 72102866-910b-0410-8b05-ffd578937521
2004-08-11 19:39:32 +00:00
Alexander Malmberg
36f5227473 Fix calculation of used rect.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@19861 72102866-910b-0410-8b05-ffd578937521
2004-08-10 00:08:42 +00:00
Alexander Malmberg
432df0d14d Add some missing void:s.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@19860 72102866-910b-0410-8b05-ffd578937521
2004-08-09 22:51:38 +00:00
Alexander Malmberg
c12bd68ed6 Optimize -advancementForGlyph: handling.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@19859 72102866-910b-0410-8b05-ffd578937521
2004-08-09 22:14:17 +00:00
Alexander Malmberg
77a10cb02f Optimize -usedRectForTextContainer:.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@19857 72102866-910b-0410-8b05-ffd578937521
2004-08-09 19:50:01 +00:00
Alexander Malmberg
bc3d8f4913 Optimize -usedRectForTextContainer:.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@19856 72102866-910b-0410-8b05-ffd578937521
2004-08-09 19:49:24 +00:00
Alexander Malmberg
8a4361bbae Make _frame in -gui the window frame always. Add methods for converting to/from screen frames.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@19855 72102866-910b-0410-8b05-ffd578937521
2004-08-09 12:59:53 +00:00
Quentin Mathe
d52db5f427 Fixed markup errors in the combo box related documentation
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@19847 72102866-910b-0410-8b05-ffd578937521
2004-08-08 19:09:57 +00:00
Chad Hardin
8f04d6a957 viewWithTag: behavior adjustment
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@19840 72102866-910b-0410-8b05-ffd578937521
2004-08-08 01:25:15 +00:00
Chad Hardin
8a5264e83f GSPrinting changes
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@19839 72102866-910b-0410-8b05-ffd578937521
2004-08-08 01:08:55 +00:00
Alexander Malmberg
d4818d3966 (-mouseDown:): Don't call -containsAttachments.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@19834 72102866-910b-0410-8b05-ffd578937521
2004-08-07 11:22:26 +00:00
Alexander Malmberg
d3e66437f3 Update the local changeCount when creating new NSPasteboard instances.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@19830 72102866-910b-0410-8b05-ffd578937521
2004-08-06 12:17:21 +00:00
Alexander Malmberg
682002cee0 Fix NSButtonCell size calculations. Rename xDist and yDist.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@19814 72102866-910b-0410-8b05-ffd578937521
2004-08-02 14:36:09 +00:00
Alexander Malmberg
3b3235003a Center the title properly.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@19808 72102866-910b-0410-8b05-ffd578937521
2004-08-01 13:00:29 +00:00
Alexander Malmberg
9cd4d1cc7f Document GSReadRect and update users.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@19801 72102866-910b-0410-8b05-ffd578937521
2004-07-30 13:58:03 +00:00
Adrian Robert
5c887a9ec7 fixed tag typo messing up the gsdoc
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@19791 72102866-910b-0410-8b05-ffd578937521
2004-07-29 15:13:36 +00:00
Alexander Malmberg
8335596ee3 Make -setBackgroundColor: redisplay the window background. Fix frame constraining.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@19785 72102866-910b-0410-8b05-ffd578937521
2004-07-28 17:56:57 +00:00
Quentin Mathe
6576a77429 NSToolbar visibility issue corrected
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@19780 72102866-910b-0410-8b05-ffd578937521
2004-07-27 15:15:29 +00:00
Alexander Malmberg
5d0e3f4755 Fix memory leaks, -copyWithZone:, and use predefined attribute name variables.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@19773 72102866-910b-0410-8b05-ffd578937521
2004-07-24 20:51:39 +00:00
Alexander Malmberg
002efa32ed Add GSUseWindowmakerIconBackground default.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@19771 72102866-910b-0410-8b05-ffd578937521
2004-07-22 23:57:46 +00:00
Chad Hardin
73dbff47ec New NSPageLayout UI
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@19767 72102866-910b-0410-8b05-ffd578937521
2004-07-22 04:59:09 +00:00
Gregory John Casamento
c7d52d3fd8 Corrected spelling of "merely" in my explanation of how to correctly release nib objects.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@19766 72102866-910b-0410-8b05-ffd578937521
2004-07-22 04:14:03 +00:00
Alexander Malmberg
8228108b86 Pass -setTitle: and -setDocumentEdited: calls along to super.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@19763 72102866-910b-0410-8b05-ffd578937521
2004-07-21 23:03:34 +00:00
Alexander Malmberg
6f8905d60d Add updateSizeField: argument to -_trySelectSize:. Update callers.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@19758 72102866-910b-0410-8b05-ffd578937521
2004-07-21 17:58:24 +00:00
Alexander Malmberg
2ac6904615 Use floor() instead of floorf().
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@19749 72102866-910b-0410-8b05-ffd578937521
2004-07-19 23:28:33 +00:00
Gregory John Casamento
5737b76c79 Added an informative comment.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@19748 72102866-910b-0410-8b05-ffd578937521
2004-07-18 16:04:39 +00:00
Gregory John Casamento
bb09d6f82d Removed some old commented out code.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@19747 72102866-910b-0410-8b05-ffd578937521
2004-07-18 15:55:22 +00:00
Adam Fedor
783f69bbd6 Doc updates and minor fixes.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@19736 72102866-910b-0410-8b05-ffd578937521
2004-07-15 03:28:25 +00:00
Alexander Malmberg
5c5d7bb400 (-_recalculateBounds): Rewrite.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@19734 72102866-910b-0410-8b05-ffd578937521
2004-07-15 00:32:01 +00:00
Alexander Malmberg
9cd58a39ab (+imageRepsWithContentsOfFile:): If the filename has no extension, use the data to determine the type.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@19726 72102866-910b-0410-8b05-ffd578937521
2004-07-13 00:59:37 +00:00
Alexander Malmberg
0b29070af3 Rewrite autodisplay handling.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@19725 72102866-910b-0410-8b05-ffd578937521
2004-07-12 23:19:14 +00:00
Alexander Malmberg
2e9a6a5c61 Only declare the_server if HAVE_AUDIOFILE_H is defined.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@19724 72102866-910b-0410-8b05-ffd578937521
2004-07-12 22:28:27 +00:00
Sergii Stoian
cf5f059c65 Image dimming and gradient drawing added
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@19721 72102866-910b-0410-8b05-ffd578937521
2004-07-12 21:42:31 +00:00
Gregory John Casamento
7f1e3425e5 Change to GSNibContainer to allow encoding of older container version.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@19718 72102866-910b-0410-8b05-ffd578937521
2004-07-12 03:27:36 +00:00
Chad Hardin
bad00c8db9 PageLayout improvements
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@19713 72102866-910b-0410-8b05-ffd578937521
2004-07-11 21:31:39 +00:00
Alexander Malmberg
195960d5d5 Get the printing buffer size right this time.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@19712 72102866-910b-0410-8b05-ffd578937521
2004-07-11 14:36:51 +00:00
Alexander Malmberg
6feb2e58f5 When printing, position each glyph explicitly.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@19711 72102866-910b-0410-8b05-ffd578937521
2004-07-11 12:21:41 +00:00
Chad Hardin
989ae0cdd8 Backend printing bundle system changes
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@19705 72102866-910b-0410-8b05-ffd578937521
2004-07-10 10:19:34 +00:00
Fred Kiefer
ca71d7e075 Moved code around.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@19697 72102866-910b-0410-8b05-ffd578937521
2004-07-09 00:06:39 +00:00
Fred Kiefer
d208ab5159 Added file forgotten in last commit.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@19696 72102866-910b-0410-8b05-ffd578937521
2004-07-08 17:57:25 +00:00
Gregory John Casamento
19851bd3d3 Temporarily removed NSMovieView until committed.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@19695 72102866-910b-0410-8b05-ffd578937521
2004-07-08 01:36:00 +00:00
Quentin Mathe
6b519561bf Forgot to commit NSToolbarItem.m and NSToolbarItem.h
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@19694 72102866-910b-0410-8b05-ffd578937521
2004-07-07 23:21:10 +00:00
Fred Kiefer
605f60b151 Added new MacOSX classes.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@19693 72102866-910b-0410-8b05-ffd578937521
2004-07-07 22:43:04 +00:00
Sergii Stoian
867c0523e0 Use added highlighted images of buttons
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@19691 72102866-910b-0410-8b05-ffd578937521
2004-07-07 21:49:08 +00:00
Quentin Mathe
e428e69f82 Toolbar improvements... Fixed several major and minor bugs, rewritten the validation support, lot of memory leaks eliminated and other changes
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@19689 72102866-910b-0410-8b05-ffd578937521
2004-07-07 21:25:42 +00:00
Alexander Malmberg
e2178bf8f1 Properly convert window frames to content view frames and back. Don't assume that the position of the content view is (0,0).
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@19688 72102866-910b-0410-8b05-ffd578937521
2004-07-06 23:31:57 +00:00
Alexander Malmberg
7ac30eed06 Reorganize top-level view handling and implement -gui-managed window decorations.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@19687 72102866-910b-0410-8b05-ffd578937521
2004-07-06 20:20:31 +00:00
Gregory John Casamento
6e7ef17e28 Minor corrections to toolbar to correct a memory leak.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@19684 72102866-910b-0410-8b05-ffd578937521
2004-07-05 12:57:47 +00:00
Fred Kiefer
d8efe75de4 Some fixes for NSOutlineView reloading.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@19676 72102866-910b-0410-8b05-ffd578937521
2004-07-03 16:34:24 +00:00
Fred Kiefer
70fd89a472 Corrected bug in NSOutlineView
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@19665 72102866-910b-0410-8b05-ffd578937521
2004-07-01 18:46:42 +00:00
Gregory John Casamento
95a20b1b16 New .gorm version updates.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@19649 72102866-910b-0410-8b05-ffd578937521
2004-06-29 03:04:28 +00:00
Sergii Stoian
6de723c6ad Pending knob proportion setting implemented. Handle the case when knob proportion == 1.0
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@19643 72102866-910b-0410-8b05-ffd578937521
2004-06-28 13:21:06 +00:00
Sergii Stoian
7d048ada92 scroler fixes
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@19642 72102866-910b-0410-8b05-ffd578937521
2004-06-28 13:19:32 +00:00
Fred Kiefer
d6f5403307 Added MacOSX standard cursors and improved mouse hidding.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@19638 72102866-910b-0410-8b05-ffd578937521
2004-06-28 12:21:36 +00:00
Alexander Malmberg
533700c724 Replace calls to GSGetInstanceMethodNotInherited with calls to GSGetMethod.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@19634 72102866-910b-0410-8b05-ffd578937521
2004-06-27 21:14:04 +00:00
Gregory John Casamento
57596f2aa3 Minor correction to previous update.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@19621 72102866-910b-0410-8b05-ffd578937521
2004-06-26 01:40:26 +00:00
Gregory John Casamento
822370a34a Added warning in GSNibCompatibility for ancient gorm files, refomatted some code in NSDataLinkPanel and added drag service init code to initWithCoder in NSTextView.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@19620 72102866-910b-0410-8b05-ffd578937521
2004-06-26 00:53:01 +00:00
Sergii Stoian
a8d583157b updateScoller fixes
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@19617 72102866-910b-0410-8b05-ffd578937521
2004-06-25 22:31:10 +00:00
Sergii Stoian
a24e83cad5 NSBrowser selection fixes
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@19612 72102866-910b-0410-8b05-ffd578937521
2004-06-24 22:31:46 +00:00
Fred Kiefer
e26d3866b5 Corrected removal from table view to fall over corrupted selection.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@19611 72102866-910b-0410-8b05-ffd578937521
2004-06-24 20:49:43 +00:00
Sergii Stoian
25fe6d035e NSBrowser column and horizontal scroller widths fixes
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@19606 72102866-910b-0410-8b05-ffd578937521
2004-06-23 21:43:54 +00:00
Fred Kiefer
786f3ffe66 Made mouse down changes of table view work with outline view.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@19571 72102866-910b-0410-8b05-ffd578937521
2004-06-21 11:41:26 +00:00
Fred Kiefer
130440495b Made selecting values from a combo box in a table view work.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@19568 72102866-910b-0410-8b05-ffd578937521
2004-06-20 22:25:17 +00:00
Fred Kiefer
58a073e7c5 Better handling of generic drag window loaction update.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@19553 72102866-910b-0410-8b05-ffd578937521
2004-06-19 15:27:03 +00:00
Fred Kiefer
c5023b12e4 Finished off backend indepenend dragging.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@19546 72102866-910b-0410-8b05-ffd578937521
2004-06-18 23:49:40 +00:00
Fred Kiefer
36e5bff453 Removed commented out lines.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@19542 72102866-910b-0410-8b05-ffd578937521
2004-06-18 00:02:32 +00:00
Fred Kiefer
2ed0ec270e Made comboboxes work in flipped views.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@19541 72102866-910b-0410-8b05-ffd578937521
2004-06-18 00:01:18 +00:00
Fred Kiefer
a9031e5bfc Made ComoboxCells usable in TableViews.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@19540 72102866-910b-0410-8b05-ffd578937521
2004-06-17 21:38:33 +00:00
Fred Kiefer
a6c243332f Started to clean up mouse down handling.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@19531 72102866-910b-0410-8b05-ffd578937521
2004-06-16 00:30:43 +00:00
Fred Kiefer
1d68023071 Alleded missing copy to combobox.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@19519 72102866-910b-0410-8b05-ffd578937521
2004-06-14 23:30:11 +00:00
Adam Fedor
f371c836f5 Version 0.9.3
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@19499 72102866-910b-0410-8b05-ffd578937521
2004-06-11 18:58:40 +00:00
Quentin Mathe
7ee85fd8a9 Improved combo box look with other minor changes
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@19487 72102866-910b-0410-8b05-ffd578937521
2004-06-09 10:34:33 +00:00
Fred Kiefer
f962706ef0 Use GSDrawingFunctions instead of Function.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@19483 72102866-910b-0410-8b05-ffd578937521
2004-06-07 23:54:25 +00:00
Quentin Mathe
daa0b750c0 Added NSComboBoxCell documentation
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@19480 72102866-910b-0410-8b05-ffd578937521
2004-06-07 14:16:28 +00:00
Quentin Mathe
506264d1c7 Added NSComboBox documentation
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@19473 72102866-910b-0410-8b05-ffd578937521
2004-06-06 17:02:30 +00:00
Fred Kiefer
1bfe43398f New backend neutral DnD implementation (still incomplete)
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@19451 72102866-910b-0410-8b05-ffd578937521
2004-06-03 22:44:12 +00:00
David Ayers
c1972529da * Source/GSToolbar.m ([GSValidationManager-initWithWindow:):
Move variable declarations to the beginning of the block.
        Format according to standards.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@19444 72102866-910b-0410-8b05-ffd578937521
2004-06-02 15:43:19 +00:00
Gregory John Casamento
78d87d1353 New implementation of spell checker.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@19431 72102866-910b-0410-8b05-ffd578937521
2004-06-01 05:51:06 +00:00
Fred Kiefer
a86cde69a9 Extension of drawing functions and corrections for combo box.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@19430 72102866-910b-0410-8b05-ffd578937521
2004-05-31 19:24:10 +00:00
Quentin Mathe
ce40c0e08b Fixed image reference
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@19424 72102866-910b-0410-8b05-ffd578937521
2004-05-29 16:49:53 +00:00
Quentin Mathe
88f81b68b5 Fixed NSComboBoxCell decoding bug
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@19423 72102866-910b-0410-8b05-ffd578937521
2004-05-29 16:35:08 +00:00
Quentin Mathe
aecfd77282 Rewritten combo box implementation
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@19418 72102866-910b-0410-8b05-ffd578937521
2004-05-29 13:17:21 +00:00
Quentin Mathe
25c753ed0f Fixed the toolbar validation support side effects
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@19411 72102866-910b-0410-8b05-ffd578937521
2004-05-28 23:49:16 +00:00
Alexander Malmberg
181eac6eeb (-size): Don't try to get the size if rep is nil.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@19403 72102866-910b-0410-8b05-ffd578937521
2004-05-26 23:42:48 +00:00
Fred Kiefer
cac2d857fa Prevent errors from NSTableView number of rows changing, when there were no rows selected.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@19400 72102866-910b-0410-8b05-ffd578937521
2004-05-25 17:47:12 +00:00
Quentin Mathe
aca8e03fed Minor changes to better support the toolbar validation
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@19391 72102866-910b-0410-8b05-ffd578937521
2004-05-23 18:39:07 +00:00
Quentin Mathe
031f8b56bc Toolbar improvements, include validation, border, memory leaks, selected item
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@19390 72102866-910b-0410-8b05-ffd578937521
2004-05-23 18:22:45 +00:00
Quentin Mathe
3963927f9c Added color customization to the toolbar and first part of the validation support
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@19372 72102866-910b-0410-8b05-ffd578937521
2004-05-18 19:35:58 +00:00
Adam Fedor
43997f992f Conform to documentation
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@19334 72102866-910b-0410-8b05-ffd578937521
2004-05-15 04:04:51 +00:00
Sergii Stoian
7d6b0a1f1d [adjustSubviews] call setNeedsDisplay: after resizing subviews
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@19329 72102866-910b-0410-8b05-ffd578937521
2004-05-14 20:44:50 +00:00
Sergii Stoian
09960c9dc8 [drawRect:] use _bounds instead of rect for NSDrawGrayBezel
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@19328 72102866-910b-0410-8b05-ffd578937521
2004-05-14 20:42:05 +00:00
Eric Sersale
bc140434b3 *** empty log message ***
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@19300 72102866-910b-0410-8b05-ffd578937521
2004-05-13 12:31:47 +00:00
Alexander Malmberg
476a373bf8 (+defaultWritingDirectionForLanguage:): Implement.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@19291 72102866-910b-0410-8b05-ffd578937521
2004-05-12 14:54:08 +00:00
Alexander Malmberg
cfe33cfa9e (-_generateGlyphsForRun:at:): Use a properly typed function pointer for characterIsMember.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@19290 72102866-910b-0410-8b05-ffd578937521
2004-05-12 13:55:46 +00:00
Fred Kiefer
6b78af5ade Added missing Cocoa methods and a Cocoa header file.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@19269 72102866-910b-0410-8b05-ffd578937521
2004-05-08 13:40:40 +00:00
Gregory John Casamento
c35f6f8821 Corrected image name
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@19240 72102866-910b-0410-8b05-ffd578937521
2004-05-06 02:12:38 +00:00
Eric Sersale
dc4eb1619b *** empty log message ***
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@19235 72102866-910b-0410-8b05-ffd578937521
2004-05-04 12:46:48 +00:00
Adam Fedor
7102ce46f9 Show dot on icon for hidden apps
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@19202 72102866-910b-0410-8b05-ffd578937521
2004-04-28 00:36:34 +00:00
Quentin Mathe
b48e7de1bc Sender for NSToolbarItem action corrected
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@19200 72102866-910b-0410-8b05-ffd578937521
2004-04-27 21:42:24 +00:00
Alexander Malmberg
f126976fd5 Autorelease the new image.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@19130 72102866-910b-0410-8b05-ffd578937521
2004-04-16 13:39:00 +00:00
Alexander Malmberg
3b4a1570d4 (-keyDown:): When the user selects a cell by typing a partial name, make sure all other cells are deselected.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@19090 72102866-910b-0410-8b05-ffd578937521
2004-04-13 22:42:30 +00:00
Quentin Mathe
991ea5ed79 Remove Source/NSWindow+Toolbar.h
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@19086 72102866-910b-0410-8b05-ffd578937521
2004-04-13 13:40:29 +00:00
Quentin Mathe
972d2de54c Added display mode and size mode support to the toolbar implementation
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@19085 72102866-910b-0410-8b05-ffd578937521
2004-04-13 13:12:53 +00:00
Quentin Mathe
28db48ddfd Added performClickWithFrame:inView: to NSCell
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@19005 72102866-910b-0410-8b05-ffd578937521
2004-04-02 21:34:37 +00:00
Quentin Mathe
920a933a52 Moved NSWindow+Toolbar.h to Headers/AppKit
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@19003 72102866-910b-0410-8b05-ffd578937521
2004-04-02 15:40:49 +00:00
Alexander Malmberg
e609ec5cb0 Fix automatic scrolling when the selection changes.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@18958 72102866-910b-0410-8b05-ffd578937521
2004-03-29 16:28:28 +00:00
Gregory John Casamento
ee5f3496bc Added missing reference to NSNib
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@18934 72102866-910b-0410-8b05-ffd578937521
2004-03-27 23:51:37 +00:00
Fred Kiefer
97692a624e Ivar type change on NSTableView and selection cleanup.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@18929 72102866-910b-0410-8b05-ffd578937521
2004-03-27 17:48:00 +00:00
Quentin Mathe
15eebccd95 NSToolbar methods removed in NSWindow
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@18865 72102866-910b-0410-8b05-ffd578937521
2004-03-23 04:53:11 +00:00
Alexander Malmberg
6d15d51344 Reimplement -convertRect:fromView: and -convertRect:toView: correctly. Don't mess up the clipping of rotated views in -lockFocusInRect:.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@18864 72102866-910b-0410-8b05-ffd578937521
2004-03-22 17:14:26 +00:00
Alexander Malmberg
977599e82a (-rotationAngle): Correct the sign of the angle and wrap it so that it's always >=0 and <=360.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@18862 72102866-910b-0410-8b05-ffd578937521
2004-03-22 01:06:37 +00:00
Alexander Malmberg
5202d04b05 Calculate layout_char properly. Comment about the weird state of things.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@18861 72102866-910b-0410-8b05-ffd578937521
2004-03-22 00:17:18 +00:00
Alexander Malmberg
c2adaaaa9d (-hitTest:): Don't require that the point is inside our super view if we don't have a super view.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@18845 72102866-910b-0410-8b05-ffd578937521
2004-03-14 18:46:01 +00:00
Alexander Malmberg
c3ec6bb834 (-mouseDown:): Send the action for simple clicks even if the selection changed.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@18844 72102866-910b-0410-8b05-ffd578937521
2004-03-14 18:31:56 +00:00
Alexander Malmberg
07176d3800 Don't cause layout_char to wrap around when adding lengthChange.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@18842 72102866-910b-0410-8b05-ffd578937521
2004-03-13 02:22:12 +00:00
Quentin Mathe
3d515688a6 Reworked toolbar implementation
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@18840 72102866-910b-0410-8b05-ffd578937521
2004-03-12 22:55:02 +00:00
Alexander Malmberg
e1984fe072 (-mouseDown:): Send our action if we get a single, simple (no drag) click.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@18837 72102866-910b-0410-8b05-ffd578937521
2004-03-12 14:32:57 +00:00
Alexander Malmberg
52d01199b1 Move declarations before statements.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@18808 72102866-910b-0410-8b05-ffd578937521
2004-03-08 18:22:07 +00:00
Alexander Malmberg
2af1627723 Don't make the popup window the key window.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@18807 72102866-910b-0410-8b05-ffd578937521
2004-03-08 18:07:37 +00:00
Fred Kiefer
d82befe200 New ivars for NSView and improved canDraw implemetantion.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@18802 72102866-910b-0410-8b05-ffd578937521
2004-03-08 13:56:56 +00:00
Adam Fedor
f169d28edb Doc fixups
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@18796 72102866-910b-0410-8b05-ffd578937521
2004-03-08 04:26:28 +00:00
Fred Kiefer
eb86d9eabb Removed unneeded action cell methods.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@18790 72102866-910b-0410-8b05-ffd578937521
2004-03-06 17:52:55 +00:00
Fred Kiefer
2fdd660c5b Small additions to save panel.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@18789 72102866-910b-0410-8b05-ffd578937521
2004-03-06 14:59:50 +00:00
Gregory John Casamento
6c860d7497 Corrected issue with inserting system defined toolbar items.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@18757 72102866-910b-0410-8b05-ffd578937521
2004-03-03 21:41:09 +00:00
Fred Kiefer
17e9214321 Some more (empty) Cocoa methods.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@18751 72102866-910b-0410-8b05-ffd578937521
2004-03-02 22:20:36 +00:00
Adam Fedor
bbb2d2da0c Updated page layout panel
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@18725 72102866-910b-0410-8b05-ffd578937521
2004-03-01 03:00:24 +00:00
Gregory John Casamento
94563c4401 Corrected misspelling of separator in toolbar code.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@18716 72102866-910b-0410-8b05-ffd578937521
2004-02-29 04:39:48 +00:00
Fred Kiefer
419cde509b Drawing change on NSBox.
Changed handling of buttons in save and open panel, this was possible after using different values for the run loop constants.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@18708 72102866-910b-0410-8b05-ffd578937521
2004-02-29 00:11:51 +00:00
Fred Kiefer
0df92e1637 Some unrelated bug fixes.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@18672 72102866-910b-0410-8b05-ffd578937521
2004-02-25 23:27:46 +00:00
Gregory John Casamento
adb7cb3132 Submitting Quentin's changes for NSToolbar.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@18651 72102866-910b-0410-8b05-ffd578937521
2004-02-25 03:27:23 +00:00
Fred Kiefer
868a8f189e Made images easier to be changed by themes.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@18647 72102866-910b-0410-8b05-ffd578937521
2004-02-24 19:31:33 +00:00
Fred Kiefer
31cde10bcd Added stubs for new MacOSX methods.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@18634 72102866-910b-0410-8b05-ffd578937521
2004-02-20 13:18:51 +00:00
Gregory John Casamento
415b47a0bc Removed keyed archiver code in deprecated template.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@18604 72102866-910b-0410-8b05-ffd578937521
2004-02-15 23:07:07 +00:00
Fred Kiefer
13a4046e1a More keyed decoding.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@18603 72102866-910b-0410-8b05-ffd578937521
2004-02-15 18:23:13 +00:00
Gregory John Casamento
91430f347e More minor cleanup.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@18601 72102866-910b-0410-8b05-ffd578937521
2004-02-15 05:42:35 +00:00
Gregory John Casamento
b6189fe8d4 Minor corrections for previous commit.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@18600 72102866-910b-0410-8b05-ffd578937521
2004-02-15 05:32:43 +00:00
Gregory John Casamento
1abba28912 Cleaned up NSNib
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@18599 72102866-910b-0410-8b05-ffd578937521
2004-02-15 03:58:10 +00:00
Fred Kiefer
9bd938e563 Small corrections on outline view.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@18595 72102866-910b-0410-8b05-ffd578937521
2004-02-14 12:49:56 +00:00
Fred Kiefer
38d9d84c34 New drawing function and small patches on button cell.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@18593 72102866-910b-0410-8b05-ffd578937521
2004-02-13 18:27:34 +00:00
Adam Fedor
4ec9abd0b0 Update
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@18591 72102866-910b-0410-8b05-ffd578937521
2004-02-13 03:57:36 +00:00
Fred Kiefer
b6d77843a3 Better detection of drag operation for NSOutlineView.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@18581 72102866-910b-0410-8b05-ffd578937521
2004-02-11 23:14:35 +00:00
Fred Kiefer
4237cbd996 Redisplay after colours changed.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@18580 72102866-910b-0410-8b05-ffd578937521
2004-02-11 22:52:40 +00:00
Fred Kiefer
b29ad3d33a Two more classes now have relavtive colour drawing.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@18576 72102866-910b-0410-8b05-ffd578937521
2004-02-11 00:01:20 +00:00
Alexander Malmberg
6b59a4f9c8 Add cachedScreenFont ivar and use it. Use more efficient keys in the globalFontMap.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@18575 72102866-910b-0410-8b05-ffd578937521
2004-02-10 20:52:11 +00:00
Gregory John Casamento
64ef0ab5fa Temporary removal of NSNib pending bugfix. :)
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@18568 72102866-910b-0410-8b05-ffd578937521
2004-02-09 01:50:45 +00:00
Fred Kiefer
154110be23 Small drawing cleanup.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@18567 72102866-910b-0410-8b05-ffd578937521
2004-02-08 23:58:41 +00:00
Fred Kiefer
32e72be592 More keyed decoding. Button cell now doesn't fill interior.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@18564 72102866-910b-0410-8b05-ffd578937521
2004-02-08 20:33:07 +00:00
Fred Kiefer
75dc38c6aa Corrected bezel drawing and keyed archiving of popup menu item cell.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@18560 72102866-910b-0410-8b05-ffd578937521
2004-02-08 13:07:24 +00:00
Gregory John Casamento
27ed3ba5e0 Committing implementation of NSNib.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@18557 72102866-910b-0410-8b05-ffd578937521
2004-02-08 06:38:37 +00:00
Alexander Malmberg
084d3b083f (-initWithCoder:): Remove an erroneous 'else' from the previous change.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@18549 72102866-910b-0410-8b05-ffd578937521
2004-02-07 02:57:56 +00:00
Fred Kiefer
93b7e7acf8 Menu reference handlin patch and further keyed archiving.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@18547 72102866-910b-0410-8b05-ffd578937521
2004-02-06 00:16:54 +00:00
Alexander Malmberg
4e1f4489e3 Fix declarations after statements.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@18546 72102866-910b-0410-8b05-ffd578937521
2004-02-05 20:07:42 +00:00
Fred Kiefer
da845d0dc4 More keyed decoding.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@18541 72102866-910b-0410-8b05-ffd578937521
2004-02-05 00:36:04 +00:00
Alexander Malmberg
2be0f07f80 Remove uses of the deprecated 'casts as lvalues' gcc extension.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@18535 72102866-910b-0410-8b05-ffd578937521
2004-02-04 00:27:49 +00:00
Alexander Malmberg
edc0a6f614 Remove obsolete libwraster image loading hacks.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@18533 72102866-910b-0410-8b05-ffd578937521
2004-02-03 22:42:15 +00:00
Fred Kiefer
afabdddd55 Added keyed decoding.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@18530 72102866-910b-0410-8b05-ffd578937521
2004-02-02 21:40:00 +00:00
Fred Kiefer
2c97e5fa28 Update the control on colour changes.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@18516 72102866-910b-0410-8b05-ffd578937521
2004-02-01 00:27:59 +00:00
Fred Kiefer
df3b584a19 Added keyed decoding.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@18510 72102866-910b-0410-8b05-ffd578937521
2004-01-30 19:49:00 +00:00
Adam Fedor
1066f6326d Fix doc markup
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@18489 72102866-910b-0410-8b05-ffd578937521
2004-01-27 04:54:59 +00:00
Fred Kiefer
173ec629ad Reflect changes to title of popup button in display.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@18487 72102866-910b-0410-8b05-ffd578937521
2004-01-26 20:49:33 +00:00
Fred Kiefer
0285ceb796 Exchanged appendTransform: and prePendTransform:
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@18479 72102866-910b-0410-8b05-ffd578937521
2004-01-25 16:50:33 +00:00
Alexander Malmberg
3c2b36c17f Reimplement using cache system for layout information.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@18478 72102866-910b-0410-8b05-ffd578937521
2004-01-25 15:19:53 +00:00
Fred Kiefer
2ea0c80f9f Corrected cancling of _handleWindowNeedsDisplay.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@18477 72102866-910b-0410-8b05-ffd578937521
2004-01-25 14:16:09 +00:00
Alexander Malmberg
5ce50e1384 Handle the case where there is no layout information at all more efficiently.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@18474 72102866-910b-0410-8b05-ffd578937521
2004-01-25 03:20:52 +00:00
Gregory John Casamento
af88bed81e Commiting implementation of NSDataLink.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@18471 72102866-910b-0410-8b05-ffd578937521
2004-01-24 20:12:04 +00:00
Gregory John Casamento
d99febaf24 Removed some commented out test code.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@18464 72102866-910b-0410-8b05-ffd578937521
2004-01-24 02:27:11 +00:00
Alexander Malmberg
bf358056a5 (-_initWithoutGModel): Use -setTitle: to set the titles of the buttons, not -setStringValue:. Patch from Matt Rice.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@18456 72102866-910b-0410-8b05-ffd578937521
2004-01-22 12:18:27 +00:00
Alexander Malmberg
9887887f7a Rename _nsbuttonCellClass to buttonCellClass and make it static.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@18455 72102866-910b-0410-8b05-ffd578937521
2004-01-22 12:11:46 +00:00
Alexander Malmberg
a641743a5c (-encodeWithCoder:): Encode nil instead of the control view.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@18454 72102866-910b-0410-8b05-ffd578937521
2004-01-22 12:09:05 +00:00
Alexander Malmberg
0c19b789bb Correct misspellings and clarify the documentation. Add missing include guards.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@18453 72102866-910b-0410-8b05-ffd578937521
2004-01-22 12:07:47 +00:00
Adam Fedor
872cb0f066 Add drawing functions for common screen elements
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@18436 72102866-910b-0410-8b05-ffd578937521
2004-01-19 04:22:47 +00:00
Sergii Stoian
a6b85fa0ea Better handling of cases with and without horizontalscroller
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@18428 72102866-910b-0410-8b05-ffd578937521
2004-01-17 10:15:45 +00:00
Fred Kiefer
49e8f3f2ec Submitted patch to NSImageView to handle target and action.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@18424 72102866-910b-0410-8b05-ffd578937521
2004-01-15 23:57:54 +00:00
Sergii Stoian
b9381fedfa Use GSTitleView's initWithOwner: method. Cleanup
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@18421 72102866-910b-0410-8b05-ffd578937521
2004-01-15 15:58:43 +00:00
Sergii Stoian
3def92db6c Some methods added. Cleanup
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@18420 72102866-910b-0410-8b05-ffd578937521
2004-01-15 15:57:00 +00:00
Sergii Stoian
73f6eaa73b NSMiniWindowView fixes
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@18417 72102866-910b-0410-8b05-ffd578937521
2004-01-15 10:04:04 +00:00
Sergii Stoian
c33ef3101f Changed checking for highlighted item
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@18405 72102866-910b-0410-8b05-ffd578937521
2004-01-13 11:14:50 +00:00
Sergii Stoian
f7a152fe94 Use isKindOfClass: instead of class named comparison
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@18396 72102866-910b-0410-8b05-ffd578937521
2004-01-12 20:58:30 +00:00
Sergii Stoian
4c0d457050 Use common_Close and common_CloseBroken images
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@18392 72102866-910b-0410-8b05-ffd578937521
2004-01-12 18:17:38 +00:00
Sergii Stoian
1db61dbbac NSDebugLLog fixes.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@18385 72102866-910b-0410-8b05-ffd578937521
2004-01-12 07:10:19 +00:00
Sergii Stoian
7d0fe651a7 Recognize class that responds to menuRepresetation as NSMenu derived class. Fix for Gorm.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@18383 72102866-910b-0410-8b05-ffd578937521
2004-01-12 06:59:32 +00:00
Fred Kiefer
548dcdf7b0 Dublicate selection patch for attributed strings from base.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@18381 72102866-910b-0410-8b05-ffd578937521
2004-01-11 22:21:13 +00:00
Sergii Stoian
83d91685a3 Fixed title view height to be at least 23 pixels.mouseDown: make submenu torn off after mouse released.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@18379 72102866-910b-0410-8b05-ffd578937521
2004-01-11 21:55:06 +00:00
Sergii Stoian
858fc188f1 added files GSTitleView.[mh], common_Miniaturize.tiff, common_MiniaturizeH.tiff
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@18377 72102866-910b-0410-8b05-ffd578937521
2004-01-11 18:48:18 +00:00
Sergii Stoian
53012771c8 Added GSTitleView.[hm]
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@18376 72102866-910b-0410-8b05-ffd578937521
2004-01-11 18:45:57 +00:00
Sergii Stoian
b254e54ddb Modified to use GSTitleView for menu title.NSMenuWindowTitleView class removed.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@18373 72102866-910b-0410-8b05-ffd578937521
2004-01-11 18:03:45 +00:00
Gregory John Casamento
e5ca42f61a Fix for decoding issue.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@18368 72102866-910b-0410-8b05-ffd578937521
2004-01-10 23:46:59 +00:00
Adam Fedor
53bf81fa36 Window ordering fixes
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@18363 72102866-910b-0410-8b05-ffd578937521
2004-01-10 19:40:43 +00:00
Alexander Malmberg
005d913203 Indentation fixes.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@18361 72102866-910b-0410-8b05-ffd578937521
2004-01-10 15:39:30 +00:00
Sergii Stoian
860d70cec9 remove missed NSLog
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@18358 72102866-910b-0410-8b05-ffd578937521
2004-01-09 17:05:19 +00:00
Sergii Stoian
9f9aeb843f Cosmetic changes in drawing of column separators and horizontal scroller border.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@18344 72102866-910b-0410-8b05-ffd578937521
2004-01-09 11:28:56 +00:00
Sergii Stoian
8a2660e3e4 (drawRect): Calculate separator line usning scoller frame. Remove header view counting cases
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@18343 72102866-910b-0410-8b05-ffd578937521
2004-01-09 11:26:41 +00:00
Sergii Stoian
0839ec5546 (drawKnobSlot): Always draw background. Even if there's no room
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@18342 72102866-910b-0410-8b05-ffd578937521
2004-01-09 11:25:18 +00:00
Alexander Malmberg
5cb7b4b8dc Redefine Object across the include of gif_lib.h .
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@18341 72102866-910b-0410-8b05-ffd578937521
2004-01-08 22:31:40 +00:00
Alexander Malmberg
c807e165b4 Add GIF loader.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@18340 72102866-910b-0410-8b05-ffd578937521
2004-01-08 21:46:07 +00:00
Alexander Malmberg
896c4cb1a3 Add GIF loader.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@18339 72102866-910b-0410-8b05-ffd578937521
2004-01-08 18:43:49 +00:00
Fred Kiefer
d053e9a8ae Small bug corrections.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@18337 72102866-910b-0410-8b05-ffd578937521
2004-01-08 12:03:33 +00:00
Alexander Malmberg
a9e055f495 (-setObjectValue:): Correct the argument type.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@18333 72102866-910b-0410-8b05-ffd578937521
2004-01-08 00:28:39 +00:00
Alexander Malmberg
3f7866a8ed Add new image loaders.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@18331 72102866-910b-0410-8b05-ffd578937521
2004-01-07 23:53:15 +00:00
Fred Kiefer
4e578145fe Removed some compiler warnings.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@18329 72102866-910b-0410-8b05-ffd578937521
2004-01-07 13:25:29 +00:00
Gregory John Casamento
0ceb993ba0 NSSpellServer documentation.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@18326 72102866-910b-0410-8b05-ffd578937521
2004-01-07 04:38:15 +00:00
Gregory John Casamento
63a1edb3cd More documentation.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@18325 72102866-910b-0410-8b05-ffd578937521
2004-01-07 03:20:19 +00:00
Alexander Malmberg
270f3c3eda Use NSDebugLLog instead of NSLog when we get an event in a subview area.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@18324 72102866-910b-0410-8b05-ffd578937521
2004-01-07 01:55:21 +00:00
Gregory John Casamento
f183ffcbb6 Documentation.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@18309 72102866-910b-0410-8b05-ffd578937521
2004-01-04 07:26:50 +00:00
Gregory John Casamento
dd6ad42e8d Added some documentation to NSApplication.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@18308 72102866-910b-0410-8b05-ffd578937521
2004-01-04 06:20:08 +00:00
Gregory John Casamento
56532346c7 Removed some uncessary includes.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@18307 72102866-910b-0410-8b05-ffd578937521
2004-01-04 04:29:57 +00:00
Ludovic Marcotte
6d49a2b2fc DnD fixes and cleanups in NSOutlineView.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@18306 72102866-910b-0410-8b05-ffd578937521
2004-01-04 03:39:09 +00:00
Gregory John Casamento
ce15bf2417 Header cleanup.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@18305 72102866-910b-0410-8b05-ffd578937521
2004-01-03 23:53:40 +00:00
Gregory John Casamento
0f64c6ffed Documentation and prevention of a leak in case of exception.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@18302 72102866-910b-0410-8b05-ffd578937521
2004-01-02 04:19:32 +00:00
Alexander Malmberg
821f7018a7 Fix typo in comment.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@18297 72102866-910b-0410-8b05-ffd578937521
2003-12-31 00:12:36 +00:00
Alexander Malmberg
4a1b359b79 Make sure oldRange is always initialized.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@18295 72102866-910b-0410-8b05-ffd578937521
2003-12-30 23:40:17 +00:00
Fred Kiefer
21c7ad8c5b Enhance NIB loading compatibility.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@18292 72102866-910b-0410-8b05-ffd578937521
2003-12-30 17:52:16 +00:00
Fred Kiefer
4f10989eb8 Corrected affine transform struct element names and added some drawing functions.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@18288 72102866-910b-0410-8b05-ffd578937521
2003-12-30 12:42:37 +00:00
Gregory John Casamento
e8c1d1f693 Improved mechanism for retaining the top level objects represented by GSNibItems in the .gorm archive.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@18286 72102866-910b-0410-8b05-ffd578937521
2003-12-30 05:45:40 +00:00
Gregory John Casamento
b1410489ee Eliminated leak in GSClassSwapper.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@18284 72102866-910b-0410-8b05-ffd578937521
2003-12-30 01:52:26 +00:00
Adam Fedor
1de7b7edf8 Move documentation. Fix _inactive count bug
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@18282 72102866-910b-0410-8b05-ffd578937521
2003-12-29 17:28:52 +00:00
Gregory John Casamento
75d4c1baa5 Added documentation. Refined fix to GSNibTemplates.m concerning memory leak. More improvements to follow. GJC
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@18281 72102866-910b-0410-8b05-ffd578937521
2003-12-29 05:38:46 +00:00
Gregory John Casamento
617334d4fa Corrected problem with loading of data link panel gui.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@18270 72102866-910b-0410-8b05-ffd578937521
2003-12-25 04:57:54 +00:00
Gregory John Casamento
7a2107824b Cleanup of memory management in loadNib code. Minor formatting changes in gopen and GSspell.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@18264 72102866-910b-0410-8b05-ffd578937521
2003-12-23 18:45:18 +00:00
Alexander Malmberg
b5f45d7334 (-_handleWindowNeedsDisplay:): Disable flushing while displaying and flush when all displaying is done.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@18260 72102866-910b-0410-8b05-ffd578937521
2003-12-23 17:17:39 +00:00
Alexander Malmberg
5e0dc13462 (-readSelectionFromPasteboard:type:, NSTIFFPboardType): Send -setFileWrapper: to the attachment after setting the wrapper's icon.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@18259 72102866-910b-0410-8b05-ffd578937521
2003-12-23 17:13:39 +00:00
Alexander Malmberg
d572689c02 Add a missing ':'. Reported by Matt Rice.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@18253 72102866-910b-0410-8b05-ffd578937521
2003-12-03 01:55:36 +00:00
Adam Fedor
5239efb693 Automatically generate libgnustep-gui.def
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@18251 72102866-910b-0410-8b05-ffd578937521
2003-12-02 23:07:40 +00:00
Sergii Stoian
e0c81dc2d5 Use setHighlightsBy: for default button in alert panel.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@18249 72102866-910b-0410-8b05-ffd578937521
2003-12-01 18:29:08 +00:00
Sergii Stoian
f3ab7cf981 Add setHighlightsBy: and setShowsStateBy: methods.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@18248 72102866-910b-0410-8b05-ffd578937521
2003-12-01 18:28:00 +00:00
Sergii Stoian
72b9ddfb0c Center title and message text
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@18243 72102866-910b-0410-8b05-ffd578937521
2003-11-30 23:59:23 +00:00
Fred Kiefer
1c14dac8ed Cache runloop modes array.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@18231 72102866-910b-0410-8b05-ffd578937521
2003-11-29 01:36:50 +00:00
Fred Kiefer
08baa147cf Made some NSCell methods cleaner for subclass redefinitions.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@18230 72102866-910b-0410-8b05-ffd578937521
2003-11-29 00:46:41 +00:00
Fred Kiefer
88925a9160 New implementation of [NSBezierPath containsPoint].
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@18220 72102866-910b-0410-8b05-ffd578937521
2003-11-28 22:20:19 +00:00
Alexander Malmberg
720ddc11b5 Ignore most events sent to windows that have been ordered out. Synchronize [NSPanel -sendEvent:] and [NSWindow -sendEvent:].
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@18215 72102866-910b-0410-8b05-ffd578937521
2003-11-26 23:02:20 +00:00
Alexander Malmberg
311e73aace (-autoscroll:): Document.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@18214 72102866-910b-0410-8b05-ffd578937521
2003-11-26 22:55:39 +00:00
Alexander Malmberg
2ff4e81dcc Fix GSGuiBundle() prototype.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@18213 72102866-910b-0410-8b05-ffd578937521
2003-11-26 14:01:54 +00:00
Alexander Malmberg
1f9cb4a03f Make sure NSApp's references to the key and main window are cleared if the key/main window is deallocated.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@18212 72102866-910b-0410-8b05-ffd578937521
2003-11-26 13:58:32 +00:00
Alexander Malmberg
da4e243597 Always start the window auto-display performer when ordering a window in.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@18203 72102866-910b-0410-8b05-ffd578937521
2003-11-25 16:27:15 +00:00
Fred Kiefer
8d1eac79f9 Undid accidental last commit of this file.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@18104 72102866-910b-0410-8b05-ffd578937521
2003-11-22 16:17:11 +00:00
Fred Kiefer
1a92dfe9bb Small graphics cleanups
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@18103 72102866-910b-0410-8b05-ffd578937521
2003-11-22 16:14:01 +00:00
Alexander Malmberg
2b788e590f ([GSNibContainer -awakeWithContext:]): Don't release connections when enumerating them. Partial fix for bug #6354.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@18102 72102866-910b-0410-8b05-ffd578937521
2003-11-22 14:12:54 +00:00
Alexander Malmberg
862a3578ff Tweak size calculation so that the insertion point doesn't disappear at the end of field editors.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@18101 72102866-910b-0410-8b05-ffd578937521
2003-11-21 23:37:16 +00:00
Adam Fedor
e74cf34dc6 Window focus fixes.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@18095 72102866-910b-0410-8b05-ffd578937521
2003-11-19 16:01:53 +00:00
Alexander Malmberg
7f4b949153 (-mouseDown:): When the mouse is outside the view, autoscroll smoothly using periodic events.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@18093 72102866-910b-0410-8b05-ffd578937521
2003-11-19 02:21:36 +00:00
Alexander Malmberg
7c754b0a27 (-autoscroll:): Reimplement correctly.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@18092 72102866-910b-0410-8b05-ffd578937521
2003-11-19 02:21:07 +00:00
Alexander Malmberg
e3222b9202 (-description): Remove a stray , .
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@18091 72102866-910b-0410-8b05-ffd578937521
2003-11-18 20:45:25 +00:00
Gregory John Casamento
ff53f21b06 *** empty log message ***
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@18075 72102866-910b-0410-8b05-ffd578937521
2003-11-11 19:40:18 +00:00
Alexander Malmberg
04ee2f9928 (-mouseDown:): Rewrite to use -setHighlighted: and the normal drawing mechanism instead of trying to draw and flush manually.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@18060 72102866-910b-0410-8b05-ffd578937521
2003-11-07 15:32:33 +00:00
Alexander Malmberg
ca2773de30 (-loadBindingsFromFile:): Handle errors directly instead of using (broken) exception handling code.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@18059 72102866-910b-0410-8b05-ffd578937521
2003-11-07 13:46:12 +00:00
Alexander Malmberg
fed935717b If a range of glyphs have no color attribute, use [NSColor textColor] instead of assuming black.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@18021 72102866-910b-0410-8b05-ffd578937521
2003-11-01 17:26:12 +00:00
Alexander Malmberg
205c9bd67f Make private symbols actually private (1/n).
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@18007 72102866-910b-0410-8b05-ffd578937521
2003-10-30 00:23:23 +00:00