Commit graph

2900 commits

Author SHA1 Message Date
Fred Kiefer
7ebc8a71ba Added extension methods for NSURL.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@11508 72102866-910b-0410-8b05-ffd578937521
2001-11-24 15:51:15 +00:00
Fred Kiefer
c05f0c3e6d Implemented [rulerMarkersForTextView:...ruler:].
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@11507 72102866-910b-0410-8b05-ffd578937521
2001-11-24 15:50:54 +00:00
Fred Kiefer
0944e78ce7 Corrected memory management in rulerview methods. Implemented
update ruler. Dummy implementation for new spell checking
methods. Implementation of new drag methods, use these in the
dragging protocol methods. Moved the NSTextInput methods into the
main category. Implemented some of them.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@11506 72102866-910b-0410-8b05-ffd578937521
2001-11-24 15:50:07 +00:00
Fred Kiefer
0321e9f4e1 Added protocol NSTextInput to NSTextView. Added some new MacOSX
methods.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@11505 72102866-910b-0410-8b05-ffd578937521
2001-11-24 15:49:26 +00:00
Fred Kiefer
b1f82d9baf Added some ruler view support to NSTextView.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@11492 72102866-910b-0410-8b05-ffd578937521
2001-11-23 00:29:47 +00:00
Fred Kiefer
746cc159e4 Added code to rulerview delegate methods.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@11491 72102866-910b-0410-8b05-ffd578937521
2001-11-23 00:28:43 +00:00
Fred Kiefer
7eaab61165 Added notifications from NSTextStorage
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@11490 72102866-910b-0410-8b05-ffd578937521
2001-11-23 00:28:15 +00:00
Fred Kiefer
35ab35ded0 Added some new methods that allow for lazy fixing of attributes in
subclasses.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@11489 72102866-910b-0410-8b05-ffd578937521
2001-11-23 00:27:53 +00:00
Fred Kiefer
618ba42c09 Added and implemented some methods for the handling of richt text.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@11488 72102866-910b-0410-8b05-ffd578937521
2001-11-23 00:27:27 +00:00
Fred Kiefer
3b725d32e0 Added some additional MacOSX methods.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@11487 72102866-910b-0410-8b05-ffd578937521
2001-11-23 00:27:04 +00:00
Fred Kiefer
ba1a0f6bf4 Added some methods for the handling of richt text.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@11486 72102866-910b-0410-8b05-ffd578937521
2001-11-23 00:26:02 +00:00
Nicola Pero
5e2b6317f5 Updated GNUmakefile for change in cvs-* targets in gnustep-make;
indented last couple of ChangeLog entries to fit into 80 columns ...
ChangeLog entries must be indented at 80 columns.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@11465 72102866-910b-0410-8b05-ffd578937521
2001-11-22 01:01:32 +00:00
Nicola Pero
7f8d86154c Updated for change in gnustep-make apropos `make cvs-snapshot' and similar
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@11464 72102866-910b-0410-8b05-ffd578937521
2001-11-22 00:59:30 +00:00
Laurent Julliard
03bfda7aa2 colCount and _firstVisible Column must always be decoded
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@11447 72102866-910b-0410-8b05-ffd578937521
2001-11-21 13:28:28 +00:00
Laurent Julliard
0ff9254ac1 ChangeLog
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@11435 72102866-910b-0410-8b05-ffd578937521
2001-11-20 15:54:32 +00:00
Laurent Julliard
2d05b22a9f max number of items tested on wrong variable. Corrected
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@11434 72102866-910b-0410-8b05-ffd578937521
2001-11-20 15:53:49 +00:00
Adam Fedor
db7b620c03 Cache used fonts in context
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@11430 72102866-910b-0410-8b05-ffd578937521
2001-11-20 05:00:20 +00:00
Gregory John Casamento
bef0fa9983 Added comment for "gopen" addition to Tools directory.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@11420 72102866-910b-0410-8b05-ffd578937521
2001-11-18 19:02:30 +00:00
Gregory John Casamento
b6480b88bb Adding gopen tool which works like the "open" command under OPENSTEP4.2/Mach
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@11419 72102866-910b-0410-8b05-ffd578937521
2001-11-18 19:01:07 +00:00
Laurent Julliard
e5f5cda54a NSBrowser encoder and decoder added
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@11418 72102866-910b-0410-8b05-ffd578937521
2001-11-15 15:53:31 +00:00
Fred Kiefer
be706c6a08 Cleaned up font enumerator code.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@11379 72102866-910b-0410-8b05-ffd578937521
2001-11-12 16:45:01 +00:00
Fred Kiefer
1a87e8ad94 Added missing include.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@11378 72102866-910b-0410-8b05-ffd578937521
2001-11-12 16:44:04 +00:00
Fred Kiefer
f2816c29d7 Changed GSFontEnumerator so that only [enumerateFontsAndFamilies]
must be subclassed.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@11377 72102866-910b-0410-8b05-ffd578937521
2001-11-12 16:43:20 +00:00
Fred Kiefer
bb47d9c045 Reorganised the handling of the font enumerator. New
[_includeFont:] is only called from here. Corrected
[availableMembersOfFontFamily:] and [fontNamed:hasTraits:].


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@11376 72102866-910b-0410-8b05-ffd578937521
2001-11-12 16:42:54 +00:00
Fred Kiefer
78af7eab3a Adopted GSFontEnumerator to changes on NSFontManager.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@11375 72102866-910b-0410-8b05-ffd578937521
2001-11-12 16:42:13 +00:00
Fred Kiefer
b7595b8469 Small correction for NSTabView.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@11362 72102866-910b-0410-8b05-ffd578937521
2001-11-11 17:43:08 +00:00
Fred Kiefer
5090fe3a37 In [selectTabViewItem:] corrected setting the first responder of
the tab view.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@11361 72102866-910b-0410-8b05-ffd578937521
2001-11-11 17:42:12 +00:00
Adam Fedor
810fc6f2c7 Raise exceptions
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@11357 72102866-910b-0410-8b05-ffd578937521
2001-11-10 03:53:33 +00:00
Nicola Pero
65b1b6a8df Fixed NSMatrix sizeToFit without degrading performance of NSBrowser
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@11349 72102866-910b-0410-8b05-ffd578937521
2001-11-08 22:53:19 +00:00
Nicola Pero
b71c370c78 Replaced inefficient call to [matrix sizeToFit] with much more efficient
determination of the browsercell height


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@11348 72102866-910b-0410-8b05-ffd578937521
2001-11-08 22:49:56 +00:00
Nicola Pero
912536c1de Fixed sizeToFit
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@11347 72102866-910b-0410-8b05-ffd578937521
2001-11-08 22:48:58 +00:00
Adam Fedor
04a3436aff Simple printint implementation
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@11341 72102866-910b-0410-8b05-ffd578937521
2001-11-08 18:26:39 +00:00
Laurent Julliard
81915f4a3c NSDrawFramePhoto added
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@11340 72102866-910b-0410-8b05-ffd578937521
2001-11-08 13:34:23 +00:00
Pierre-Yves Rivaille
636dabc0ec Source/NSTableView.m [-sizeToFit]
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@11315 72102866-910b-0410-8b05-ffd578937521
2001-11-05 23:18:08 +00:00
Pierre-Yves Rivaille
a342cf5aae [NSTableView -sizeToFit]: replace floorf with floor
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@11314 72102866-910b-0410-8b05-ffd578937521
2001-11-05 23:14:44 +00:00
Nicola Pero
a8e28ba039 Minor indentation tidyups
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@11313 72102866-910b-0410-8b05-ffd578937521
2001-11-05 11:47:29 +00:00
Nicola Pero
420c1a2dfb Little indentation tidyupy
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@11312 72102866-910b-0410-8b05-ffd578937521
2001-11-05 11:46:24 +00:00
Fred Kiefer
7ee5ba0326 Corrections for NSSplitView and NSTabView.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@11309 72102866-910b-0410-8b05-ffd578937521
2001-11-04 00:11:55 +00:00
Fred Kiefer
df9ae0c299 Adopted to changes in header. Use [insertTabViewItem:atIndex:] in
[addTabViewItem:]. Corrected [selectNextTabViewItem:] and
[selectPreviousTabViewItem:]. In [selectTabViewItem:] set the
first responder of the tab view. Other small cleanup.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@11308 72102866-910b-0410-8b05-ffd578937521
2001-11-04 00:10:46 +00:00
Fred Kiefer
3ae66416e4 Renamed all ivars and added some new MacOSX methods. Added two new
unsupported NSTabViewType values.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@11307 72102866-910b-0410-8b05-ffd578937521
2001-11-04 00:02:56 +00:00
Fred Kiefer
3f3d0d7d79 Adopted to changes in header. Dummy implementation of new
methods. Changed incudes. In [mouseDown:] also check for new delegate
methods. [_adjustSubviews:] now takes the old size as an argument
to hand it on to delegate. Changed all places that call
this. En-/decode the image instead of the cursor.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@11306 72102866-910b-0410-8b05-ffd578937521
2001-11-04 00:02:24 +00:00
Fred Kiefer
e9bc924221 In [performActionForItemAtIndex:] select the item of the popup
before sending the action.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@11305 72102866-910b-0410-8b05-ffd578937521
2001-11-04 00:01:53 +00:00
Fred Kiefer
63ddba36db Removed unused ivar _splitCursor. Added some MacOSX methods. Moved
extension methods to separate category.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@11304 72102866-910b-0410-8b05-ffd578937521
2001-11-04 00:01:17 +00:00
Fred Kiefer
f19d155d72 Some cleanup on NSSpellChecker.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@11302 72102866-910b-0410-8b05-ffd578937521
2001-11-03 09:56:53 +00:00
Fred Kiefer
cc9acbc54a Adopted implemtantion of [checkSpelling:] to changes in
NSSpellChecker. [updateSpellingPanelWithMisspelledWord:] is now
called from here.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@11301 72102866-910b-0410-8b05-ffd578937521
2001-11-03 09:56:02 +00:00
Fred Kiefer
4a1e318a22 Implement [guessesForWord:] and use it in
[browser:createRowsForColumn:inMatrix:]. Don't create the server
in [init], but check it before each use. Check if ther server
proxy exists before all method calls that return a NSRange.
In [checkSpellingOfString:...wordCount:] don't call
[updateSpellingPanelWithMisspelledWord:]. Beep in this method,
when the string is empty. [_findNext:], [_ignore:] and [_correct:]
now use [[NSApp sendAction:to:from:] instead of explicit responder.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@11300 72102866-910b-0410-8b05-ffd578937521
2001-11-03 09:55:32 +00:00
Fred Kiefer
232704a73c Added [guessesForWord:].
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@11299 72102866-910b-0410-8b05-ffd578937521
2001-11-03 09:54:59 +00:00
Adam Fedor
6144cd5471 Set dir only if nil
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@11297 72102866-910b-0410-8b05-ffd578937521
2001-11-02 23:21:13 +00:00
Fred Kiefer
ca80454326 Improvements to NSSlider, NSTextView and the declaration of functions in
the header files.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@11296 72102866-910b-0410-8b05-ffd578937521
2001-11-02 13:10:06 +00:00
Fred Kiefer
f50b23d869 Added APPKIT_DECLARE for all functions.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@11295 72102866-910b-0410-8b05-ffd578937521
2001-11-02 13:08:48 +00:00