Commit graph

4761 commits

Author SHA1 Message Date
Matt Rice
3a84f7e3af 2004-09-25 Matt Rice <ratmice@yahoo.com>
* Source/NSScrollView.m: Remove corner view when we have one, but no
        vertical scroller. (Fixes #10501).


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@20147 72102866-910b-0410-8b05-ffd578937521
2004-09-26 12:49:32 +00:00
Adam Fedor
0e900c12f3 Remove obsolete files
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@20134 72102866-910b-0410-8b05-ffd578937521
2004-09-25 02:52:22 +00:00
Adam Fedor
b58f4fd5e1 * Documentation/GNUmakefile.postamble: Clean up files properly
* Source/DocMakefile: Fix up for moved files
* Documentation/Gui/Gui.gsdoc,
Documentation/GuiAdditions/GuiAdditions.gsdoc: Move up one level.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@20133 72102866-910b-0410-8b05-ffd578937521
2004-09-25 02:51:05 +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
Fred Kiefer
54da49bd72 Make sure menu views get cleaned up properly.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@20122 72102866-910b-0410-8b05-ffd578937521
2004-09-24 10:54:18 +00:00
Adam Fedor
41f8cfab6b Version 0.9.4
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@20117 72102866-910b-0410-8b05-ffd578937521
2004-09-24 02:51:12 +00:00
Fred Kiefer
a52e330d25 Added some more keyed decoding.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@20116 72102866-910b-0410-8b05-ffd578937521
2004-09-23 23:12:54 +00:00
Alexander Malmberg
d3f517e16b * Source/NSTableView.m (-mouseDown:): Fix the check that detects
when an unselected row is being dragged.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@20115 72102866-910b-0410-8b05-ffd578937521
2004-09-23 20:36:10 +00:00
Alexander Malmberg
11fef998fe * Printing/GSLPR/GSLPRPrintOperation.m (-createContext): Always use
the path from the info dictionary if it's set.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@20114 72102866-910b-0410-8b05-ffd578937521
2004-09-23 16:03:23 +00:00
Alexander Malmberg
767334b501 * Source/NSCursor.m (_getStandardCursor): Rename to
getStandardCursor and make static and non-inlined. Update callers.
	* Source/NSTableView.m (computePeriod): Make static.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@20102 72102866-910b-0410-8b05-ffd578937521
2004-09-21 22:00:26 +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
Alexander Malmberg
e2e0084fdb Log tiff warnings using NSDebugLLog instead of NSLog. Make private methods static.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@20082 72102866-910b-0410-8b05-ffd578937521
2004-09-18 13:16:55 +00:00
Fred Kiefer
91cf238321 Small correction on last change.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@20079 72102866-910b-0410-8b05-ffd578937521
2004-09-17 17:47:39 +00:00
Fred Kiefer
a15214f38d Readded NSCell setType: patch with originally missing bit for NSButtonCell.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@20072 72102866-910b-0410-8b05-ffd578937521
2004-09-16 13:44:00 +00:00
Matt Rice
878d6abeac 2004-09-16 Matt Rice <ratmice@yahoo.com>
* Source/NSTextFieldCell.m (+initialize): Bump class version.
        (-initWithCoder:): When decoding the previous version of NSTextFieldCell        replace the old default _action_mask with the new default value.
        (Fixes #9609 for .gorm files)


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@20069 72102866-910b-0410-8b05-ffd578937521
2004-09-16 07:34:41 +00:00
Adrian Robert
10ee79adae dropped stray apostrophe that was throwing off the docbuild
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@20067 72102866-910b-0410-8b05-ffd578937521
2004-09-15 01:28:17 +00:00
Adrian Robert
309cb40424 removed ../Documentation/Gui/Introduction.gsdoc from list of gsdoc files; this material was moved in texi form into Documentation/manual
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@20066 72102866-910b-0410-8b05-ffd578937521
2004-09-15 01:27:04 +00:00
Adrian Robert
758fd5bc0f fix links in Documentation/Gui/Gui.gsdoc
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@20062 72102866-910b-0410-8b05-ffd578937521
2004-09-14 02:27:15 +00:00
Adrian Robert
6293a03c4e updated to reflect move of some material from here to new start on GUI programming manual
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@20061 72102866-910b-0410-8b05-ffd578937521
2004-09-14 02:21:34 +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
Gregory John Casamento
05af0a68bc Corrected an issue and more work on data link.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@20044 72102866-910b-0410-8b05-ffd578937521
2004-09-11 16:47:07 +00:00
Fred Kiefer
1040bb284d Use method call to change cell type.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@20038 72102866-910b-0410-8b05-ffd578937521
2004-09-08 22:27:23 +00:00
Adam Fedor
e04a7e9892 Correct naming mistake in INTERFACE_VERSION
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@20021 72102866-910b-0410-8b05-ffd578937521
2004-09-07 14:39:13 +00:00
Adam Fedor
4916645a42 * Source/GNUmakefile: Specify INTERFACE_VERSION explicitly.
* Documentation/ReleaseNotes.gsdoc, Documentation/news.texi: Update
for new release.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@20019 72102866-910b-0410-8b05-ffd578937521
2004-09-07 14:26:52 +00:00
Quentin Mathe
06bd77f976 Deactivated the toolbar delegate synchronisation and other toolbar modifications
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@20001 72102866-910b-0410-8b05-ffd578937521
2004-09-05 17:56:11 +00:00
Gregory John Casamento
f981e6343f Corrected issue with NSTableView.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@19999 72102866-910b-0410-8b05-ffd578937521
2004-09-05 14:32:25 +00:00
Matt Rice
353db5256c 2004-09-05 06:23 Matt Rice <ratmice@yahoo.com>
* Source/GSServicesManager.m: new method -activateIgnoringOtherApps:
        * Source/NSWorkspace.m (-launchApplication:showIcon:autolaunch:):
        call -activateIgnoringOtherApps: on the remote connection to an already
        running app.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@19998 72102866-910b-0410-8b05-ffd578937521
2004-09-05 13:46:13 +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
Alexander Malmberg
403e326a38 Install a generic fallback ppd. Use it for the fallback printer.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@19986 72102866-910b-0410-8b05-ffd578937521
2004-09-03 23:37:38 +00:00
Alexander Malmberg
e8ce1bfa9f Remove spurious ';'.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@19985 72102866-910b-0410-8b05-ffd578937521
2004-09-03 23:10:13 +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
Adam Fedor
19e45d5c7b * Source/NSPrintInfo.m ([NSPrintInfo -paperSize]): Avoid returning
a nil object return value into a struct.
* Printing/GSLPR/GNUmakefile.preamble: Add
Source/$(GNUSTEP_TARGET_DIR) includes
* Tools/GNUmakefile.preamble: Likewise.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@19970 72102866-910b-0410-8b05-ffd578937521
2004-09-02 03:27:54 +00:00
Alexander Malmberg
ab6a805021 (-scrollRectToVisible:): Implement correctly, patch from Andrew Ruder.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@19968 72102866-910b-0410-8b05-ffd578937521
2004-09-01 22:19:49 +00:00
Quentin Mathe
a901114168 Fixed the toolbar layout problem introduced by NSButtonCell changes
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@19941 72102866-910b-0410-8b05-ffd578937521
2004-08-30 21:33:17 +00:00
Alexander Malmberg
53b27348a7 (-draggingUpdated:): Return currentDragOperation.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@19936 72102866-910b-0410-8b05-ffd578937521
2004-08-29 00:55:54 +00:00
Gregory John Casamento
b9ea1b1822 Some slight improvements. Made templates use a method called shouldSwapClass which checks for the existence of isInInterfaceBuilder and, if available, returns the value.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@19933 72102866-910b-0410-8b05-ffd578937521
2004-08-28 14:41:16 +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
Fred Kiefer
73fd0482a8 Deal with nil in substrign expansion.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@19898 72102866-910b-0410-8b05-ffd578937521
2004-08-21 10:06:24 +00:00
Quentin Mathe
1fc2399220 Correct details related to combo box
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@19872 72102866-910b-0410-8b05-ffd578937521
2004-08-13 23:28:50 +00:00
Quentin Mathe
a4c583b139 Fixed combo box bug introduced in June
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@19870 72102866-910b-0410-8b05-ffd578937521
2004-08-13 22:07:06 +00:00
Alexander Malmberg
dd69ef973d Adjust handling of selected range changes in response to text changes.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@19866 72102866-910b-0410-8b05-ffd578937521
2004-08-11 23:46:37 +00:00
Alexander Malmberg
f28c2b56c5 Move text back down 2 point in NSImageAbove case.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@19865 72102866-910b-0410-8b05-ffd578937521
2004-08-11 19:39:32 +00:00
Alexander Malmberg
36f5227473 Fix calculation of used rect.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@19861 72102866-910b-0410-8b05-ffd578937521
2004-08-10 00:08:42 +00:00
Alexander Malmberg
432df0d14d Add some missing void:s.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@19860 72102866-910b-0410-8b05-ffd578937521
2004-08-09 22:51:38 +00:00
Alexander Malmberg
c12bd68ed6 Optimize -advancementForGlyph: handling.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@19859 72102866-910b-0410-8b05-ffd578937521
2004-08-09 22:14:17 +00:00
Alexander Malmberg
77a10cb02f Optimize -usedRectForTextContainer:.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@19857 72102866-910b-0410-8b05-ffd578937521
2004-08-09 19:50:01 +00:00
Alexander Malmberg
bc3d8f4913 Optimize -usedRectForTextContainer:.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@19856 72102866-910b-0410-8b05-ffd578937521
2004-08-09 19:49:24 +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