Commit graph

1628 commits

Author SHA1 Message Date
nico
51a3f8ca43 Use the cached notification center
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@10758 72102866-910b-0410-8b05-ffd578937521
2001-08-21 18:13:32 +00:00
fedor
60a7ef53c8 Moved text conversion classes to separate bundle
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@10755 72102866-910b-0410-8b05-ffd578937521
2001-08-21 14:52:00 +00:00
pyr
c13ef751bc modifications to take [NSTableColumn -dataCellForRow:] into account
[-updateCell:]: only redraws the what's needed

[-setFrame:]: added a call to [self sizeToFit]


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@10749 72102866-910b-0410-8b05-ffd578937521
2001-08-21 12:25:29 +00:00
pyr
00488d9da2 New method : -dataCellForRow:
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@10747 72102866-910b-0410-8b05-ffd578937521
2001-08-21 12:17:37 +00:00
pyr
e349dcaa98 [NSMatrix -sizeToFit] : This method now assumes that all cells have the
same size (this is what specification says). If it is not the case, weird
behaviour can happen ...


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@10739 72102866-910b-0410-8b05-ffd578937521
2001-08-20 10:48:09 +00:00
pyr
d1e7b4500e Added NSStepper.m NSStepper.h NSStepperCell.m NSStepperCell.h
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@10738 72102866-910b-0410-8b05-ffd578937521
2001-08-20 10:29:26 +00:00
pyr
ed3baf3267 NSStepper class : first implementation
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@10734 72102866-910b-0410-8b05-ffd578937521
2001-08-20 10:16:22 +00:00
pyr
90190ab4a7 NSStepperCell class : first implementation
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@10733 72102866-910b-0410-8b05-ffd578937521
2001-08-20 10:15:54 +00:00
pyr
9da40a7256 [NSBrowser -_performLoadOfColumn:] : improved performance when loading
previously unloaded column with a passive delegate


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@10732 72102866-910b-0410-8b05-ffd578937521
2001-08-20 10:12:11 +00:00
fedor
c158c1db45 Prevent NSTextView from asking a text storage of zero length
for attributes


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@10731 72102866-910b-0410-8b05-ffd578937521
2001-08-19 23:28:27 +00:00
FredKiefer
4d0d7be678 In [setWindowFrameForAttachingToRect:...popUpSelectedItem:]
replaced reference to NSMenuWindow with NSWindow.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@10729 72102866-910b-0410-8b05-ffd578937521
2001-08-19 23:22:32 +00:00
FredKiefer
c511088b01 Adopted to changes in the header file.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@10728 72102866-910b-0410-8b05-ffd578937521
2001-08-19 23:21:59 +00:00
FredKiefer
ab8762f908 Renamed methods to fit the GSTextConsumer protocol. Adopted to
changes in header. Perliminary implementation for RTFDConsumer.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@10724 72102866-910b-0410-8b05-ffd578937521
2001-08-18 22:08:28 +00:00
FredKiefer
4d4718efa5 RTFConsumer implements the protocol GSTextConsumer. New subclass
RTFDConsumer.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@10723 72102866-910b-0410-8b05-ffd578937521
2001-08-18 22:07:59 +00:00
FredKiefer
b14c5ca3ae Renamed methods to fit the GSTextProducer protocol. Adopted to
changes in header. Implementation for RTFProducer.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@10722 72102866-910b-0410-8b05-ffd578937521
2001-08-18 22:07:35 +00:00
FredKiefer
e25e9e9fe6 Renamed RTFProducer into RTFDProducer, with new subclass
RTFProducer. Both implement the protocol GSTextProducer.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@10721 72102866-910b-0410-8b05-ffd578937521
2001-08-18 22:04:15 +00:00
FredKiefer
d8b63f8de9 Include GSTextConverter.h. New function converter_class() to load
the class for a given text converter format. Use this function in
the RTF methods and use new protocol there.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@10720 72102866-910b-0410-8b05-ffd578937521
2001-08-18 22:03:17 +00:00
FredKiefer
a85bbcd020 Install GSTextConverter.h.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@10719 72102866-910b-0410-8b05-ffd578937521
2001-08-18 22:02:42 +00:00
FredKiefer
48e52290ec Install NSInputServer.h + NSInputManager.h and compile
NSInputServer.m + NSInputManager.m.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@10716 72102866-910b-0410-8b05-ffd578937521
2001-08-18 15:18:18 +00:00
FredKiefer
c7f6afdcea Dummy implementation.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@10715 72102866-910b-0410-8b05-ffd578937521
2001-08-18 15:17:49 +00:00
FredKiefer
8a5a6afa09 Implemented missing NSUpdateDynamicServices().
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@10710 72102866-910b-0410-8b05-ffd578937521
2001-08-14 22:39:06 +00:00
FredKiefer
8f5f87b67a Added case of NSScrollWheel.
Impelemented missing NSShowSystemInfoPanel().


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@10709 72102866-910b-0410-8b05-ffd578937521
2001-08-14 22:38:30 +00:00
FredKiefer
de949a0a83 [initialize] removed obsolete check for default setting of
ImageComposition. In [copyWithZone:] copy the colour space, it
might be mutable.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@10708 72102866-910b-0410-8b05-ffd578937521
2001-08-14 22:37:11 +00:00
pyr
50f2f7ce0c Changed [-_userResizedTableColumn: leftWidth: rightWidth:] to
[-_userResizedTableColumn: width] for better resizing
Added [-_columnOrigins] for column reordering


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@10705 72102866-910b-0410-8b05-ffd578937521
2001-08-13 15:06:53 +00:00
pyr
625b08dccc Reimplemented column resizing
Implemented column reordering


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@10704 72102866-910b-0410-8b05-ffd578937521
2001-08-13 15:03:39 +00:00
pyr
e165ba44af [NSSavePanel -runModalForDirectory:file:]
[NSOpenPanel -runModalForDirectory:file:types:]
Moved functionality from NSOpenPanel to NSSavePanel:
the "ok" button is shown as enabled or not at the beginning depending
on whether the given file is valid.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@10702 72102866-910b-0410-8b05-ffd578937521
2001-08-13 14:57:20 +00:00
pyr
72480f557e [NSPopUpButton -keyDown:] add code to send the selected item action to its
target (this enables key control of an NSPopUpButton configured as an
pull-down list)


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@10700 72102866-910b-0410-8b05-ffd578937521
2001-08-13 14:34:35 +00:00
pyr
be084be394 Modified NSDrawGrayBezel and NSDrawWhiteBezel so that they look nicer
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@10696 72102866-910b-0410-8b05-ffd578937521
2001-08-13 14:24:38 +00:00
nico
a00dc20735 When appending an arc to a bezier path, draw the line from the current
point to the arc start point - unless this is the first element of the path


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@10693 72102866-910b-0410-8b05-ffd578937521
2001-08-13 13:08:22 +00:00
nico
544e1f9c1e Fixed setString: when there is no previous string, so that it uses
the typingAttributes


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@10691 72102866-910b-0410-8b05-ffd578937521
2001-08-13 11:44:42 +00:00
nico
f7aed4811e Fixed setName: to work - was crashing all apps with an icon at startup
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@10689 72102866-910b-0410-8b05-ffd578937521
2001-08-13 11:07:39 +00:00
FredKiefer
e6320bce97 Removed [initImageCell:], [dealloc], [cellSizeForBounds:] and
[copyWithZone:], which where only super calls.
In [drawWithFrame:inView:] lockFocus only around drawing
code and check for invalid window.
In [drawInteriorWithFrame:inView:] lockFocus only around drawing
code, check for invalid window, use NSCompositeSourceOver instead
of NSCompositeCopy and show first responder state.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@10687 72102866-910b-0410-8b05-ffd578937521
2001-08-12 17:29:34 +00:00
nico
13de9f3f70 Fixed limit cases when getting the row and column a point is in
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@10684 72102866-910b-0410-8b05-ffd578937521
2001-08-12 15:09:32 +00:00
FredKiefer
f3c21ad1ad Dummy implementation of new methods.
[dissolveToPoint:fromRect:fraction:] Move the drawing rectangle
to the origin of the image rep before the intersection of the two
rects.
[TIFFRepresentationUsingCompression:factor:] and
[TIFFRepresentation] call method on NSBitmapImageRep.
List explicit flag settings in [init].
Moved background drawing to [drawRepresentation:inRect:].
Restructured [_doImageCache] and [_cacheForRep:].


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@10679 72102866-910b-0410-8b05-ffd578937521
2001-08-11 18:34:22 +00:00
FredKiefer
8615853b77 Implemented [TIFFRepresentationOfImageRepsInArray] and
[TIFFRepresentationOfImageRepsInArray:usingCompression:factor:]


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@10678 72102866-910b-0410-8b05-ffd578937521
2001-08-11 18:33:40 +00:00
nico
c37fe0ce53 Fix for color out of bounds
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@10675 72102866-910b-0410-8b05-ffd578937521
2001-08-11 17:51:02 +00:00
FredKiefer
2887cf2b19 Added Header, changed includes, small restructuring of [init] and
removed [isFloatingPanel].


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@10659 72102866-910b-0410-8b05-ffd578937521
2001-08-05 22:22:23 +00:00
FredKiefer
dbcd941040 In [NSApplication showHelp:] added a check for the existence of
the help file.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@10657 72102866-910b-0410-8b05-ffd578937521
2001-08-05 22:21:06 +00:00
FredKiefer
c6b9b319d3 Removed [showHelp:] and [activateContextHelpMode:] as they are
implemented in NSHelpManager.m. Use [showHelp:] in old method [].


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@10656 72102866-910b-0410-8b05-ffd578937521
2001-08-05 22:20:27 +00:00
FredKiefer
6f70c418e5 Implemented the new methods and [titleWidth:]. In method
[titleWidth] use [cellSize] to compute the width.
In [drawWithFrame:inView:] lock focus only if there is something
to draw.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@10653 72102866-910b-0410-8b05-ffd578937521
2001-08-04 14:47:51 +00:00
FredKiefer
c0a29aebd4 Dumy implementations for new class methods and implementations for
new instance methods.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@10651 72102866-910b-0410-8b05-ffd578937521
2001-08-04 14:43:31 +00:00
gcasa
caac798bca Added nextKeyView to views withing gmodel to allow user to tab between buttons. Fixed a bug in NSBrowser. Made some corrections to NSSpellChecker and [NSTextView checkSpelling:]
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@10641 72102866-910b-0410-8b05-ffd578937521
2001-08-03 05:16:49 +00:00
fedor
1ef5d6721d MinGW cleanup
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@10640 72102866-910b-0410-8b05-ffd578937521
2001-08-02 14:51:41 +00:00
FredKiefer
39acf24ba4 Made it compile without warning.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@10635 72102866-910b-0410-8b05-ffd578937521
2001-08-01 22:51:43 +00:00
FredKiefer
2ac11ba36f Implement [reloadDefaultFontFamilies] and use it in [init].
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@10634 72102866-910b-0410-8b05-ffd578937521
2001-08-01 22:48:17 +00:00
FredKiefer
da2fb3ab34 Added [copyWithZone:], [mouseLocation] and dummy implemntation of
[deltaX], [deltaY] and [deltaZ].


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@10633 72102866-910b-0410-8b05-ffd578937521
2001-08-01 22:46:57 +00:00
FredKiefer
369655d2f6 Install NSDrawer.h and compile NSDrawer.m.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@10620 72102866-910b-0410-8b05-ffd578937521
2001-08-01 00:05:04 +00:00
FredKiefer
c9f79f9592 Notification strings for NSDrawer.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@10619 72102866-910b-0410-8b05-ffd578937521
2001-08-01 00:04:31 +00:00
FredKiefer
4b188df56d Dummy implementation of NSDrawer class.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@10617 72102866-910b-0410-8b05-ffd578937521
2001-08-01 00:03:07 +00:00
fedor
693617eff0 Convert libgmodel to a bundle
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@10615 72102866-910b-0410-8b05-ffd578937521
2001-07-31 16:57:26 +00:00