Richard Frith-Macdonald
ef3a555cd6
Fix bug #14008
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@21858 72102866-910b-0410-8b05-ffd578937521
2005-10-23 10:53:39 +00:00
Adam Fedor
303dd1baf9
Update FSF Address.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@21259 72102866-910b-0410-8b05-ffd578937521
2005-05-26 02:52:46 +00:00
Fred Kiefer
694ae7c56a
Implemented animate resize.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@21240 72102866-910b-0410-8b05-ffd578937521
2005-05-20 14:33:43 +00:00
Fred Kiefer
29db6affc8
Added new NSResponder method declarations and implemented shouldBeTreatedAsInkEvent:.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@21238 72102866-910b-0410-8b05-ffd578937521
2005-05-20 12:31:42 +00:00
Fred Kiefer
d18480663e
Added basic implementation for window alpha handling.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@20697 72102866-910b-0410-8b05-ffd578937521
2005-02-12 18:15:25 +00:00
Matt Rice
16af347226
* Source/NSApplication.m (-changeWindowsItem:title:filename:): If the
...
window can become key, use makeKeyAndOrderFront: as the action.
(-updateWindowsItem:, -setWindowsMenu): Compare the title to what it
would be if there was a represented filename, not the filename.
* Source/NSApplication.m (-orderWindow:relativeTo:): Ditto.
(-setExcludedFromWindowsMenu): Ditto.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@20675 72102866-910b-0410-8b05-ffd578937521
2005-02-08 19:57:03 +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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
Richard Frith-Macdonald
27c626ce07
Remove FIXME
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@17996 72102866-910b-0410-8b05-ffd578937521
2003-10-28 21:33:52 +00:00
Richard Frith-Macdonald
0730df1fc4
DnD fixes
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@17994 72102866-910b-0410-8b05-ffd578937521
2003-10-28 20:27:54 +00:00
Adam Fedor
7bbabe4e72
Fix PR #5849 window deminiaturize.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@17945 72102866-910b-0410-8b05-ffd578937521
2003-10-21 03:10:24 +00:00
Alexander Malmberg
c2cff94ce3
(-miniaturize:, -deminiaturize:): Check that the window can be miniaturized/deminiaturized before doing anything.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@17788 72102866-910b-0410-8b05-ffd578937521
2003-10-07 12:34:10 +00:00
Benhur Stein
1a6ef7f076
Set frame to autosaved frame in defaults
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@17772 72102866-910b-0410-8b05-ffd578937521
2003-10-03 14:09:58 +00:00
Benhur Stein
681ef962f9
Removed windowsLock variable from NSWindow
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@17771 72102866-910b-0410-8b05-ffd578937521
2003-10-03 14:00:28 +00:00
Alexander Malmberg
1fcb726542
Only force a display of the content view if we're being ordered _to_ the screen.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@17708 72102866-910b-0410-8b05-ffd578937521
2003-09-23 17:16:59 +00:00
Adam Fedor
50b7d5288b
Revert last doc close and fix releaseWhenClosed.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@17691 72102866-910b-0410-8b05-ffd578937521
2003-09-21 02:27:50 +00:00
Adam Fedor
1d187a4550
Document close fixes.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@17688 72102866-910b-0410-8b05-ffd578937521
2003-09-20 03:07:55 +00:00
Alexander Malmberg
f85a2e5f12
Change return type of -initWithWindowRef: to id.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@17620 72102866-910b-0410-8b05-ffd578937521
2003-09-04 16:47:30 +00:00
Fred Kiefer
98da20e7b6
In [performClose:] call the method [shouldCloseWindowController:]
...
on the document instead of [windowShouldClose:]
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@17508 72102866-910b-0410-8b05-ffd578937521
2003-08-20 14:12:43 +00:00
David Ayers
b18f1c4ac4
Header reorganization - Please refer to ChangeLog
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@17408 72102866-910b-0410-8b05-ffd578937521
2003-07-31 23:52:10 +00:00
Alexander Malmberg
77fa3e8966
Make drawing debug logging a bit more detailed.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@17371 72102866-910b-0410-8b05-ffd578937521
2003-07-26 18:56:06 +00:00
Richard Frith-Macdonald
0e06373598
Minor doc fix
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@17300 72102866-910b-0410-8b05-ffd578937521
2003-07-22 16:32:30 +00:00
Richard Frith-Macdonald
b04ce4006b
Minor memory leak fix
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@17287 72102866-910b-0410-8b05-ffd578937521
2003-07-22 05:18:05 +00:00
Adam Fedor
6be9174933
Include <> -> ""
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@16917 72102866-910b-0410-8b05-ffd578937521
2003-06-13 15:01:12 +00:00