Commit graph

4916 commits

Author SHA1 Message Date
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
Alexander Malmberg
71c8e09b8b Rotate ChangeLog:s.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@20554 72102866-910b-0410-8b05-ffd578937521
2005-01-14 14:57:29 +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
3dbb6d228c 2005-01-12 16:40 Alexander Malmberg <alexander@malmberg.org>
* Headers/AppKit/NSBezierPath.h (-windingCountAtPoint:): Mark as
	a GNUstep extension.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@20545 72102866-910b-0410-8b05-ffd578937521
2005-01-12 15:38:30 +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
05b4dcfa18 2005-01-12 00:41 Alexander Malmberg <alexander@malmberg.org>
* Printing/GSCUPS/GSCUPSPrinter.h (GSCUPSDummyPrinterName): New
	variable.
	* Printing/GSCUPS/GSCUPSPrinter.m (GSCUPSDummyPrinterName): New
	variable.
	(+printerWithName:): Warn and return a dummy printer when requested.
	* Printing/GSCUPS/GSCUPSPrintInfo.m (defaultPrinter): If there's
	no default CUPS printer set, return a dummy printer.

	Fixes bug #10916.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@20542 72102866-910b-0410-8b05-ffd578937521
2005-01-11 23:39:41 +00:00
Alexander Malmberg
442120d4bb Fix the ChangeLog for real this time.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@20540 72102866-910b-0410-8b05-ffd578937521
2005-01-11 23:21:08 +00:00
Alexander Malmberg
7e6e62f03a Fix ChangeLog entry.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@20539 72102866-910b-0410-8b05-ffd578937521
2005-01-11 22:53:47 +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
Gregory John Casamento
43e29c5d1b Added a new image.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@20477 72102866-910b-0410-8b05-ffd578937521
2004-12-23 10:38:36 +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
Adam Fedor
3c1705aaa9 * Model/GMAppKit.m ([NSPopUpButton -encodeWithModelArchiver:]):
More robust method for getting title (works on OPENSTEP, from
George Fleischmann).


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@20343 72102866-910b-0410-8b05-ffd578937521
2004-11-12 03:20:20 +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
28fe7becc9 Add reference to bug #10876 to ChangeLog.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@20326 72102866-910b-0410-8b05-ffd578937521
2004-11-09 18:00:33 +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
Adrian Robert
0a4ac31dac describe the new 'GSModifiersAreKeys' default under KeyboardSetup
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@20299 72102866-910b-0410-8b05-ffd578937521
2004-11-05 04:37:29 +00:00
Gregory John Casamento
82b2474d81 Added a small comment.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@20273 72102866-910b-0410-8b05-ffd578937521
2004-10-31 04:10:45 +00:00
Gregory John Casamento
5a54c6a664 Removed uneeded portion of GNUmakefile.postamble which was causing an issue on Solaris.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@20272 72102866-910b-0410-8b05-ffd578937521
2004-10-31 04:05:00 +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
38ca67f7e9 Slight correction to previous change.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@20244 72102866-910b-0410-8b05-ffd578937521
2004-10-22 12:57:21 +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
Adam Fedor
625f41d0fd * Model/GMAppKit.m [-encodeWithModelArchiver:] remove title
bar and resize bar from 'minSize'.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@20228 72102866-910b-0410-8b05-ffd578937521
2004-10-16 03:16:09 +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
Chad Hardin
6dc099b85e Added GSCUPS
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@20212 72102866-910b-0410-8b05-ffd578937521
2004-10-08 22:16:56 +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
d85cafebe1 GSLPR Updates
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@20209 72102866-910b-0410-8b05-ffd578937521
2004-10-08 09:31:11 +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