Fred Kiefer
f2beece4f3
Small clean ups in NSView, NSTableView and the headers included in
...
AppKit.h
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@23257 72102866-910b-0410-8b05-ffd578937521
2006-08-11 20:04:53 +00:00
Fred Kiefer
dc4a427c47
Clean up of NSStepper and NSStepperCell.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@23224 72102866-910b-0410-8b05-ffd578937521
2006-08-08 23:14:14 +00:00
Eric Sersale
06fed61392
* Headers/AppKit/NSHelpManager.h:
...
* Source/NSHelpManager.m:
added -setContextHelp:forObject: as specified in Apple docs;
-setContextHelp:withObject: deprecated.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@23174 72102866-910b-0410-8b05-ffd578937521
2006-07-17 12:03:15 +00:00
Eric Sersale
30dc6bf85a
* Headers/AppKit/AppKit.h: added NSHelpManager.h.
...
* Headers/AppKit/NSHelpManager.h: declaration for new method -pathForHelpResource:
* Source/NSHelpManager.m: implemented -pathForHelpResource: in the NSBundle
category. -pathForHelpResource: looks for help files giving the priority
to localized resources.
-showHelp: looks for rtfd files too.
* Source/GSHelpManagerPanel.m: various fixes to avoid a crash when quitting
and to resize correctly the NSTextView.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@23164 72102866-910b-0410-8b05-ffd578937521
2006-07-15 11:42:02 +00:00
Gregory John Casamento
a175d2a332
Implemented keyed and non-keyed coding for NSDrawer.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@23031 72102866-910b-0410-8b05-ffd578937521
2006-06-04 17:32:11 +00:00
Gregory John Casamento
45d21c3397
Changes to allow proper document type selection in the save panel for document oriented applications.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@23013 72102866-910b-0410-8b05-ffd578937521
2006-06-02 00:31:14 +00:00
Gregory John Casamento
d68950d71a
Nib compatibility code merge.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@22957 72102866-910b-0410-8b05-ffd578937521
2006-05-20 22:12:46 +00:00
Fred Kiefer
43537498de
Adopted dragging destination method return values to MacOSX 10.4
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@22893 72102866-910b-0410-8b05-ffd578937521
2006-05-10 22:11:28 +00:00
Richard Frith-MacDonald
bd8932fa1e
bugfix for nil argumenmt to makefirstResponder: as reported by andreas hoschler
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@22860 72102866-910b-0410-8b05-ffd578937521
2006-05-05 13:41:33 +00:00
Gregory John Casamento
0474a23212
Updated documentation in .m and .h files.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@22716 72102866-910b-0410-8b05-ffd578937521
2006-03-26 17:58:19 +00:00
Fred Kiefer
96cdd5eff5
Added new Cocoa classes for NSSearchButton.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@22710 72102866-910b-0410-8b05-ffd578937521
2006-03-26 01:01:22 +00:00
Richard Frith-MacDonald
0b25a4ce8a
Minor tidyups of horizontal menu integration.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@22429 72102866-910b-0410-8b05-ffd578937521
2006-02-05 07:43:04 +00:00
Richard Frith-MacDonald
3d2503f2e3
Integrate horizontal main menu support.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@22426 72102866-910b-0410-8b05-ffd578937521
2006-02-04 19:58:55 +00:00
Fred Kiefer
0a310d0b60
Removed gcc 4.02 compiler warnings.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@21846 72102866-910b-0410-8b05-ffd578937521
2005-10-19 23:54:22 +00:00
Fred Kiefer
d54180c5bb
Added methods for pattern colour and alpha image composition.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@21436 72102866-910b-0410-8b05-ffd578937521
2005-07-08 23:51:49 +00:00
Richard Frith-Macdonald
ba2eea830f
Fix for behavior dependent on bug in base library exception raising.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@21388 72102866-910b-0410-8b05-ffd578937521
2005-07-01 06:43:25 +00:00
Fabien Vallon
2560b02680
setAnimationDelay: Fix typo
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@21311 72102866-910b-0410-8b05-ffd578937521
2005-06-16 12:34:13 +00:00
Adrian Robert
1345d7506d
filled in various gsdoc
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@21287 72102866-910b-0410-8b05-ffd578937521
2005-06-06 04:05:05 +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
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
Adrian Robert
159eed5a6c
NSFont cache font for drawing in flipped views in manner analogous to cache of nonflipped screen font for drawing in regular views
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@21170 72102866-910b-0410-8b05-ffd578937521
2005-04-30 16:11:22 +00:00
Adrian Robert
cc5f3e4939
[NSApplication -run]: only execute launch sequence on first call; unhide mouse on application exit
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@21162 72102866-910b-0410-8b05-ffd578937521
2005-04-27 04:22:31 +00:00
Richard Frith-Macdonald
c55a8d1a73
Make DnD follow mouse pointer in text view
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@21038 72102866-910b-0410-8b05-ffd578937521
2005-04-03 10:39:32 +00:00
Adam Fedor
39bc6b4f68
* Headers/AppKit/NSDataLinkManager.h, Source/NSDataLinkManager.m:
...
Re-add the changes from 2005-03-05.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@21029 72102866-910b-0410-8b05-ffd578937521
2005-04-01 15:39:05 +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
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
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
Nicola Pero
b5dc5a7008
Updated windows port for new GCC support
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@20882 72102866-910b-0410-8b05-ffd578937521
2005-03-10 04:18:55 +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
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
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
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
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
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
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
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
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
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
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
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
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
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
e13699f905
Added editing methods.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@20125 72102866-910b-0410-8b05-ffd578937521
2004-09-24 16:35:41 +00:00
Alexander Malmberg
811ae4cf9f
* Source/GSFontInfo.m (-defaultLineHeightForFont): Adjust line
...
height calculation.
* Source/NSButtonCell.m (-drawInteriorWithFrame:inView:): Always
initialize imageRect and titleRect. Adjust the calculations to match
the new line height.
(-cellSize): Always initialize imageRect and titleRect.
* Headers/AppKit/NSCell.h (-_drawImage:inFrame:isFlipped:): Remove.
* Source/NSCell.m (-_drawImage:inFrame:isFlipped:): Remove. Move code
back ...
(-drawInteriorWithFrame:inView:): ... here.
* Source/NSToolbarItem.m (+initialize): Remove.
(+cellClass): Add.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@20100 72102866-910b-0410-8b05-ffd578937521
2004-09-21 16:55:43 +00:00
Matt Rice
8b3d930318
2004-09-13 Matt Rice <ratmice@yahoo.com>
...
* NSScrollView.h: Declare new ivar _cornerView and private method
-_synchronizeCornerAndHeaderView
* NSScrollView.m (tile): Call _synchronizeCornerAndHeaderView method
from here. Replace local cornerView variable with _cornerView.
(-setDocumentView:): Remove code to set the corner and header views.
(-_synchronizeCornerAndHeaderView): Implement new method.
* NSTableView.m (-setHeaderView:, -setCornerView:): call tile on the
scroll view we're in. Remove comments and warnings for cases which are
now implemented.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@20049 72102866-910b-0410-8b05-ffd578937521
2004-09-13 19:57:44 +00:00
Matt Rice
afaa68f9d5
2004-09-12 Matt Rice <ratmice@yahoo.com>
...
* Headers/AppKit/NSCell.h (-_sendsActionOn:): New method.
* Source/NSCell.m (-_sendsActionOn:): Implement it.
* Source/NSTextFieldCell.m (-initTextCell:): Change _action_mask to a
key press.
* Source/NSTableView.m (-mouseDown:): Use _sendsActionOn: to only modify the object value and send the event to the cell if the cell works on
mouse events. (Fixes #9609 ).
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@20046 72102866-910b-0410-8b05-ffd578937521
2004-09-12 16:58:32 +00:00
Gregory John Casamento
55d59ae5c2
Data link implementation.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@20045 72102866-910b-0410-8b05-ffd578937521
2004-09-12 04:26:21 +00:00
Alexander Malmberg
7d98f0f270
2004-09-04 23:32 Alexander Malmberg <alexander@malmberg.org>
...
* Source/GSHorizontalTypesetter.m (-layoutLineNewParagraph:):
Pass the right glyph position to cells.
* Headers/AppKit/NSTextAttachment.h: Clarify documentation.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@19991 72102866-910b-0410-8b05-ffd578937521
2004-09-04 21:40:30 +00:00
Quentin Mathe
ef1010acc4
Added the possibility to rearrange toolbar items
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@19976 72102866-910b-0410-8b05-ffd578937521
2004-09-02 17:40:00 +00:00