Commit graph

1611 commits

Author SHA1 Message Date
Fred Kiefer
0eb432b95f 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
Fred Kiefer
a10d180052 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
Fred Kiefer
9a44480126 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
Fred Kiefer
06f366eac2 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
Fred Kiefer
4a0c1a233f 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
Fred Kiefer
7cb1299ac2 [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
Pierre-Yves Rivaille
679debe40c 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
Pierre-Yves Rivaille
8a192b68b9 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
Pierre-Yves Rivaille
2500131c69 [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
Pierre-Yves Rivaille
01521ad6e7 [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
Pierre-Yves Rivaille
0e4a09cb8d 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
Nicola Pero
93bcc21cfa 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
Nicola Pero
5320d8d0ec 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
Nicola Pero
759f159d16 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
Fred Kiefer
913a946557 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
Nicola Pero
4e388f9dd7 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
Fred Kiefer
468daba33d 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
Fred Kiefer
f9054d3ecf 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
Nicola Pero
b36c5af23c 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
Fred Kiefer
4fbf129d23 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
Fred Kiefer
1dbdc57ce5 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
Fred Kiefer
d7698f89e9 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
Fred Kiefer
661bf04cb2 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
Fred Kiefer
3bea937d15 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
Gregory John Casamento
016e021fc1 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
Adam Fedor
a77949a8e6 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
Fred Kiefer
c45df82878 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
Fred Kiefer
6bb19da8bb 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
Fred Kiefer
c5d2a33f21 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
Fred Kiefer
cfbbd3dd11 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
Fred Kiefer
3901a53b9f 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
Fred Kiefer
64a120c129 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
Adam Fedor
1ff9a64bc3 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
Adam Fedor
6fc3726a02 Fixes to compile shared on Windows
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@10611 72102866-910b-0410-8b05-ffd578937521
2001-07-30 21:30:51 +00:00
Richard Frith-Macdonald
911b5993e8 Patch by george comitted
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@10608 72102866-910b-0410-8b05-ffd578937521
2001-07-30 14:17:37 +00:00
Fred Kiefer
31c1b346ac Commented out unused static variables.
Dummy implementation of new methods.
In [openDocumentWithContentsOfFile:display:] call
[noteNewRecentDocument:].
In [openDocumentWithContentsOfURL:display:] only call
[noteNewRecentDocumentURL:] when document is not nil.
Implemented [noteNewRecentDocument:].


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@10606 72102866-910b-0410-8b05-ffd578937521
2001-07-28 22:40:07 +00:00
Fred Kiefer
6668d1b7d2 Added dummy implementation for the new delegate operations.
Corrected [initWithContentsOfURL:ofType:], the alert was shown un
success.
Implemented [removeWindowController:] and [validateUserInterfaceItem:].


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@10604 72102866-910b-0410-8b05-ffd578937521
2001-07-28 22:38:48 +00:00
Fred Kiefer
8eb057e9d8 Install NSUserInterfaceValidation.h.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@10602 72102866-910b-0410-8b05-ffd578937521
2001-07-28 22:37:19 +00:00
Richard Frith-Macdonald
328110a006 Constrain window to screen on initialisation
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@10598 72102866-910b-0410-8b05-ffd578937521
2001-07-28 05:09:14 +00:00
Nicola Pero
56ca810cfa Tidied indentation
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@10573 72102866-910b-0410-8b05-ffd578937521
2001-07-25 09:43:15 +00:00
Gregory John Casamento
2543b6418b Corrected the implementation of some of the methods in NSSpellChecker and NSSpellServer. I also added a working spell checker which uses ispell.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@10541 72102866-910b-0410-8b05-ffd578937521
2001-07-24 04:31:06 +00:00
Fred Kiefer
c7799e5305 Adopted to changes in header.
Extracted new method [_computeCid] from [setImage].
Use [set] in [pop] and [push].
Implemented coding protocol.
Cache the class and use it for standard cursor and in [pop].


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@10539 72102866-910b-0410-8b05-ffd578937521
2001-07-23 22:58:54 +00:00
Pierre-Yves Rivaille
fe81258f70 (-imageRectForBounds:), (-drawBorderAndBackgroundWithFrame:inView:),
(-drawInteriorWithFrame:inView:): updates to have a cuter displaying of
NSPopUpButton


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@10536 72102866-910b-0410-8b05-ffd578937521
2001-07-23 14:32:38 +00:00
Pierre-Yves Rivaille
152714c90a (-drawInteriorWithFrame:inView:): updates to have a cuter displaying of
NSPopUpButton


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@10535 72102866-910b-0410-8b05-ffd578937521
2001-07-23 14:31:32 +00:00
Pierre-Yves Rivaille
4c5fd7cf4b -_initWithoutGModel: added calls to setMinColumnWidth for familyBrowser and
faceBrowser (they were not displayed)


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@10533 72102866-910b-0410-8b05-ffd578937521
2001-07-23 14:07:38 +00:00
Pierre-Yves Rivaille
9ee63720bf 2001-07-23 Pierre-Yves <pyrivail@ens-lyon.fr>
* Source/NSBrowser.h: Add instance variables to support alphanumerical
	keys. Add GNUstepExtensions category with alpahnumerical-key-related
	methods (acceptsAlphaNumericalKeys, setAcceptsAlphaNumericalKeys:,
	sendsActionOnAlphaNumericalKeys, setSendsActionOnAlphaNumericalKeys:)
	* Source/NSBrowser.m: Add GNUstepExtensions category methods
	* Source/NSBrowser.m (-initWIthFrame:): initialization of the
	alphanumerical-key-related instance variables.
	* Source/NSBrowser.m (-dealloc): TEST_RELEASE a keyDown internal object
	* Source/NSBrowser.m (-keyDown): support for alphanumerical keys
	* Source/NSBrowser.m (-selectRow:inColumn:): when calling
	[matrix cellAtRow:column:], column should be 0 (not column)


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@10531 72102866-910b-0410-8b05-ffd578937521
2001-07-23 13:52:32 +00:00
Nicola Pero
e9a2dd5b78 Use ASSIGN
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@10529 72102866-910b-0410-8b05-ffd578937521
2001-07-20 09:19:47 +00:00
Nicola Pero
1109a03bb6 Indentation, and use ASSIGN in a couple of places
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@10528 72102866-910b-0410-8b05-ffd578937521
2001-07-20 09:18:31 +00:00
Nicola Pero
73cd5d26d4 Do not retain the window controller - it owns us
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@10526 72102866-910b-0410-8b05-ffd578937521
2001-07-20 09:16:35 +00:00
Richard Frith-Macdonald
4adb0bb3b0 Patch from George to fix bounding rect stuff
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@10525 72102866-910b-0410-8b05-ffd578937521
2001-07-20 05:33:07 +00:00