Richard Frith-Macdonald
d2bb38a102
DnD cleanups and fixes.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@21028 72102866-910b-0410-8b05-ffd578937521
2005-04-01 14:10:39 +00:00
Adam Fedor
f3f0b8b94d
* Version 0.9.5
...
* Headers/AppKit/NSDataLinkManager.h, Source/NSDataLinkManager.m:
Partially revert 2005-03-05 patch for this release.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@21010 72102866-910b-0410-8b05-ffd578937521
2005-03-30 23:55:32 +00:00
Adrian Robert
0f35cf0f7f
in -_extIconForApp, check filename not empty string before passing to bundle method (which raises an exception)
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@21005 72102866-910b-0410-8b05-ffd578937521
2005-03-30 03:13:43 +00:00
Adrian Robert
f90da49627
undeprecate DPSxshow, yshow, xyshow, ashow, widthshow, awidthshow
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@21001 72102866-910b-0410-8b05-ffd578937521
2005-03-29 14:07:38 +00:00
Richard Frith-Macdonald
4f37f34b9f
Tweaks for subclassing
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@20998 72102866-910b-0410-8b05-ffd578937521
2005-03-29 10:08:50 +00:00
Richard Frith-Macdonald
bd3e29cb15
DnD bugfixes and cleanups
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@20985 72102866-910b-0410-8b05-ffd578937521
2005-03-28 08:34:31 +00:00
Adam Fedor
bc6d45f6f7
* configure.ac: Check for libgif
...
* Source/NSBitmapImageRep+GIF.m: Support libgif
* Source/NSBitmapImageRem.m: Idem. (Fixes Bug #12362 ).
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@20936 72102866-910b-0410-8b05-ffd578937521
2005-03-21 16:12:02 +00:00
Adam Fedor
d26851fad0
* Headers/AppKit/DPSOperators.h, Headers/AppKit/NSGraphics.h:
...
Modify selectors to play nice with C++ compiler.
* Headers/AppKit/NSAffineTransform.h, Headers/AppKit/NSFontManager.h,
Headers/AppKit/NSPageLayout.h: Modify arg name for same purpose.
* Source/NSAffineTransform.m, Source/NSFontManager.m,
Source/NSPageLayout.m: Modify to match header. (Patch from
Francis Franklin, with some modifications).
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@20930 72102866-910b-0410-8b05-ffd578937521
2005-03-20 04:35:12 +00:00
Fred Kiefer
d9c6b6ac53
Corrected (hopefully) last patch.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@20907 72102866-910b-0410-8b05-ffd578937521
2005-03-14 19:11:19 +00:00
Richard Frith-Macdonald
184a0e3da3
Fix code whaich produced uninitialised space in the cells array.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@20905 72102866-910b-0410-8b05-ffd578937521
2005-03-14 10:54:49 +00:00
Richard Frith-Macdonald
52ff2b181d
Fix bug #12296
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@20904 72102866-910b-0410-8b05-ffd578937521
2005-03-13 17:35:47 +00:00
Fred Kiefer
7133a6a263
Added new methods to NSFont and moved NSControlSize into NSColor header.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@20868 72102866-910b-0410-8b05-ffd578937521
2005-03-07 13:25:29 +00:00
Adrian Robert
666144bbd8
NSApplication-_windowDidResignKey: - unhide mouse to avoid unexpected effects when switching focus w/keyboard
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@20853 72102866-910b-0410-8b05-ffd578937521
2005-03-05 18:14:38 +00:00
Adrian Robert
f9855fbf42
NSScroller: calculate buttonsWidth dyamically based on +scrollerWidth
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@20851 72102866-910b-0410-8b05-ffd578937521
2005-03-05 16:08:30 +00:00
Gregory John Casamento
45f40695b6
More data link implementation details.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@20850 72102866-910b-0410-8b05-ffd578937521
2005-03-05 15:50:32 +00:00
Adrian Robert
51e0bb96e8
clarify gsdoc explaining why Apple docs not followed
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@20808 72102866-910b-0410-8b05-ffd578937521
2005-02-28 04:18:06 +00:00
Fred Kiefer
d4b9870e0f
New system colour methods.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@20789 72102866-910b-0410-8b05-ffd578937521
2005-02-24 01:06:13 +00:00
Fred Kiefer
0aa987bab9
Small keyed decoding improvements.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@20768 72102866-910b-0410-8b05-ffd578937521
2005-02-21 00:59:32 +00:00
Fred Kiefer
f351b52085
Use default filename from user defaults.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@20752 72102866-910b-0410-8b05-ffd578937521
2005-02-19 17:00:00 +00:00
Fred Kiefer
f9a7c84e10
Moved mouse interaction of popup button from control to cell.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@20719 72102866-910b-0410-8b05-ffd578937521
2005-02-14 18:33:46 +00:00
Richard Frith-Macdonald
f7892fd073
Fix for bug #11906
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@20704 72102866-910b-0410-8b05-ffd578937521
2005-02-14 10:35:39 +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
Fred Kiefer
ad60418d78
Further corrected last change. Thanks to Alexander M.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@20692 72102866-910b-0410-8b05-ffd578937521
2005-02-12 10:22:36 +00:00
Fred Kiefer
fbd0414fba
Corrected rectangle transforamtion to fix #11562 .
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@20690 72102866-910b-0410-8b05-ffd578937521
2005-02-11 22:35:52 +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
Fred Kiefer
2d14cc4dfe
Corretec bug #11887 by letting secure text field cells draw the background colour.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@20669 72102866-910b-0410-8b05-ffd578937521
2005-02-08 00:26:55 +00:00
Fred Kiefer
81abfa70c7
Corrected bug #11885 on NSOutlineView, this could be optimised further.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@20668 72102866-910b-0410-8b05-ffd578937521
2005-02-07 21:27:06 +00:00
Gregory John Casamento
2859ab890c
Datalink and connector improvements.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@20662 72102866-910b-0410-8b05-ffd578937521
2005-02-05 20:39:49 +00:00
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