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
Adam Fedor
288beea76f
* configure.ac: Disable gsnd on darwin
...
* Tools/GNUmakefile.preamble (GSspell_TOOL_LIBS): Add lib depends.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@20841 72102866-910b-0410-8b05-ffd578937521
2005-03-03 21:29:24 +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
Alexander Malmberg
e15644db69
2005-02-26 18:04 Alexander Malmberg <alexander@malmberg.org>
...
* Headers/Additions/GNUstepGUI/GSServicesManager.h: Include the
NSMenuItem.h header instead of forward declaring the NSMenuItem
protocol.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@20799 72102866-910b-0410-8b05-ffd578937521
2005-02-26 16:57:46 +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
7dba9dd2b2
Added the missing changelog for the last change.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@20696 72102866-910b-0410-8b05-ffd578937521
2005-02-12 16:44:03 +00:00
Fred Kiefer
2dee695415
Patch by Georg Fleischmann to NSButtonCell GM loading.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@20695 72102866-910b-0410-8b05-ffd578937521
2005-02-12 16:27:36 +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
Alexander Malmberg
8a515dba0c
Use the correct year in ChangeLog entries.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@20573 72102866-910b-0410-8b05-ffd578937521
2005-01-18 12:12:59 +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
Fred Kiefer
e6b0fb6339
Replaced open hand cursor file by one with filled hand.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@20566 72102866-910b-0410-8b05-ffd578937521
2005-01-16 16:48:03 +00:00
Fred Kiefer
b6642a182a
Signal hat we don't output an ANSI representation for Unicode characters in RTF.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@20565 72102866-910b-0410-8b05-ffd578937521
2005-01-16 15:54:04 +00:00
Fred Kiefer
e8edab4d25
Use dummy printer in printer name list, if no CUPS printers are found.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@20564 72102866-910b-0410-8b05-ffd578937521
2005-01-16 13:22:46 +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
40da8da4c5
Mention bug #10553 in the ChangeLog.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@20556 72102866-910b-0410-8b05-ffd578937521
2005-01-14 15:22:45 +00:00