* 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
* 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
* 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
* 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
* 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
* 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
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
* 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
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
* 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
* 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
* 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
* 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