Commit graph

1937 commits

Author SHA1 Message Date
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
Adam Fedor
82fff1ebf0 Encoding implementations
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@10511 72102866-910b-0410-8b05-ffd578937521
2001-07-18 03:25:37 +00:00
Pierre-Yves Rivaille
e1fabffcac 2001-07-17 Pierre-Yves Rivaille <pyrivail@ens-lyon.fr>
* NSPanel.m set2001-07-17  Pierre-Yves Rivaille <pyrivail@ens-lyon.fr>

        * NSPanel.m set2001-07-17  Pierre-Yves Rivaille <pyrivail@ens-lyon.fr>

        * NSPanel.m set2001-07-17  Pierre-Yves Rivaille <pyrivail@ens-lyon.fr>

        * NSPanel.m set2001-07-17  Pierre-Yves Rivaille <pyrivail@ens-lyon.fr>

        * NSPanel.m set2001-07-17  Pierre-Yves Rivaille <pyrivail@ens-lyon.fr>

        * NSPanel.m set2001-07-17  Pierre-Yves Rivaille <pyrivail@ens-lyon.fr>

        * NSPanel.m set2001-07-17  Pierre-Yves Rivaille <pyrivail@ens-lyon.fr>

        * NSPanel.m set2001-07-17  Pierre-Yves Rivaille <pyrivail@ens-lyon.fr>

        * NSPanel.m set2001-07-17  Pierre-Yves Rivaille <pyrivail@ens-lyon.fr>

        * NSPanel.m set2001-07-17  Pierre-Yves Rivaille <pyrivail@ens-lyon.fr>

        * NSPanel.m set2001-07-17  Pierre-Yves Rivaille <pyrivail@ens-lyon.fr>

        * NSPanel.m set2001-07-17  Pierre-Yves Rivaille <pyrivail@ens-lyon.fr>

        * NSPanel.m set2001-07-17  Pierre-Yves Rivaille <pyrivail@ens-lyon.fr>

        * NSPanel.m set2001-07-17  Pierre-Yves Rivaille <pyrivail@ens-lyon.fr>

        * NSPanel.m set2001-07-17  Pierre-Yves Rivaille <pyrivail@ens-lyon.fr>

        * NSPanel.m set2001-07-17  Pierre-Yves Rivaille <pyrivail@ens-lyon.fr>

        * NSPanel.m set2001-07-17  Pierre-Yves Rivaille <pyrivail@ens-lyon.fr>

        * NSPanel.m set2001-07-17  Pierre-Yves Rivaille <pyrivail@ens-lyon.fr>

        * NSPanel.m set2001-07-17  Pierre-Yves Rivaille <pyrivail@ens-lyon.fr>

        * NSPanel.m set2001-07-17  Pierre-Yves Rivaille <pyrivail@ens-lyon.fr>

        * NSPanel.m set2001-07-17  Pierre-Yves Rivaille <pyrivail@ens-lyon.fr>

        * NSPanel.m set2001-07-17  Pierre-Yves Rivaille <pyrivail@ens-lyon.fr>

        * NSPanel.m set2001-07-17  Pierre-Yves Rivaille <pyrivail@ens-lyon.fr>

2001-07-17  Pierre-Yves Rivaille <pyrivail@ens-lyon.fr>

        * Source/NSPanel.m ([-setTitle:message:def:alt:other]): Corrected the
        nextKeyView chain initialization.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@10506 72102866-910b-0410-8b05-ffd578937521
2001-07-17 12:29:32 +00:00
Nicola Pero
3986ee515e Work around bug in 2.91.66 compiler
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@10484 72102866-910b-0410-8b05-ffd578937521
2001-07-16 10:26:23 +00:00
Adam Fedor
a56278096e Merge from 0.7.0
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@10329 72102866-910b-0410-8b05-ffd578937521
2001-07-09 02:49:03 +00:00
Nicola Pero
ce3b319c5a Added FIXME for memory problem
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@10290 72102866-910b-0410-8b05-ffd578937521
2001-07-04 17:30:11 +00:00
Nicola Pero
c208e012b8 Reindented to conform to standards
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@10289 72102866-910b-0410-8b05-ffd578937521
2001-07-04 17:20:49 +00:00
Nicola Pero
6ff351d2f9 Cache attribute dictionary used when drawing the menu title
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@10283 72102866-910b-0410-8b05-ffd578937521
2001-07-03 18:16:03 +00:00
Nicola Pero
d09426e14b Spare two method calls when on mouse down
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@10282 72102866-910b-0410-8b05-ffd578937521
2001-07-03 18:14:35 +00:00
Nicola Pero
69366c97ce Install GSVersion.h
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@10240 72102866-910b-0410-8b05-ffd578937521
2001-06-25 09:52:54 +00:00
Gregory John Casamento
6e2c6106ba Made modifications to the NSSpellChecker to use the guesses. The spell checker should function exactly like the one under OPENSTEP now.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@10231 72102866-910b-0410-8b05-ffd578937521
2001-06-23 14:11:09 +00:00
Gregory John Casamento
8a227027b4 Added NSSpellChecker, NSSpellServer implementation. Added stubbed out spell service and the GUI for the spell checker.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@10215 72102866-910b-0410-8b05-ffd578937521
2001-06-21 01:05:11 +00:00
Nicola Pero
f0038aa66a set up the next key view chain; init panel with defer=YES; set initial
first responder; use a custom field editor which doesn't use font panel
to avoid strange changes of fonts when editing the size


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@10191 72102866-910b-0410-8b05-ffd578937521
2001-06-16 11:08:30 +00:00
Nicola Pero
f71b4bf6d2 Set up the next key view chain in the alert panels
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@10190 72102866-910b-0410-8b05-ffd578937521
2001-06-16 11:07:03 +00:00
Nicola Pero
6d4ea38fb5 When programmatically simulating a mouse click, also change state of the
cell


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@10189 72102866-910b-0410-8b05-ffd578937521
2001-06-16 11:06:16 +00:00
Nicola Pero
49c22025ea Fixed keyboard navigation with TAB
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@10188 72102866-910b-0410-8b05-ffd578937521
2001-06-16 11:05:16 +00:00
Nicola Pero
2aeff3e0f0 Temporary bug fix to make it work again for non-tiff files
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@10171 72102866-910b-0410-8b05-ffd578937521
2001-06-12 22:19:10 +00:00
Nicola Pero
918c047557 Indentation and trivial efficiency fixes
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@10170 72102866-910b-0410-8b05-ffd578937521
2001-06-12 22:15:49 +00:00
Mirko Viviani
b9d6351bc9 * Source/NSSavePanel.m ([NSSavePanel -_initWithoutGModel]): do not set
the max number of columns for the browser.

* Source/NSBrowser.m ([NSBrowser -tile]): control column width and
recalculate number of visible columns.
([NSBrowser -setMaxVisibleColumns:]): moved code in -tile.
([NSBrowser -displayAllColumns]): removed redundant methods.
([NSBrowser -initWithFrame:]): set _minColumnWidth to 100.0
([NSBrowser -numberOfVisibleColumns]): fixed. Return the number or
_visible_ columns. (not number of all loaded columns)
([NSBrowser -scrollColumnToVisible:]): use -numberOfVisibleColumns
instead of _maxVisibleColumns that could be 0.
([NSBrowser -updateScroller]): likewise.
([NSBrowser -scrollViaScroller:]): likewise.
([NSBrowser -_unloadFromColumn:]): likewise.
Removed all the fprintf() debug.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@10166 72102866-910b-0410-8b05-ffd578937521
2001-06-11 20:28:02 +00:00
Nicola Pero
c20baa2698 Fixed bugs in resizing
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@10157 72102866-910b-0410-8b05-ffd578937521
2001-06-10 17:38:19 +00:00
Nicola Pero
4555623c83 Tidied indentation
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@10156 72102866-910b-0410-8b05-ffd578937521
2001-06-10 17:35:35 +00:00
Nicola Pero
babf751ba5 Added NSDebugLog for case in which the cell is asked for a cell attribute
which is not supported


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@10154 72102866-910b-0410-8b05-ffd578937521
2001-06-10 16:12:56 +00:00
Fred Kiefer
9029c07c0b Reformated, simplified and corrected many methods.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@10141 72102866-910b-0410-8b05-ffd578937521
2001-06-09 23:36:23 +00:00
Fred Kiefer
1018742868 Added [setDelegate:] method.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@10140 72102866-910b-0410-8b05-ffd578937521
2001-06-09 23:33:47 +00:00
Nicola Pero
feb57ab9ae Removed unused default: label and tidied code
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@10133 72102866-910b-0410-8b05-ffd578937521
2001-06-09 01:35:39 +00:00
Nicola Pero
8ef9a8a337 Tidied macro syntax which was giving warnings on new compilers
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@10122 72102866-910b-0410-8b05-ffd578937521
2001-06-08 23:36:06 +00:00
Nicola Pero
c532921093 Tidied indentation
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@10121 72102866-910b-0410-8b05-ffd578937521
2001-06-08 22:51:11 +00:00
Fred Kiefer
ce1ca29ea5 Implemented canInitWithData:, imageUnfilteredFileTypes
and imageUnfilteredPasteboardTypes.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@10119 72102866-910b-0410-8b05-ffd578937521
2001-06-08 16:44:35 +00:00
Fred Kiefer
32317597eb Moved code to create the _imageData into
[initWithBitmapDataPlanes:...] and corrected [copyWithZone:]


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@10118 72102866-910b-0410-8b05-ffd578937521
2001-06-08 16:44:05 +00:00
Fred Kiefer
9642bac4ec Removed methods implemented by superclass.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@10114 72102866-910b-0410-8b05-ffd578937521
2001-06-07 21:56:19 +00:00
Fred Kiefer
3b035626b2 Corrected some methods on this class so that subclasses may use
them. Moved all the class methods to the front of the file.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@10113 72102866-910b-0410-8b05-ffd578937521
2001-06-07 21:55:46 +00:00
Fred Kiefer
5cf3aef11e Added some basic implementation for this class.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@10112 72102866-910b-0410-8b05-ffd578937521
2001-06-07 21:54:51 +00:00
Fred Kiefer
c9df791c59 Removed the copyWithZone: method as this has been fixed on
GSTextStorage.
Changed NSLeftMouseUp to the correct NSLeftMouseDown. (Fix by
Ludovic Marcotte <ludovic@Sophos.ca>, who is the fist user of
NSTextAttachment)


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@10104 72102866-910b-0410-8b05-ffd578937521
2001-06-07 14:24:46 +00:00
Richard Frith-Macdonald
3e4f05e940 Shallow copy for attributes
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@10099 72102866-910b-0410-8b05-ffd578937521
2001-06-07 06:10:33 +00:00
Adam Fedor
f77edb1d03 Method to calc minimum size
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@10096 72102866-910b-0410-8b05-ffd578937521
2001-06-07 04:01:02 +00:00
Fred Kiefer
efdd226051 Added copyWithZone: to NSTextAttachment to let it work as a
attribute in a NSAttributedString. This may be just a temporary
work around.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@10093 72102866-910b-0410-8b05-ffd578937521
2001-06-06 18:07:32 +00:00
Fred Kiefer
c2e7cf2f1c Corrected drawing code for text attachments.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@10092 72102866-910b-0410-8b05-ffd578937521
2001-06-06 18:06:52 +00:00
Nicola Pero
f1d026eff6 Added missing method
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@10080 72102866-910b-0410-8b05-ffd578937521
2001-06-06 01:28:22 +00:00
Fred Kiefer
5e273a37d1 Implemented some basic handling for mouse down on attachment cell.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@10072 72102866-910b-0410-8b05-ffd578937521
2001-06-04 16:25:32 +00:00
Fred Kiefer
8d1b7ad36a Added drawing code for text attachments (Still untested, as there
is a problem with unicode characters in NSAttributedString)


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@10071 72102866-910b-0410-8b05-ffd578937521
2001-06-04 16:24:48 +00:00
Fred Kiefer
2db21e4d84 Added missing methods.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@10070 72102866-910b-0410-8b05-ffd578937521
2001-06-04 16:23:57 +00:00
Mirko Viviani
423ab96406 * Source/NSMatrix.m ([NSMatrix -mouseDown:]): set highlight in list
mode matrix. Use _selectCell: to select the cell.
([NSMatrix -_setState:highlight:startIndex:endIndex:]): fixed cell
selection/display. Check for selectionByRect.
([NSMatrix -setSelectionFrom:to:anchor:highlight:]): removed code for
selectionByRect. Set dotted outline and last selected cell.
([NSMatrix -_shiftModifier:]): implement shift selection.
([NSMatrix -_altModifier:]): implement alt selection.
([NSMatrix -keyDown:]): use _shiftSelection: and _altSelection to
implement full keyboard selection.
([NSMatrix -_selectCell:atRow:column:]): redisplay previous dotted
cell. Set cell highlight in list mode matrix.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@10052 72102866-910b-0410-8b05-ffd578937521
2001-06-01 22:53:50 +00:00
Nicola Pero
2ef65f8a58 Indentation tidied
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@10027 72102866-910b-0410-8b05-ffd578937521
2001-05-28 22:20:59 +00:00
Adam Fedor
59384d53aa Use runtime to find backend if not BACKEND_BUNDLE
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@10024 72102866-910b-0410-8b05-ffd578937521
2001-05-25 17:46:46 +00:00
Adam Fedor
ca76560c9e Verfiy bundle loading, make sure nib loaded visibile windows get orderedFront.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@10021 72102866-910b-0410-8b05-ffd578937521
2001-05-24 14:47:43 +00:00
Fred Kiefer
1b52725d5b Cache all the fonts so we can returend a cached on if the same
font is required twice, this makes some of the caching in xdps
obsolte.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@9998 72102866-910b-0410-8b05-ffd578937521
2001-05-21 15:24:20 +00:00
Fred Kiefer
d2948895d0 Integrated patches from Frederic <frederic.chauvin@noos.fr> to
seed up drawing.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@9970 72102866-910b-0410-8b05-ffd578937521
2001-05-18 21:00:52 +00:00
Fred Kiefer
4c33646018 Extracted the interface definition into a separate file.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@9969 72102866-910b-0410-8b05-ffd578937521
2001-05-18 21:00:09 +00:00
Fred Kiefer
f32e5d7b69 Extracted interface
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@9968 72102866-910b-0410-8b05-ffd578937521
2001-05-18 20:59:23 +00:00
Fred Kiefer
799b99fa0a Added implementation for dashes.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@9967 72102866-910b-0410-8b05-ffd578937521
2001-05-18 20:58:27 +00:00
Fred Kiefer
1aa5864538 Corrected bug in setupChunk() that showed formats for the wrong
range of characters.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@9941 72102866-910b-0410-8b05-ffd578937521
2001-05-13 21:10:22 +00:00
Fred Kiefer
bae5295ce7 Added missing methods from MacOS X specification.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@9940 72102866-910b-0410-8b05-ffd578937521
2001-05-13 21:09:47 +00:00
Fred Kiefer
f017d59e28 Added some missing pasteboard types.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@9939 72102866-910b-0410-8b05-ffd578937521
2001-05-13 21:08:35 +00:00
Mirko Viviani
078c761daa * configure.in: added /usr/local/include and /usr/local/lib for
FreeBSD. Use ADDITIONAL_LIB_DIRS instead of ADDITIONAL_LD_FLAGS.
* config.make.in (ADDITIONAL_LIB_DIRS): renamed.
* config.guess: new file.
* config.sub: new file.
* install-sh: new file.

* Source/NSSavePanel.m ([NSSavePanel -setDelegate:]): check for -panel:
userEnteredFilename:confirmed:
([NSSavePanel -ok:]): call delegate method -panel:userEnteredFilename:
confirmed: (MacOS X). Run an alert panel if the filename already exists
([NSSavePanel -browser:selectCellWithString:inColumn:]): removed
keyboard handling.

* Headers/gnustep/gui/NSSavePanel.h: added ivar.

* Source/NSBrowserCell.m ([NSBrowserCell -highlightColorInView:]):
return the highlight color of the cell. (Mac OS X)
([NSBrowserCell -drawInteriorWithFrame:inView:]): use highlight color
from previous method.

* Headers/gnustep/gui/NSBrowserCell.h: added method.

* Source/NSMatrix.m ([NSMatrix -_mouseDownNonListMode:]): when
tracking the mouse use cell's +prefersTrackingUntilMouseUp
([NSMatrix -_move:]): new private method.
Fixed deselection of cells in NSRadioModeMatrix and NSListModeMatrix.
([NSMatrix -moveUp:]): use _move: to reduce maintance.
([NSMatrix -moveDown:]): likewise.
([NSMatrix -moveLeft:]): likewise.
([NSMatrix -moveRight:]): likewise.
([NSMatrix -getRow:column:ofCell:]): if cell does not exist set row and
column to -1.
([NSMatrix -mouseDown:]): does not select and highlight a cell at the
same time. Ensure that only a cell at a time has the dotted outile.

* Source/NSBrowser.m ([NSBrowser -addColumn]): load a column and scroll
if necessary.
([NSBrowser -doClick:]): rearranged for the new -addColumn
([NSBrowser -setPath:]): likewise and removed additional redisplay.
([NSBrowser -_createColumn]): method to create a new NSBrowserColumn.
([NSBrowser -setMaxVisibleColumns:]): use _createColumn
([NSBrowser -initWithFrame:]): likewise.
([NSBrowser -doClick:]): fixed selection problems.
([NSBrowser -selectRow:inColumn:]): fixed cell selection and perform
load of column if cell is not a leaf.
([NSBrowser -loadColumnZero]): use -addColumn to load column zero.
([NSBrowser -setLastColumn:]): check for min value of column.
([NSBrowser -reloadColumn:]): check with _lastColumnLoaded instead in
the column browser.
([NSBrowser -moveLeft:]): fixed an index out of bound exception when
it was selected the first column.
([NSBrowser -moveRight:]): does nothing if multiple cells are selected
or if the cell is a leaf.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@9938 72102866-910b-0410-8b05-ffd578937521
2001-05-13 20:59:21 +00:00
Fred Kiefer
096e3f4f4f New implementation of [useFont] and [set] which call methods
on the context.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@9928 72102866-910b-0410-8b05-ffd578937521
2001-05-12 12:37:02 +00:00
Fred Kiefer
3e34f4a97b New methods to set and use a font.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@9927 72102866-910b-0410-8b05-ffd578937521
2001-05-12 12:36:20 +00:00
Fred Kiefer
89e1bf0de7 Made [NSFont fontInfo] a public method to use it in the backend.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@9926 72102866-910b-0410-8b05-ffd578937521
2001-05-12 12:34:42 +00:00
Adam Fedor
59a548942b Add check for tiff
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@9922 72102866-910b-0410-8b05-ffd578937521
2001-05-11 22:23:11 +00:00
Adam Fedor
fc383e05d2 Check for sel.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@9895 72102866-910b-0410-8b05-ffd578937521
2001-05-08 02:42:45 +00:00
Fred Kiefer
d76f980997 For NSMenuWindowTitleView [drawRect:] use string
drawing method instead of PSshow().


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@9890 72102866-910b-0410-8b05-ffd578937521
2001-05-07 22:54:00 +00:00
Fred Kiefer
8650307f00 Adopted to programming standard. In [drawLabel:inRect:] use string
drawing method instead of PSshow().


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@9889 72102866-910b-0410-8b05-ffd578937521
2001-05-07 22:53:17 +00:00
Mirko Viviani
50cf187fad * Source/NSSavePanel.m ([NSSavePanel -browser:createRowsForColumn:
inMatrix:]): do not treat a file package a directory with an empty
extension.
* Source/NSMatrix.m ([NSMatrix -_mouseDownNonListMode:]): retain the
currentEvent. Fix to prevent theEvent to become nil.
Do not allow empty selection in NSRadioModeMatrix.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@9834 72102866-910b-0410-8b05-ffd578937521
2001-05-05 21:45:59 +00:00
Fred Kiefer
dedbc0c159 Made all the button, bezel and groove methods functions again.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@9781 72102866-910b-0410-8b05-ffd578937521
2001-05-04 18:25:59 +00:00
Richard Frith-Macdonald
ed14212586 Fix for apps providing services to self.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@9772 72102866-910b-0410-8b05-ffd578937521
2001-05-04 04:11:53 +00:00
Richard Frith-Macdonald
983262867b Minor fix for gcc-3CVS: ----------------------------------------------------------------------
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@9771 72102866-910b-0410-8b05-ffd578937521
2001-05-04 03:19:32 +00:00
Adam Fedor
4525b97466 Minor updates, documentation
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@9767 72102866-910b-0410-8b05-ffd578937521
2001-05-03 19:39:28 +00:00
Fred Kiefer
4d4ba3af8c Added missing functions and some dummy implementations.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@9754 72102866-910b-0410-8b05-ffd578937521
2001-05-01 21:20:11 +00:00
Fred Kiefer
01f6f990dc Added some methods for font size and one function for glyphs from
the MacOS X specification.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@9753 72102866-910b-0410-8b05-ffd578937521
2001-05-01 21:19:33 +00:00
Fred Kiefer
ff4548ce5d Implemented the button, bezel and groove drawing with
NSDrawTiledRects. The old implemention is still here. It should be
deleted later on.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@9749 72102866-910b-0410-8b05-ffd578937521
2001-04-30 17:43:34 +00:00
Fred Kiefer
2bb8bbe99c Moved implementation of drawing functions from xgps
backend to here. Corrected some of them.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@9743 72102866-910b-0410-8b05-ffd578937521
2001-04-29 22:30:52 +00:00
Fred Kiefer
e225933b16 Call GSWSetViewIsFlipped instead of GSWViewIsFlipped.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@9742 72102866-910b-0410-8b05-ffd578937521
2001-04-29 22:27:10 +00:00
Fred Kiefer
c37687a6f4 Moved the old text functions from backend to here.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@9741 72102866-910b-0410-8b05-ffd578937521
2001-04-29 22:26:13 +00:00
Fred Kiefer
e6588ee092 Undid last change, as this is now obsolete.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@9735 72102866-910b-0410-8b05-ffd578937521
2001-04-28 14:02:31 +00:00
Nicola Pero
8e481799f9 Fixed bug occurring when some rows were removed and some of them were
selected.  New code checks for it and deals with it.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@9703 72102866-910b-0410-8b05-ffd578937521
2001-04-25 20:40:46 +00:00
Mirko Viviani
1f2c4400ab * Source/NSMatrix.m ([NSMatrix -_mouseDownNonListMode:]): does not
performSelector is the mouse goes up in cell.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@9677 72102866-910b-0410-8b05-ffd578937521
2001-04-23 21:06:43 +00:00
Richard Frith-Macdonald
512bbbf9d8 Text storage fix.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@9667 72102866-910b-0410-8b05-ffd578937521
2001-04-23 09:32:45 +00:00
Fred Kiefer
d8c9b93041 Also replaced GMModel with NSBundle in [init].
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@9662 72102866-910b-0410-8b05-ffd578937521
2001-04-22 23:01:23 +00:00
Fred Kiefer
be89206db1 Added an [init] method, use this in [sharedColorPanel]. Replaced
reference to GMModel, with more general call on NSBundle. (This is
commented out, but some time in the futur we might use NIB files)


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@9661 72102866-910b-0410-8b05-ffd578937521
2001-04-22 23:00:40 +00:00
Fred Kiefer
69b40d2270 [initialize] call [NSUserDefaults standardUserDefaults] as a
workaround for the setlocal() problem. Otherwise colorFromString:
will fail later on for the system colours.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@9660 72102866-910b-0410-8b05-ffd578937521
2001-04-22 22:59:52 +00:00
Richard Frith-Macdonald
6b1e2ed8ff Fix for property lists color descriptions.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@9657 72102866-910b-0410-8b05-ffd578937521
2001-04-22 11:07:11 +00:00
Richard Frith-Macdonald
5d695fe3fe Fix for loading color lists from file.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@9656 72102866-910b-0410-8b05-ffd578937521
2001-04-22 10:44:40 +00:00
Richard Frith-Macdonald
b3856d6423 iPermit provision of services to self.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@9618 72102866-910b-0410-8b05-ffd578937521
2001-04-18 09:25:39 +00:00
Adam Fedor
7394190039 Set visible flag to NO on miniaturize
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@9595 72102866-910b-0410-8b05-ffd578937521
2001-04-17 03:17:23 +00:00
Mirko Viviani
f005f68b2c * Source/NSButtonCell.m ([NSButtonCell -drawInteriorWithFrame:
inView:]): fix mask if cell is highlighted and it isn't in off state.

* Source/NSCell.m ([NSCell -trackMouse:inRect:ofView:untilMouseUp:]):
set next cell state and send action after -stopTracking:

* Source/NSBrowser.m ([NSBrowser -keyDown:]): does nothing for arrow up
and down.
([NSBrowser -moveUp:]): removed.
([NSBrowser -moveDown:]): removed.
([NSBrowser -_performLoadOfColumn:]): fix matrix creation, enable
matrix autoscroll.
([NSBrowser -_performLoadOfColumn:]): implemented reusesColumns.

* Source/NSMatrix.m ([NSMatrix -keyDown:]): implemented keyboard
navigation.
([NSMatrix -moveUp:]): likewise.
([NSMatrix -moveDown:]): likewise.
([NSMatrix -moveLeft:]): likewise.
([NSMatrix -moveRight:]): likewise.
([NSMatrix -performClick:]): implemented.
([NSMatrix -mouseDown:]): scroll rect only if autoscroll is enabled,
do not hightlight a cell directly but use the matrix method.
Now it handles only NSListModeMatrix mode to reduce complexity
introduced by other modes.
([NSMatrix -_mouseDownNonListMode:]): fixed.
([NSMatrix -highlightCell:atRow:column:]): enable the cell dotted
outline.
([NSMatrix -drawCellAtRow:column:]): likewise.
([NSMatrix -drawRect:]): removed drawing of dotted outline. Rewritten
due to changes in -getRow:column:forPoint:
([NSMatrix -getRow:column:forPoint:]): set row and column to -1 if
point is not inside a cell.
([NSMatrix -_selectCell:atRow:column:]): use mnemonic value for cell
state, does not enable dotted outline and check for nil aCell.
([NSMatrix -selectTextAtRow:column:]): likewise.
([NSMatrix -_setState:highlight:startIndex:endIndex:]): use matrix
highlightCell: method and mnemonic for cell state.
([NSMatrix -deselectAllCells]): likewise.
([NSMatrix -selectAll:]): likewise.
([NSMatrix -setSelectionFrom:to:anchor:highlight:]): likewise.
([NSMatrix -performKeyEquivalent:]): select next cell state.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@9594 72102866-910b-0410-8b05-ffd578937521
2001-04-16 19:52:52 +00:00
Adam Fedor
b2937b7086 Add comments to releaseGState
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@9592 72102866-910b-0410-8b05-ffd578937521
2001-04-16 03:20:07 +00:00
Adam Fedor
7d43bc3311 release the gstate when invalidating coords
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@9591 72102866-910b-0410-8b05-ffd578937521
2001-04-16 03:18:04 +00:00
Adam Fedor
e197e9a3c4 Fix imgae compositing - intersect fromRect
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@9589 72102866-910b-0410-8b05-ffd578937521
2001-04-14 20:06:13 +00:00
Adam Fedor
1ff4d1c990 Load backend as a bundle.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@9580 72102866-910b-0410-8b05-ffd578937521
2001-04-13 20:04:04 +00:00
Fred Kiefer
f1ca42b9ea [initWithFrame:] removed superflous [setCell:] call, as this gets
one in the super implementation.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@9545 72102866-910b-0410-8b05-ffd578937521
2001-04-09 21:29:35 +00:00
Fred Kiefer
77b0f2bfb1 Corrected the handling of the cellClass so that every subclass of
NSControl, that uses a cell, has its own implementaion of
[cellClass] and [setCellClass].


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@9544 72102866-910b-0410-8b05-ffd578937521
2001-04-09 21:28:49 +00:00
Fred Kiefer
499f86c8df Added notifiaction strings from NSComboBox.m
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@9543 72102866-910b-0410-8b05-ffd578937521
2001-04-09 21:27:19 +00:00
Fred Kiefer
ca7d708943 Added aditional methods for text completion.
Corrected the handling of the cellClass so that every subclass of
NSControl, that uses a cell, has its own implementaion of
[cellClass] and [setCellClass].


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@9542 72102866-910b-0410-8b05-ffd578937521
2001-04-09 21:26:34 +00:00
Fred Kiefer
7630d53c8a Added aditional methods for text completion
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@9541 72102866-910b-0410-8b05-ffd578937521
2001-04-09 21:24:53 +00:00
Nicola Pero
29e5e5ea83 Use the public NSFileManager API to enumerate the contents of a directory,
so that the library is not broken when the internals of NSFileManager are
changed


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@9532 72102866-910b-0410-8b05-ffd578937521
2001-04-06 22:41:55 +00:00
Mirko Viviani
afec355a80 * Source/NSCell.m ([NSCell -drawInteriorWithFrame:inView:]): do not
check if the control that owns the cell is the first responder.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@9485 72102866-910b-0410-8b05-ffd578937521
2001-03-23 21:06:42 +00:00
Mirko Viviani
631fba3e97 * Source/NSBrowser.m ([NSBrowser -_unloadFromColumn:]): fix index out
of bound (patch by Enrico Sersale <enrico@imago.ro>)


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@9474 72102866-910b-0410-8b05-ffd578937521
2001-03-22 16:38:24 +00:00
Mirko Viviani
60b8f20ce4 * Source/NSButtonCell.m ([NSButtonCell -setCellAttribute:to:]):
implemented.
([NSButtonCell -cellAttribute:]): implemented.

* Source/NSPopUpButton.m ([NSPopUpButton -keyDown:]): implemented
keyboard selection.
([NSPopUpButton -resignFirstResponder]): implemented.
([NSPopUpButton -resignKeyWindow]): implemented.

* Source/NSPopUpButtonCell.m ([NSPopUpButtonCell
-drawInteriorWithFrame:inView:]): from -drawWithFrame:inView:

* Source/NSButton.m ([NSButton -becomeFirstResponder]): set cell first
responder.
([NSButton -resignFirstResponder]): likewise.
([NSButton -becomeKeyWindow]): likewise.
([NSButton -resignKeyWindow]): likewise.

* Source/NSBrowserCell.m ([NSBrowserCell -drawInteriorWithFrame:
inView:]): draw correct dotted box.

* Source/NSBrowser.m ([NSBrowser -becomeFirstResponder]): make first
responder the latest column.
([NSBrowser -acceptsFirstResponder]): accepts first responder status.
([NSBrowser -keyDown:]): handle tabs to select next/previous key view.
([NSBrowser -moveRight:]): make browser column the first responder.
([NSBrowser -moveUp:]): likewise.
([NSBrowser -moveDown:]): likewise.
([NSBrowser -moveLeft:]): likewise.
([NSBrowser -_unloadFromColumn:]): remove columns from superview and
array.
([NSBrowser -_remapColumnSubviews:]): set the correct first responder.

* Source/NSWindow.m ([NSWindow -sendEvent:]): retain/release first
responder for keyUp/keyDown events. Discard NSLeftMouseDown for closed
windows.
([NSWindow -dealloc]): release _originalResponder

* Source/NSView.m ([NSView -removeSubview:]): remove next responder.

* Source/NSCell.m ([NSCell -setUpFieldEditorAttributes:]): clear
selected range.
([NSCell -editWithFrame:inView:editor:delegate:event:]): redisplay
textObject after invoking mouseDown:
([NSCell -drawInteriorWithFrame:inView:]): draw dotted-line outline
when first responder.
([NSCell -setCellAttribute:to:]): implemented.

* Source/NSTextView.m ([NSTextView -moveUp:]): don't call
_illegalMovement: for the text field editor.
([NSTextView -moveDown:]): likewise.
([NSTextView -moveLeft:]): likewise.
([NSTextView -moveRight:]): likewise.

* Source/NSTextField.m ([NSTextField -textDidEndEditing:]): fixed
return/tab/backtab text movement code.

* Headers/gnustep/gui/NSGraphics.h: added NSDottedFrameRect prototype.

* Headers/gnustep/gui/NSMatrix.h: added ivars for dotted frame rect.
* Source/NSMatrix.m ([NSMatrix -selectCell:]): implemented.
([NSMatrix -_selectCell:atRow:column:]): new method.
([NSMatrix -selectCellAtRow:column:]): call _selectCell:atRow:column:
([NSMatrix -selectCellWithTag:]): likewise.
([NSMatrix -selectAll:]): Do not select disabled or editable cells.
([NSMatrix -textDidEndEditing:]): fixed return/tab/backtab text
movement code.
([NSMatrix -_selectNextSelectableCellAfterRow:column:]): don't select
disabled cells.
([NSMatrix -_selectPreviousSelectableCellBeforeRow:column:]): likewise.
([NSMatrix -_privateFrame:mode:numberOfRows:numberOfColumns:]): set
dottedRow and dottedColumn.
([NSMatrix -insertRow:withCells:]): likewise.
([NSMatrix -removeColumn:]): likewise.
([NSMatrix -removeRow:]): likewise.
([NSMatrix -mouseDown:]): likewise and discard disabled cells.
([NSMatrix -drawRect:]): set shows cell first responder.
([NSMatrix -becomeFirstResponder]): draw dotted box for cell.
([NSMatrix -resignFirstResponder]): likewise.
([NSMatrix -becomeKeyWindow]): likewise.
([NSMatrix -resignKeyWindow]): likewise.
([NSMatrix -_setNeedsDisplayDottedCell]): likewise.
([NSMatrix -selectTextAtRow:column:]): set shows cell first responder.
([NSMatrix -setState:atRow:column:]): likewise. Deselect previous
selected cell in radio mode.

* Source/NSSavePanel.m (createRowsForColumn:): use _gsSavePanelCompare:
and check extension against _requiredFileType and not "app", "bundle",
etc.
([NSString -_gsSavePanelCompare:]): filename compare.
([NSSavePanel -_initWithoutGModel]): set key view for keyboard
interaction.
([NSSavePanel -keyDown:]): removed.
([NSSavePanel -controlTextDidEndEditing:]): removed.

* Source/NSOpenPanel.m ([NSOpenPanel -_shouldShowExtension:isDir:]):
added isDir argument.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@9473 72102866-910b-0410-8b05-ffd578937521
2001-03-22 00:27:37 +00:00
Richard Frith-Macdonald
2bbfbf1bb5 Coding/decoding fixes
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@9469 72102866-910b-0410-8b05-ffd578937521
2001-03-21 08:09:58 +00:00
Fred Kiefer
c465e1eb7b Define concret subclasses of NSColor and moved code into this
subclasses.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@9466 72102866-910b-0410-8b05-ffd578937521
2001-03-21 00:11:15 +00:00
Fred Kiefer
95acf3e0cc Corrected two errors in [writeToFile:] introduced by the last
changes.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@9465 72102866-910b-0410-8b05-ffd578937521
2001-03-21 00:10:29 +00:00
Fred Kiefer
1e529a1d34 [containsPoint:] corrected and simplified a bit, but this still
needs a complete rework.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@9464 72102866-910b-0410-8b05-ffd578937521
2001-03-21 00:09:29 +00:00
Jonathan Gapen
5aaa58693c Modernize NSPrinter code.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@9458 72102866-910b-0410-8b05-ffd578937521
2001-03-19 23:34:36 +00:00
Nicola Pero
d32c118cf3 Commented out all empty assignments
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@9410 72102866-910b-0410-8b05-ffd578937521
2001-03-16 23:50:11 +00:00
Nicola Pero
40b3c49785 Only create the ./$(GNUSTEP_OBJ_DIR)/Parsers directory if it doesnt exist
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@9408 72102866-910b-0410-8b05-ffd578937521
2001-03-16 23:44:00 +00:00
Nicola Pero
f372a3a0c2 Standardized installation of headers
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@9407 72102866-910b-0410-8b05-ffd578937521
2001-03-16 23:43:17 +00:00
Nicola Pero
281cfbd030 Updated encoding names for change in the base library names
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@9347 72102866-910b-0410-8b05-ffd578937521
2001-03-13 20:42:10 +00:00
Nicola Pero
f7bc69d85c Fixed how angles are managed when drawing arcs: do it postscript-like
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@9308 72102866-910b-0410-8b05-ffd578937521
2001-03-07 13:09:22 +00:00
Adam Fedor
77aed0db2b Fix declarations
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@9304 72102866-910b-0410-8b05-ffd578937521
2001-03-06 03:29:55 +00:00
Nicola Pero
c76c32bc0f Fixes to appending an arc
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@9252 72102866-910b-0410-8b05-ffd578937521
2001-03-01 01:47:32 +00:00
Fred Kiefer
b7ebd82a87 [_initWithoutGModel] set target and action for the main colour well.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@9188 72102866-910b-0410-8b05-ffd578937521
2001-02-20 01:02:06 +00:00
Richard Frith-MacDonald
b5801d88f8 Tidyups
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@9186 72102866-910b-0410-8b05-ffd578937521
2001-02-19 20:50:49 +00:00
Fred Kiefer
cbf29dd632 [_initBackendWindow:] corrected the registration of drag types,
when a window gets realized. We have to use a copy here, as the
original will get changed.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@9163 72102866-910b-0410-8b05-ffd578937521
2001-02-19 00:39:28 +00:00
Richard Frith-MacDonald
3b6e2d911e Color dragging minor improvement.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@9162 72102866-910b-0410-8b05-ffd578937521
2001-02-18 18:10:35 +00:00
Richard Frith-MacDonald
7331c5e058 Modifiefd color well to act more like NeXTstep one
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@9160 72102866-910b-0410-8b05-ffd578937521
2001-02-18 15:53:19 +00:00
Nicola Pero
3740b93b42 Make the rectangle to copy in device space integral before copying
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@9155 72102866-910b-0410-8b05-ffd578937521
2001-02-18 15:09:15 +00:00
Nicola Pero
68d59304dd Fixed handling of first responder status to the document view
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@9151 72102866-910b-0410-8b05-ffd578937521
2001-02-17 20:39:38 +00:00
Fred Kiefer
069aab6aff Added methods to handle target and action.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@9146 72102866-910b-0410-8b05-ffd578937521
2001-02-14 22:50:06 +00:00
Adam Fedor
0e78dabbf9 Don't set uncaught except handler until after init
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@9125 72102866-910b-0410-8b05-ffd578937521
2001-02-12 04:48:22 +00:00
Richard Frith-MacDonald
82da0b3811 Support dropping of filenames onto an appicon
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@9122 72102866-910b-0410-8b05-ffd578937521
2001-02-10 06:58:20 +00:00
Nicola Pero
c8a8a98dab Fix for nil superview on solaris
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@9120 72102866-910b-0410-8b05-ffd578937521
2001-02-09 18:52:29 +00:00
Richard Frith-MacDonald
fbaa1522c3 Cenyter miniwindow title
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@9051 72102866-910b-0410-8b05-ffd578937521
2001-02-08 07:02:39 +00:00
Nicola Pero
2b722a30f8 Tidied
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@9049 72102866-910b-0410-8b05-ffd578937521
2001-02-08 00:00:32 +00:00
Nicola Pero
15ee05af34 Restore the selected cells in reload column
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@9046 72102866-910b-0410-8b05-ffd578937521
2001-02-07 23:13:32 +00:00
Nicola Pero
695d12c014 Tidied
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@9045 72102866-910b-0410-8b05-ffd578937521
2001-02-07 22:39:09 +00:00
Nicola Pero
28c73b4f89 Tidied
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@9044 72102866-910b-0410-8b05-ffd578937521
2001-02-07 22:32:54 +00:00
Nicola Pero
a54ada433d Removed hack to set splitview's subviews sizes right - no longer needed
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@9042 72102866-910b-0410-8b05-ffd578937521
2001-02-07 22:09:03 +00:00
Nicola Pero
f15e2802c0 Implemented adjusting subviews only the first time the splitview is
displayed; fixed some delegate messaging which was done the wrong way


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@9040 72102866-910b-0410-8b05-ffd578937521
2001-02-07 22:06:32 +00:00
Nicola Pero
b3b6f06e51 Tidied
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@9038 72102866-910b-0410-8b05-ffd578937521
2001-02-07 21:11:45 +00:00
Nicola Pero
b24794ed3c Tidied
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@9037 72102866-910b-0410-8b05-ffd578937521
2001-02-07 20:35:13 +00:00
Richard Frith-MacDonald
38e49853d5 Miniwindow style improvements.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@9018 72102866-910b-0410-8b05-ffd578937521
2001-02-07 11:17:38 +00:00
Richard Frith-MacDonald
339a6fb073 Fixed bug in handling position of window when selecting 'close' windows item.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@8979 72102866-910b-0410-8b05-ffd578937521
2001-02-06 08:36:13 +00:00
Fred Kiefer
387191e632 Reimplemented without using a GModel file.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@8973 72102866-910b-0410-8b05-ffd578937521
2001-02-05 01:23:25 +00:00
Fred Kiefer
45d7d1cce9 In [supportMaxColorSpaces] added converions from RGB to CMYK.
In [colorUsingColorSpaceName:device:] added convertion from named
colour.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@8972 72102866-910b-0410-8b05-ffd578937521
2001-02-05 01:22:43 +00:00
Nicola Pero
10b6a795ae Fixed selection in table with a single row
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@8965 72102866-910b-0410-8b05-ffd578937521
2001-02-02 22:41:57 +00:00
Nicola Pero
3cba3915cc Fixed selected the only column in a single column table
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@8952 72102866-910b-0410-8b05-ffd578937521
2001-01-31 01:42:31 +00:00
Michael Silva
ada6fa1740 *** empty log message ***
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@8949 72102866-910b-0410-8b05-ffd578937521
2001-01-30 21:18:20 +00:00
Adam Fedor
b7a6c1a1fc Reset the locale
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@8917 72102866-910b-0410-8b05-ffd578937521
2001-01-30 01:01:15 +00:00
Nicola Pero
284aef1ae9 Post appropriate notifications after the user finished dragging
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@8913 72102866-910b-0410-8b05-ffd578937521
2001-01-29 22:20:56 +00:00
Nicola Pero
494e75a247 Tidied
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@8912 72102866-910b-0410-8b05-ffd578937521
2001-01-29 21:54:14 +00:00
Nicola Pero
7db396b77a Fixed column for point when point lies on the column boundary;
unselect an already selected row on click only if shift is pressed


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@8910 72102866-910b-0410-8b05-ffd578937521
2001-01-29 21:47:27 +00:00
Nicola Pero
86640aaa94 Create directory AppKit rather than gnustep/AppKit to install headers
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@8892 72102866-910b-0410-8b05-ffd578937521
2001-01-29 19:49:44 +00:00
Nicola Pero
bb8a4b8574 Install headers in AppKit rather than gnustep/AppKit; include local
gui.make


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@8890 72102866-910b-0410-8b05-ffd578937521
2001-01-29 19:48:42 +00:00
Nicola Pero
55b1cd5681 rm GNUmakefile.local; install gui.make
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@8889 72102866-910b-0410-8b05-ffd578937521
2001-01-29 19:47:53 +00:00
Nicola Pero
85323abc73 Tidied
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@8867 72102866-910b-0410-8b05-ffd578937521
2001-01-28 23:01:25 +00:00
Nicola Pero
1fa7d45744 Update bounds origin upon setting frame
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@8865 72102866-910b-0410-8b05-ffd578937521
2001-01-28 22:57:55 +00:00
Nicola Pero
9780540807 Tidied
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@8864 72102866-910b-0410-8b05-ffd578937521
2001-01-28 22:35:48 +00:00
Nicola Pero
5e60fd57fd Fixed updating scrollers when the frame of the displayed view changes
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@8862 72102866-910b-0410-8b05-ffd578937521
2001-01-28 21:53:53 +00:00
Nicola Pero
7b6653631f Tidied
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@8854 72102866-910b-0410-8b05-ffd578937521
2001-01-28 20:26:55 +00:00
Nicola Pero
7e017633de Fix for boundary cases when determining if mouse is in a rect
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@8852 72102866-910b-0410-8b05-ffd578937521
2001-01-28 18:17:44 +00:00
Nicola Pero
dbbdfa3719 Implemented apple API extension allowing delegate to constrain divider
position to certain positions while dragging


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@8850 72102866-910b-0410-8b05-ffd578937521
2001-01-28 17:43:13 +00:00
Jonathan Gapen
c1c64fa436 Updates to use NSSearchPathForDirectoriesInDomains()
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@8848 72102866-910b-0410-8b05-ffd578937521
2001-01-28 12:26:36 +00:00
Nicola Pero
e212ad5013 Removed hack no longer needed
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@8845 72102866-910b-0410-8b05-ffd578937521
2001-01-28 03:12:23 +00:00
Nicola Pero
80fce0b75a Fixed replacing a non-flipped document view (such as nil) with a flipped
one (such as a matrix)


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@8844 72102866-910b-0410-8b05-ffd578937521
2001-01-28 03:11:57 +00:00
Nicola Pero
5816f7b5c4 Tidied comment
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@8843 72102866-910b-0410-8b05-ffd578937521
2001-01-27 15:14:51 +00:00
Nicola Pero
5e64aba48d Fixed position of new matrix
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@8841 72102866-910b-0410-8b05-ffd578937521
2001-01-27 15:12:50 +00:00
Nicola Pero
d3a76d36c2 Fixed to use properly the base exception handler when aborting
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@8837 72102866-910b-0410-8b05-ffd578937521
2001-01-27 13:20:51 +00:00
Nicola Pero
ca582f4d9f Implemented acceptsFirstMouse: so that you can drag with the first click
on the window


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@8835 72102866-910b-0410-8b05-ffd578937521
2001-01-27 12:57:06 +00:00
Nicola Pero
1c98e6fb81 Tidied
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@8834 72102866-910b-0410-8b05-ffd578937521
2001-01-27 12:53:19 +00:00
Nicola Pero
08072f4700 Prettified
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@8820 72102866-910b-0410-8b05-ffd578937521
2001-01-27 00:03:42 +00:00
Nicola Pero
76ea49fa2a Changed to use flipped coordinates as per spec; _autoresize_subviews = NO
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@8819 72102866-910b-0410-8b05-ffd578937521
2001-01-27 00:03:18 +00:00
Nicola Pero
5c29115a94 Sized fixing for nextish look
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@8818 72102866-910b-0410-8b05-ffd578937521
2001-01-27 00:02:16 +00:00
Nicola Pero
f97716f2d8 Tidied
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@8816 72102866-910b-0410-8b05-ffd578937521
2001-01-26 21:56:34 +00:00
Nicola Pero
3e85dfc918 Tidied
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@8815 72102866-910b-0410-8b05-ffd578937521
2001-01-26 18:42:16 +00:00
Richard Frith-MacDonald
5f2d75b783 Fix for glyph index immediately beyond glyph range
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@8812 72102866-910b-0410-8b05-ffd578937521
2001-01-26 17:01:43 +00:00
Richard Frith-MacDonald
35a0b834f8 Fixed typo
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@8811 72102866-910b-0410-8b05-ffd578937521
2001-01-26 12:16:59 +00:00
Richard Frith-MacDonald
4bfc058571 Added some sanity checking.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@8753 72102866-910b-0410-8b05-ffd578937521
2001-01-22 18:57:06 +00:00
Richard Frith-MacDonald
10a8c41a38 Layout manager glyph implementation ... initial hack complete.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@8749 72102866-910b-0410-8b05-ffd578937521
2001-01-22 18:13:43 +00:00
Fred Kiefer
ffdddc1887 Corrected some bugs. Opimized the concret subclass to use a GSIArray.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@8731 72102866-910b-0410-8b05-ffd578937521
2001-01-21 22:32:35 +00:00
Nicola Pero
326b2c9475 Rewritten scrolling not to attempt to copy non visible bits
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@8726 72102866-910b-0410-8b05-ffd578937521
2001-01-21 16:35:44 +00:00
Nicola Pero
dc86f93c1d Tidied
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@8723 72102866-910b-0410-8b05-ffd578937521
2001-01-21 14:55:07 +00:00
Nicola Pero
a6ca584182 Modified to allow changing menu font and size
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@8721 72102866-910b-0410-8b05-ffd578937521
2001-01-21 01:36:22 +00:00
Nicola Pero
0f1f883950 Modification to allow changing menu font and size
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@8720 72102866-910b-0410-8b05-ffd578937521
2001-01-21 01:35:36 +00:00
Fred Kiefer
8e9c5c2798 [transformBezierPath:] autorelease the returned object.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@8719 72102866-910b-0410-8b05-ffd578937521
2001-01-20 17:41:57 +00:00
Fred Kiefer
5ff870120f Almost complete rewrite. The abstract class implements now most of
the methods leaving only 9 methods to the concrete class. (And
the hit test should also go into the abstract class) Simplified
and corrected most methods.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@8718 72102866-910b-0410-8b05-ffd578937521
2001-01-20 17:41:22 +00:00
Richard Frith-MacDonald
69e71a4f06 Tidyup
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@8706 72102866-910b-0410-8b05-ffd578937521
2001-01-20 08:58:25 +00:00
Richard Frith-MacDonald
790e997914 More glyph attribute stuff
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@8705 72102866-910b-0410-8b05-ffd578937521
2001-01-19 23:22:16 +00:00
Nicola Pero
a7967b1511 Tidied
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@8687 72102866-910b-0410-8b05-ffd578937521
2001-01-18 23:04:04 +00:00
Richard Frith-MacDonald
bd467249b9 More glyph stuff
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@8670 72102866-910b-0410-8b05-ffd578937521
2001-01-17 22:11:52 +00:00
Nicola Pero
48d99b9d0c Fixed clicking with mouse on a column side and doing no dragging
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@8668 72102866-910b-0410-8b05-ffd578937521
2001-01-17 21:19:31 +00:00
Nicola Pero
d98e344a94 Tidied
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@8640 72102866-910b-0410-8b05-ffd578937521
2001-01-16 20:39:13 +00:00
Nicola Pero
8360e0ca42 Changed getMatrixFromTransform: to takeMatrixFromTransform: to be
consistent with method naming conventions


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@8620 72102866-910b-0410-8b05-ffd578937521
2001-01-16 13:09:31 +00:00
Nicola Pero
51b404929f Fixed logging exception when no graphics context exists
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@8618 72102866-910b-0410-8b05-ffd578937521
2001-01-16 12:36:32 +00:00
Nicola Pero
1ff9444b52 Cache the default notification center; tiny speedup in rebuilding
coordinates; fixed bug which would leave in certain conditions _bounds
and _boundsMatrix in an inconsistent state after a resize


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@8616 72102866-910b-0410-8b05-ffd578937521
2001-01-16 12:33:23 +00:00
Nicola Pero
fda6234a57 Fixed bug in getting path when a column had nothing selected in it
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@8615 72102866-910b-0410-8b05-ffd578937521
2001-01-16 12:32:19 +00:00
Nicola Pero
e9791f5e89 Remove scroller update in excess
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@8614 72102866-910b-0410-8b05-ffd578937521
2001-01-16 12:31:49 +00:00
Nicola Pero
5c5f8f4732 Cache whether it's opaque or not; minor changes
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@8613 72102866-910b-0410-8b05-ffd578937521
2001-01-16 12:31:22 +00:00
Nicola Pero
a2f769603a Added method to quickly copy the matrix from one transform to another
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@8610 72102866-910b-0410-8b05-ffd578937521
2001-01-16 12:30:02 +00:00
Nicola Pero
32915c1d25 Fixed bug in drawing text in menu titles
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@8608 72102866-910b-0410-8b05-ffd578937521
2001-01-16 12:23:17 +00:00
Richard Frith-MacDonald
83df4ad3b9 More glyph handling code
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@8606 72102866-910b-0410-8b05-ffd578937521
2001-01-15 21:48:18 +00:00
Nicola Pero
3ae06c1286 Changes for better cursor movement
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@8591 72102866-910b-0410-8b05-ffd578937521
2001-01-14 11:32:07 +00:00
Nicola Pero
953a5c5318 Added method to move cursor up or down to be implemented in subclasses
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@8590 72102866-910b-0410-8b05-ffd578937521
2001-01-14 11:29:48 +00:00
Nicola Pero
9e3cb35e61 Added method to move cursor up or down; fixed bug
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@8588 72102866-910b-0410-8b05-ffd578937521
2001-01-14 11:28:26 +00:00
Richard Frith-MacDonald
4d25305e2e A few text storage bugfixes
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@8585 72102866-910b-0410-8b05-ffd578937521
2001-01-13 20:33:32 +00:00
Nicola Pero
4506bb839a Attempt at making the panel run upon uncaught exceptions a bit more user
friendly by adding the word 'error' to the panel title


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@8582 72102866-910b-0410-8b05-ffd578937521
2001-01-13 13:44:40 +00:00
Richard Frith-MacDonald
fd61eea775 Tidied
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@8567 72102866-910b-0410-8b05-ffd578937521
2001-01-12 12:43:22 +00:00
Richard Frith-MacDonald
801d25ac87 Minor updates to glyph stuff
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@8566 72102866-910b-0410-8b05-ffd578937521
2001-01-12 12:32:32 +00:00
Nicola Pero
e35c3b51e9 Rewritten deleting
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@8562 72102866-910b-0410-8b05-ffd578937521
2001-01-11 23:32:49 +00:00
Richard Frith-MacDonald
fe14b19de7 Some work on glyph handling
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@8560 72102866-910b-0410-8b05-ffd578937521
2001-01-11 19:09:02 +00:00
Richard Frith-MacDonald
77a74143c2 removed unused header
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@8555 72102866-910b-0410-8b05-ffd578937521
2001-01-11 08:29:18 +00:00
Nicola Pero
3809ed26c2 Fixed infinite loop of recursive exception handler calls from locking up
my window system and forcing me to restart it


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@8553 72102866-910b-0410-8b05-ffd578937521
2001-01-10 22:37:29 +00:00
Nicola Pero
04a00a7269 Prefixed GSTextStorage ivars with underscore; implement length for speed
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@8552 72102866-910b-0410-8b05-ffd578937521
2001-01-10 20:20:47 +00:00
Richard Frith-MacDonald
0ac0237a1e Handle exceptions when graphics context isn't in place.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@8519 72102866-910b-0410-8b05-ffd578937521
2001-01-08 19:59:20 +00:00
Fred Kiefer
485b84e393 [_initWithoutGModel] make the size label non-selectable.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@8511 72102866-910b-0410-8b05-ffd578937521
2001-01-08 17:29:13 +00:00
Fred Kiefer
f5cce03392 In [supportMaxColorSpaces] corrected converions from RGB to HSB.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@8510 72102866-910b-0410-8b05-ffd578937521
2001-01-08 17:28:32 +00:00
Fred Kiefer
c1f712ee80 Small improvements.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@8503 72102866-910b-0410-8b05-ffd578937521
2001-01-08 01:12:31 +00:00
Fred Kiefer
3f961f1098 Better interaction with the current colour picker. [setTarget:]
don't retain target. In [sharedColorPanel] the picker mode is used
only to create the panel, not each time the panel is shown. Show
the alpha value multiplied by 100.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@8499 72102866-910b-0410-8b05-ffd578937521
2001-01-08 01:06:10 +00:00
Fred Kiefer
b2799ce60c In [dealloc] call [deactivate] for active colour wells.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@8498 72102866-910b-0410-8b05-ffd578937521
2001-01-08 01:05:32 +00:00
Fred Kiefer
47c5ba9a64 [setTarget:] don't retain target to avoid retain cycle in
NSScrollView. [initWithCoder:] release target after decoding.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@8497 72102866-910b-0410-8b05-ffd578937521
2001-01-08 01:04:58 +00:00
Fred Kiefer
b8a41ef24a Added new GS methods [concatenateWithMatrix:] and
[deltaPointInMatrixSpace:] to avoid the creation of a new
NSAffineTransform in the backend.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@8496 72102866-910b-0410-8b05-ffd578937521
2001-01-08 01:04:21 +00:00
Nicola Pero
44a4abdda9 Sizing improvements
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@8485 72102866-910b-0410-8b05-ffd578937521
2001-01-07 01:05:44 +00:00
Nicola Pero
aa91231c31 Improvements for replacing the text view with another one
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@8484 72102866-910b-0410-8b05-ffd578937521
2001-01-07 00:59:57 +00:00
Nicola Pero
0d14de6d9c Implemented textContainerChangeTextView:
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@8483 72102866-910b-0410-8b05-ffd578937521
2001-01-07 00:57:23 +00:00
Nicola Pero
0fe5dd2861 Added invalidation of text position during editing
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@8482 72102866-910b-0410-8b05-ffd578937521
2001-01-07 00:53:53 +00:00
Nicola Pero
b6038bc341 Tidied
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@8481 72102866-910b-0410-8b05-ffd578937521
2001-01-07 00:46:12 +00:00
Richard Frith-MacDonald
a6a81013c4 A few copy/paste fixes
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@8466 72102866-910b-0410-8b05-ffd578937521
2001-01-03 10:39:02 +00:00
Fred Kiefer
f15c6fb50b Added missing methods, restructured all the private methods, so
there are no changing methods left. Made systemColorWithName() a
function and optimized system color retrival.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@8459 72102866-910b-0410-8b05-ffd578937521
2000-12-28 23:42:56 +00:00
Fred Kiefer
b6214ee639 Added notifiaction string from NSColor.m
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@8458 72102866-910b-0410-8b05-ffd578937521
2000-12-28 23:42:18 +00:00
Fred Kiefer
21589c3965 Removed reference of NSColorPrivate.h
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@8457 72102866-910b-0410-8b05-ffd578937521
2000-12-28 23:41:53 +00:00
Fred Kiefer
7465643efd Simplified mask definition in [drawInteriorWithFrame:inView:] and
[cellSize].


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@8454 72102866-910b-0410-8b05-ffd578937521
2000-12-28 23:39:54 +00:00
Richard Frith-MacDonald
afc3dfd686 More selection fixes
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@8451 72102866-910b-0410-8b05-ffd578937521
2000-12-27 07:39:25 +00:00
Richard Frith-MacDonald
7fdaabcdde Selection fixes
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@8450 72102866-910b-0410-8b05-ffd578937521
2000-12-27 06:28:29 +00:00
Fred Kiefer
3088176c7a Dummy implementation for new methods.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@8444 72102866-910b-0410-8b05-ffd578937521
2000-12-26 21:43:27 +00:00
Fred Kiefer
a5b32e8ee8 Delegate all the new methods to the cell. Replaced all calls to
[display] with [setNeedsDisplay:] excuding those in [setState:]
and [setNextState:]. Removed the initXXX methods, as they were
doublicated code from super.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@8443 72102866-910b-0410-8b05-ffd578937521
2000-12-26 21:42:57 +00:00
Fred Kiefer
20a28ff6a0 Use the _default_context for all events and in dealloc.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@8435 72102866-910b-0410-8b05-ffd578937521
2000-12-24 14:09:03 +00:00
Fred Kiefer
4869a8775e Implemented [setTitleWithMnemonic:].
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@8433 72102866-910b-0410-8b05-ffd578937521
2000-12-24 14:07:58 +00:00
Fred Kiefer
f369ead740 Implemented [refusesFirstResponder] and [setRefusesFirstResponder:].
Changed [setEnabled:], [setAlignment:], [setFont:] and all
[setXXValue:] methods to conform to the spec. Removed the
[copyWithZone:] method.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@8431 72102866-910b-0410-8b05-ffd578937521
2000-12-24 14:07:06 +00:00
Fred Kiefer
e2080f1aa3 Dummy implementation for new methods.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@8430 72102866-910b-0410-8b05-ffd578937521
2000-12-24 14:06:06 +00:00
Fred Kiefer
31dbd85ecb Implemented [imageRepWithContentsOfURL:] and [imageRepsWithContentsOfURL:].
In [imageRepsWithContentsOfFile:] get all possible reps.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@8429 72102866-910b-0410-8b05-ffd578937521
2000-12-24 14:05:39 +00:00
Fred Kiefer
8dd31d83b4 Implemented [initWithBitmapHandle:], [initWithIconHandle:] and
[initWithContentsOfURL:]. [copyWithZone:] dont copy cached image reps.
Allways use [self representations], so that the representation is
loaded if needed.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@8428 72102866-910b-0410-8b05-ffd578937521
2000-12-24 14:05:12 +00:00
Fred Kiefer
003b893e23 In [drawInteriorWithFrame:inView:] use NSCompositeSourceOver as
the operator for imag composition not NSCompositeCopy. This
replacement may be necessary in other parts of the GUI as well!!!!


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@8424 72102866-910b-0410-8b05-ffd578937521
2000-12-23 14:22:16 +00:00
Fred Kiefer
43d41776c0 Adopted to changes in header file.
Moved code from [TIFFRepresentation] to
[TIFFRepresentationUsingCompression:factor:] and call this.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@8423 72102866-910b-0410-8b05-ffd578937521
2000-12-23 14:21:34 +00:00
Fred Kiefer
a10dcd826a Adopted to changes in header file.
Removed methods [drawAtPoint:] and [drawInRect:] so that the super
implementation gets used. In method [initWithSize:depth:separate:alpha:]
store alpha and bitspersample.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@8422 72102866-910b-0410-8b05-ffd578937521
2000-12-23 14:21:05 +00:00
Fred Kiefer
b0b2dd93f7 Adopted to changes in header file.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@8421 72102866-910b-0410-8b05-ffd578937521
2000-12-23 14:20:29 +00:00
Fred Kiefer
681da22a0e Adopted to changes in header file. General cleanup.
Removed obsolete backend declarations.
Move ivar fileName from GSRepDate to NSImage, as it is used only
once. This simplifies [_useFromFile:] and [_loadImageFilenames].
Implemented [compositeToPoint:fromRect:operation:] and
[dissolveToPoint:fromRect:fraction:] by calling the corresponding
function. Now the operator given to this methods is really used!


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@8420 72102866-910b-0410-8b05-ffd578937521
2000-12-23 14:19:23 +00:00
Nicola Pero
bb8c149fce Rewritten setting typing attributes from insertion point; tidied, minor
changes


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@8416 72102866-910b-0410-8b05-ffd578937521
2000-12-23 13:07:36 +00:00
Richard Frith-MacDonald
0ae0da7dad Handle apostrophes and hyphens within words.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@8415 72102866-910b-0410-8b05-ffd578937521
2000-12-23 07:10:27 +00:00
Nicola Pero
901d2114eb Implemented notifications to the delegate about changes in the selection
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@8412 72102866-910b-0410-8b05-ffd578937521
2000-12-22 19:08:29 +00:00
Nicola Pero
a53e0a5769 Implemented shift click; moved code around
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@8409 72102866-910b-0410-8b05-ffd578937521
2000-12-22 17:52:23 +00:00
Nicola Pero
85ff7509fc Work on drawing insertion point
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@8407 72102866-910b-0410-8b05-ffd578937521
2000-12-22 16:57:21 +00:00
Nicola Pero
f97b00a5b1 Added NSOldSelectedCharacterRange
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@8405 72102866-910b-0410-8b05-ffd578937521
2000-12-22 16:49:09 +00:00
Nicola Pero
e07f5fa8c9 Tidied
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@8401 72102866-910b-0410-8b05-ffd578937521
2000-12-21 17:47:51 +00:00
Nicola Pero
c8bfe7e399 Tidied
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@8400 72102866-910b-0410-8b05-ffd578937521
2000-12-21 17:39:42 +00:00
Nicola Pero
2a0c9fda52 Use layout manager's ivars for flags shared between textviews with the same
layout manager; fixed/implemented notifications, begin/end editing etc


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@8399 72102866-910b-0410-8b05-ffd578937521
2000-12-21 17:32:01 +00:00
Nicola Pero
8d3ffdfc63 Code for multiple text views
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@8398 72102866-910b-0410-8b05-ffd578937521
2000-12-21 17:29:51 +00:00
Nicola Pero
89fce18382 Fixed bug allowing buttons disabled but with a key equivalent to get first
responder status


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@8395 72102866-910b-0410-8b05-ffd578937521
2000-12-21 17:23:21 +00:00
Nicola Pero
3d77093190 Access ivar _refuses_first_responder directly.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@8394 72102866-910b-0410-8b05-ffd578937521
2000-12-21 17:21:27 +00:00
Nicola Pero
62797f6331 Added a little private method to allow implentation of NSTextView
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@8393 72102866-910b-0410-8b05-ffd578937521
2000-12-21 17:20:33 +00:00
Nicola Pero
ed69dee7f2 Tidyups, access some ivars directly, and a bug fix for scrolling
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@8386 72102866-910b-0410-8b05-ffd578937521
2000-12-20 22:56:40 +00:00
Nicola Pero
b1507ff3e2 Tidied
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@8385 72102866-910b-0410-8b05-ffd578937521
2000-12-20 22:55:30 +00:00
Nicola Pero
6455046227 Merged NSText code into NSTextView
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@8383 72102866-910b-0410-8b05-ffd578937521
2000-12-20 17:00:32 +00:00
Nicola Pero
6ab26e6943 Removed most delegate code now handled by NSTextView
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@8381 72102866-910b-0410-8b05-ffd578937521
2000-12-20 12:50:37 +00:00
Nicola Pero
7427870911 Added NSText notifications to delegate
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@8380 72102866-910b-0410-8b05-ffd578937521
2000-12-20 12:50:15 +00:00
Nicola Pero
de8df1c4f5 Moved some methods to NSTextView; removed some old methods; tidied
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@8378 72102866-910b-0410-8b05-ffd578937521
2000-12-19 22:37:28 +00:00
Nicola Pero
be3091ea03 Moved selectedRange and setSelectedRange: from NSText
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@8377 72102866-910b-0410-8b05-ffd578937521
2000-12-19 22:35:22 +00:00
Nicola Pero
a20166067f Fix in my last change, plus some verbose comments added
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@8375 72102866-910b-0410-8b05-ffd578937521
2000-12-19 21:20:39 +00:00
Nicola Pero
b89da5341a Indented comment
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@8374 72102866-910b-0410-8b05-ffd578937521
2000-12-19 21:09:21 +00:00
Nicola Pero
b867efaa01 Moved the string method to NSTextView
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@8372 72102866-910b-0410-8b05-ffd578937521
2000-12-19 18:45:52 +00:00
Nicola Pero
9a852c5fe4 Added code to share editing attributes and delegate between multiple
text views with the same layout manager


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@8371 72102866-910b-0410-8b05-ffd578937521
2000-12-19 18:45:19 +00:00
Nicola Pero
e3f6a413a0 Tidied some long comments
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@8368 72102866-910b-0410-8b05-ffd578937521
2000-12-19 15:47:24 +00:00
Nicola Pero
da6a352dd3 Imported some code from NSText; removed lots of methods already implemented
in NSText (the superclass)


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@8366 72102866-910b-0410-8b05-ffd578937521
2000-12-19 15:34:21 +00:00
Nicola Pero
a8b3637202 Removed code which belongs to NSTextView
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@8365 72102866-910b-0410-8b05-ffd578937521
2000-12-19 15:33:34 +00:00
Nicola Pero
d3c3d91e82 Moved some code from NSText
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@8360 72102866-910b-0410-8b05-ffd578937521
2000-12-18 22:07:28 +00:00
Nicola Pero
c77827b381 Made NSText an abstract class always allocating an instance of the
concrete subclass NSTextView


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@8359 72102866-910b-0410-8b05-ffd578937521
2000-12-18 22:06:53 +00:00
Richard Frith-MacDonald
247539f37b Fix logic error in attribute handling
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@8358 72102866-910b-0410-8b05-ffd578937521
2000-12-18 19:29:49 +00:00
Nicola Pero
b7a8dc9399 Tidied
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@8355 72102866-910b-0410-8b05-ffd578937521
2000-12-18 18:08:21 +00:00
Richard Frith-MacDonald
9835ced269 Range fix
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@8349 72102866-910b-0410-8b05-ffd578937521
2000-12-18 17:14:54 +00:00
Richard Frith-MacDonald
e514763173 Applied view resizing patches.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@8345 72102866-910b-0410-8b05-ffd578937521
2000-12-18 10:52:46 +00:00
Nicola Pero
86b2df02c9 Little tweak to keep number of concurrent typing dictionaries allocated
reasonably low


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@8342 72102866-910b-0410-8b05-ffd578937521
2000-12-17 11:57:23 +00:00
Nicola Pero
1bfc14cd38 Implemented double owning policy for the text network (ie, allocation
deallocation stuff)


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@8340 72102866-910b-0410-8b05-ffd578937521
2000-12-16 20:21:47 +00:00
Nicola Pero
abed70f622 Retain/release fix
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@8339 72102866-910b-0410-8b05-ffd578937521
2000-12-16 20:19:18 +00:00
Nicola Pero
c96deb1436 Retain/release fixes
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@8338 72102866-910b-0410-8b05-ffd578937521
2000-12-16 20:18:33 +00:00
Nicola Pero
120979e0e2 Retain/release fixes, and tidy up
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@8337 72102866-910b-0410-8b05-ffd578937521
2000-12-16 20:17:54 +00:00
Fred Kiefer
2c91a0f895 Moved the "not implemented yet" Panel to the shared instance
method of this class.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@8334 72102866-910b-0410-8b05-ffd578937521
2000-12-16 16:23:41 +00:00
Fred Kiefer
edb22721b2 Adopted to changes in header file. [initialize] Cache the
notification center and the NSAutoreleasePool class for the whole
	file. [finishLaunching] set the image before starting the icon
	view. Recognize file to open with flag @"NSOpen" beside @"GSFilePath".
	[dealloc] now also destoys the graphic context. [stop:] now stops
	the run loop, which may be restarted (but this will still reload
	the NIB file!). [setApplicationIconImage:] check if the
	_app_icon_window is there before setting its
	image. [orderFrontDataLinkPanel:] and [orderFrontHelpPanel:] moved
	the error message into the corresponding files. [terminate:] now
	directly stops the program with exit(0). Also did some general
	cleanup of code.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@8333 72102866-910b-0410-8b05-ffd578937521
2000-12-16 16:22:31 +00:00
Nicola Pero
24b3d9ce47 Implemented copyWithZone
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@8330 72102866-910b-0410-8b05-ffd578937521
2000-12-16 13:56:25 +00:00
Nicola Pero
ac3979e8f4 Updated for ivar change; attributed strings are now treated differently
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@8329 72102866-910b-0410-8b05-ffd578937521
2000-12-16 13:55:28 +00:00
Nicola Pero
8cce6d579a Prefixed all ivars with underscores; fixed invalidated range
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@8326 72102866-910b-0410-8b05-ffd578937521
2000-12-16 02:21:59 +00:00
Nicola Pero
0cec48542b Tidy up
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@8325 72102866-910b-0410-8b05-ffd578937521
2000-12-16 02:03:03 +00:00
Nicola Pero
352ef9339a Optimizations
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@8321 72102866-910b-0410-8b05-ffd578937521
2000-12-13 23:19:57 +00:00
Nicola Pero
6284321acb Fixed memory leak
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@8320 72102866-910b-0410-8b05-ffd578937521
2000-12-13 23:19:17 +00:00
Nicola Pero
6d3e255397 Prefixed all NSParagraphStyle and NSTextTab ivars with underscores
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@8313 72102866-910b-0410-8b05-ffd578937521
2000-12-12 21:14:00 +00:00
Nicola Pero
ca75f8eb2d Do not draw in deferred windows
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@8311 72102866-910b-0410-8b05-ffd578937521
2000-12-12 18:45:22 +00:00
Nicola Pero
af894fe8c4 Bug fix for recent change in NSActionCell
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@8309 72102866-910b-0410-8b05-ffd578937521
2000-12-12 17:15:23 +00:00
Nicola Pero
96422627fd Left align edited text.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@8308 72102866-910b-0410-8b05-ffd578937521
2000-12-12 17:13:05 +00:00
Nicola Pero
c332a68115 Do not copy deeply ivars when copying
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@8307 72102866-910b-0410-8b05-ffd578937521
2000-12-12 17:12:16 +00:00
Nicola Pero
bb4466e3b6 When copying, only make a superficial copy of ivars
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@8306 72102866-910b-0410-8b05-ffd578937521
2000-12-12 17:11:21 +00:00
Nicola Pero
01360a699c When copying cells, do a superficial copy
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@8305 72102866-910b-0410-8b05-ffd578937521
2000-12-12 17:09:32 +00:00
Nicola Pero
371286e8cb Tidyups
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@8304 72102866-910b-0410-8b05-ffd578937521
2000-12-12 16:38:04 +00:00
Fred Kiefer
eac0e25fd7 Remove initialisation and copy method, as this were mere super
calls. Added getter methods with validation.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@8281 72102866-910b-0410-8b05-ffd578937521
2000-12-08 01:20:03 +00:00
Fred Kiefer
aef403cffa Moved the initialisation of the _typingAttributes from the init
method to its first use.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@8280 72102866-910b-0410-8b05-ffd578937521
2000-12-08 01:19:38 +00:00
Fred Kiefer
e7ea15ff46 Added coding methods.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@8276 72102866-910b-0410-8b05-ffd578937521
2000-12-08 01:17:22 +00:00
Fred Kiefer
339c81cdff Removed super calls from coding methods to avoid compiler warning.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@8272 72102866-910b-0410-8b05-ffd578937521
2000-12-07 00:23:45 +00:00
Fred Kiefer
db512aaaf8 [contextHelpForKey:] replaced nil by NULL to avoid compiler warning.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@8271 72102866-910b-0410-8b05-ffd578937521
2000-12-07 00:23:20 +00:00
Fred Kiefer
86b501a3ce Made all predefined fonts redefinable and removed #ifdef.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@8270 72102866-910b-0410-8b05-ffd578937521
2000-12-07 00:22:51 +00:00
Fred Kiefer
c2f8b2e407 Adopted to changes in NSCell.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@8265 72102866-910b-0410-8b05-ffd578937521
2000-12-07 00:20:17 +00:00
Fred Kiefer
d5b8faad6d Implemented a load of missing methods and adopted all subclasses to
this changes. (Including copying and coding) This breaks archived cells!


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@8264 72102866-910b-0410-8b05-ffd578937521
2000-12-07 00:13:30 +00:00
Richard Frith-MacDonald
28e06375b0 Remove unused var
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@8262 72102866-910b-0410-8b05-ffd578937521
2000-12-06 19:52:18 +00:00
Nicola Pero
18ddb109ce Fixed problem with exposed rect being confused with bounds
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@8260 72102866-910b-0410-8b05-ffd578937521
2000-12-06 16:48:51 +00:00
Nicola Pero
71527b54da Patch from Georg Fleischmann removing release in excess; include file to
avoid compiler warnings; added copyright notice


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@8182 72102866-910b-0410-8b05-ffd578937521
2000-11-23 10:17:47 +00:00
Fred Kiefer
c46694c404 Use system fonts, not explicit names.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@8171 72102866-910b-0410-8b05-ffd578937521
2000-11-21 19:23:21 +00:00
Fred Kiefer
dd30b76aec Added more graphical elements, any functionality is still missing.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@8170 72102866-910b-0410-8b05-ffd578937521
2000-11-21 19:22:45 +00:00
Fred Kiefer
6f5e42e1d1 Split up in three classes added primitiv printing in file
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@8169 72102866-910b-0410-8b05-ffd578937521
2000-11-21 19:22:08 +00:00
Adam Fedor
eee86903f2 Check id
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@8116 72102866-910b-0410-8b05-ffd578937521
2000-11-15 05:02:06 +00:00
Fred Kiefer
1b7e190b3e Started implementation of printing.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@8107 72102866-910b-0410-8b05-ffd578937521
2000-11-13 15:19:00 +00:00
Fred Kiefer
0916c83f58 Implemented [print:], [fax:], [dataWithEPSInsideRect:].
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@8105 72102866-910b-0410-8b05-ffd578937521
2000-11-13 15:18:11 +00:00
Fred Kiefer
c0f395f492 Implemented [print:], [fax:], [dataWithEPSInsideRect:] and [writeEPSInsideRect:toPasteboard:].
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@8104 72102866-910b-0410-8b05-ffd578937521
2000-11-13 15:17:24 +00:00
Fred Kiefer
d08bdb8b6a Added method [copyWithZone:].
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@8103 72102866-910b-0410-8b05-ffd578937521
2000-11-13 15:16:40 +00:00
Richard Frith-MacDonald
17ef6f2a6b Memory usage improvements
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@8099 72102866-910b-0410-8b05-ffd578937521
2000-11-13 11:54:58 +00:00
Fred Kiefer
153be7035b [loadNibNamed:owner:] removed unused local variable file.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@8087 72102866-910b-0410-8b05-ffd578937521
2000-11-12 16:45:25 +00:00
Fred Kiefer
dacc328789 [finishLaunching] removed uneeded call
to loadGModel:owner: as this gets done in loadNibNamed:owner:.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@8086 72102866-910b-0410-8b05-ffd578937521
2000-11-12 16:44:37 +00:00
Fred Kiefer
f5a8d938aa Renamed the ivars of _GNULineLayoutInfo to correspond to those of
GSLineLayoutInfo. Call a few more abstract methods. Added
AutoreleasePool in [rebuildForRange:delta:inTextContainer:] to free
up memory.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@8081 72102866-910b-0410-8b05-ffd578937521
2000-11-12 13:54:54 +00:00
Nicola Pero
722719c680 Use Helvetica-Bold rather than Helvetica-BoldOblique for titles;
Helvetica-Bold looks much better


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@8071 72102866-910b-0410-8b05-ffd578937521
2000-11-09 10:06:25 +00:00
Fred Kiefer
c29b53732f In [setVerticallyResizable:] and [setHorizontallyResizable:] set the size of the text conatainer.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@8062 72102866-910b-0410-8b05-ffd578937521
2000-11-06 22:12:29 +00:00
Fred Kiefer
d8c43999c1 Get the fragmentRect used for layout from the text container
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@8061 72102866-910b-0410-8b05-ffd578937521
2000-11-06 22:11:26 +00:00
Adam Fedor
144ab50f30 Fix translation of scrolling document bounds
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@8042 72102866-910b-0410-8b05-ffd578937521
2000-11-06 05:00:17 +00:00
Fred Kiefer
e80400478a Moved all sizeToFit calls after text changes to
the layout manager.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@8039 72102866-910b-0410-8b05-ffd578937521
2000-11-05 16:31:20 +00:00
Fred Kiefer
cd85ae9c86 In [setWidthTracksTextView:] and
[setHeightTracksTextView:] make sure that the view post changes
and that notifications are only send once.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@8038 72102866-910b-0410-8b05-ffd578937521
2000-11-05 16:30:06 +00:00
Fred Kiefer
07b28f97da Added dealloc method. Implemented
[drawsBackground] and [setDrawsBackground:]. In [setDocumentView:]
get the background drawing from the document view. [drawRect:] and
[isOpaque] check the background drawing. Corrected [constrainScrollPoint:]
to respect the documentFrame origin. Implemented [autoscroll:]


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@8037 72102866-910b-0410-8b05-ffd578937521
2000-11-05 16:29:32 +00:00
Fred Kiefer
21b856060f Hand on background drawing to content view. In [setContentView:] call setDocumentView:
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@8036 72102866-910b-0410-8b05-ffd578937521
2000-11-05 16:28:50 +00:00
Fred Kiefer
eaeca6efb0 Call size to fit on view after layout changes.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@8033 72102866-910b-0410-8b05-ffd578937521
2000-11-05 16:21:47 +00:00
Gregory John Casamento
6d89487694 Adding modifications for NSSecureTextField. This is a partial
implementation which works at the same level as OPENSTEP 4.2.
The methods necessary to echo bullets to the screen will be
added later. (GJC)


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@8021 72102866-910b-0410-8b05-ffd578937521
2000-11-04 06:58:29 +00:00
Fred Kiefer
1cfbd9caf3 Set the TextConatainer to track its view
again. But switch this of if the view is scrollable.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@7997 72102866-910b-0410-8b05-ffd578937521
2000-11-03 00:22:15 +00:00
Fred Kiefer
83c9ff711e Added simple glyph cahracter mapping methods
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@7996 72102866-910b-0410-8b05-ffd578937521
2000-11-03 00:21:29 +00:00
Fred Kiefer
fd834fe526 Removed some 300 lines
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@7995 72102866-910b-0410-8b05-ffd578937521
2000-11-03 00:20:06 +00:00
Richard Frith-MacDonald
c4d502e70f Fix error in function name
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@7951 72102866-910b-0410-8b05-ffd578937521
2000-10-31 16:29:18 +00:00
Richard Frith-MacDonald
19e0fc3d15 Added some fixes for Apple runtime
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@7940 72102866-910b-0410-8b05-ffd578937521
2000-10-31 12:47:09 +00:00
Fred Kiefer
ca10da60f3 [setContainerSize:] only informs layout manager if really changed.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@7896 72102866-910b-0410-8b05-ffd578937521
2000-10-23 23:27:00 +00:00
Fred Kiefer
cf2cd53ca5 [buildUpTextNetwork:] The text container no
longer tracks its view by default.
[initWithFrame:textContainer:] the view is no longer resizable by default.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@7895 72102866-910b-0410-8b05-ffd578937521
2000-10-23 23:25:46 +00:00
Fred Kiefer
b682bebc80 _GNULineLayoutInfo has new ivar usedRect. Simplified the code a bit.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@7894 72102866-910b-0410-8b05-ffd578937521
2000-10-23 23:24:22 +00:00
Fred Kiefer
dbd69f759f Use NSASCIIStringEncoding instead of NSLatin1StringEncoding for RTF
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@7893 72102866-910b-0410-8b05-ffd578937521
2000-10-23 23:23:34 +00:00
Michael Silva
9bb6a7ddc6 more NSTab* related fixed
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@7887 72102866-910b-0410-8b05-ffd578937521
2000-10-23 07:42:34 +00:00
Michael Silva
43f024d2d7 Fixed NSTabView more. Yeah.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@7878 72102866-910b-0410-8b05-ffd578937521
2000-10-20 23:02:57 +00:00
Richard Frith-MacDonald
1ee0716c90 Clipview redisplay fix
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@7854 72102866-910b-0410-8b05-ffd578937521
2000-10-20 04:19:22 +00:00
Michael Silva
e9ea6379e4 Bugfixes for NSTabView
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@7852 72102866-910b-0410-8b05-ffd578937521
2000-10-19 22:47:09 +00:00
Fred Kiefer
0630943220 [runPageLayout:] use real panel.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@7832 72102866-910b-0410-8b05-ffd578937521
2000-10-16 22:53:39 +00:00
Fred Kiefer
57023039b9 Some basic implementation
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@7831 72102866-910b-0410-8b05-ffd578937521
2000-10-16 22:52:59 +00:00
Fred Kiefer
50bac4113c Change references to ivar info to _info.
[initPrintInfoDefaults] now works if there is no PrinterAdmin
resource.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@7830 72102866-910b-0410-8b05-ffd578937521
2000-10-16 22:52:32 +00:00
Adam Fedor
880129448d Window focus improvements
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@7827 72102866-910b-0410-8b05-ffd578937521
2000-10-16 19:20:32 +00:00
Fred Kiefer
7b3fe023bc Improved the memory handling in diverse methods.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@7821 72102866-910b-0410-8b05-ffd578937521
2000-10-15 20:55:38 +00:00
Nicola Pero
50f657f4c9 Prefixed ivar with underscore to keep it to compile
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@7804 72102866-910b-0410-8b05-ffd578937521
2000-10-13 10:03:36 +00:00
Fred Kiefer
fd3fe70d6a *** empty log message ***
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@7803 72102866-910b-0410-8b05-ffd578937521
2000-10-12 23:05:36 +00:00
Fred Kiefer
9a7641c764 Started reorganising the code.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@7802 72102866-910b-0410-8b05-ffd578937521
2000-10-12 23:03:30 +00:00
Fred Kiefer
b97acdeb63 Use NSLayoutManager instead of GSSimpleLayoutManager.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@7801 72102866-910b-0410-8b05-ffd578937521
2000-10-12 23:02:25 +00:00
Fred Kiefer
adf1534fc5 Added comments from .h file.
Return a GSSimpleLayoutManager from [allocWithZone].
Removed all compiler warnings.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@7800 72102866-910b-0410-8b05-ffd578937521
2000-10-12 23:01:43 +00:00
Fred Kiefer
a57534d8d3 Use explicit Private interface.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@7799 72102866-910b-0410-8b05-ffd578937521
2000-10-12 23:00:45 +00:00
Fred Kiefer
989c7da61f In [close] use removeDocument instead of _removeDocument.
[initWithContentsOfFile:ofType:] call [self init] instead of
[super init].


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@7798 72102866-910b-0410-8b05-ffd578937521
2000-10-12 23:00:09 +00:00
Nicola Pero
64691efc39 Reverted autorelease pool code
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@7785 72102866-910b-0410-8b05-ffd578937521
2000-10-11 09:58:36 +00:00
Richard Frith-MacDonald
0e3182adb9 Removed debug statements left in error
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@7775 72102866-910b-0410-8b05-ffd578937521
2000-10-09 12:39:24 +00:00
Richard Frith-MacDonald
e64d3a6a10 Fix for immutable dictionaries.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@7774 72102866-910b-0410-8b05-ffd578937521
2000-10-09 12:19:29 +00:00
Richard Frith-MacDonald
47df37ecfd Tidied
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@7768 72102866-910b-0410-8b05-ffd578937521
2000-10-09 04:03:32 +00:00
Fred Kiefer
45ce951b30 _setup() corrected a problem from the last change
Removed obsolete super calls in GSTextInfo coding methods.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@7766 72102866-910b-0410-8b05-ffd578937521
2000-10-08 20:30:08 +00:00
Fred Kiefer
a38bc02f22 Small correction in [fixParagraphStyleAttributeInRange]
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@7765 72102866-910b-0410-8b05-ffd578937521
2000-10-08 20:29:12 +00:00
Richard Frith-MacDonald
6d3aa3231b Minor portability fix.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@7764 72102866-910b-0410-8b05-ffd578937521
2000-10-08 20:03:24 +00:00
Fred Kiefer
1d5eb47a99 Convert glyphs to font encoding in drawRun().
Removed unused code.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@7699 72102866-910b-0410-8b05-ffd578937521
2000-10-02 17:49:43 +00:00
Fred Kiefer
5b30b8c04d [_initBackendWindow] always redisplay _wv
[setFrame:display:] set the frame of _wv directly if deferred.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@7698 72102866-910b-0410-8b05-ffd578937521
2000-10-02 17:48:46 +00:00
Fred Kiefer
c600d60eb6 In [display] check if the _visibleRect is still valid.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@7679 72102866-910b-0410-8b05-ffd578937521
2000-09-30 23:14:56 +00:00
Fred Kiefer
c147e15baf In [setTextView] let the text view send frame changed notifications.
Check text view in [_textViewFrameChanged:].
Don't add observer if text view is nil in
[setHeightTracksTextView:] and [setWidthTracksTextView:]


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@7678 72102866-910b-0410-8b05-ffd578937521
2000-09-30 23:14:12 +00:00
Fred Kiefer
96d2900f7d Switched to use the text container for size information.
Implemented [textContainerChangedGeometry].


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@7677 72102866-910b-0410-8b05-ffd578937521
2000-09-30 23:13:41 +00:00
Fred Kiefer
68a34ae2bd Removed additional method [setFirstTextView]
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@7676 72102866-910b-0410-8b05-ffd578937521
2000-09-30 23:13:07 +00:00
Fred Kiefer
7fba1bb097 Implemented [firstTextView].
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@7675 72102866-910b-0410-8b05-ffd578937521
2000-09-30 23:12:42 +00:00
Fred Kiefer
9aa55f49e5 Use text container implementation from super class.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@7674 72102866-910b-0410-8b05-ffd578937521
2000-09-30 23:11:50 +00:00
Fred Kiefer
552dcf4a84 Moved the text container handling from NSTextView to here and
corrected it.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@7673 72102866-910b-0410-8b05-ffd578937521
2000-09-30 23:11:15 +00:00
Adam Fedor
358af35b5f Deferred window fixups
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@7646 72102866-910b-0410-8b05-ffd578937521
2000-09-29 03:55:30 +00:00
Adam Fedor
77c74a324e Implementation of deferred windows
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@7623 72102866-910b-0410-8b05-ffd578937521
2000-09-27 22:18:34 +00:00
Adam Fedor
135259b7c2 Dont free colormap tables in PHOTOMETRIC_PALETTE
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@7620 72102866-910b-0410-8b05-ffd578937521
2000-09-27 15:16:42 +00:00
Lyndon Tremblay
35e02eb955 - Various very small optimizations.
- Tells the user about unhandled exceptions.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@7605 72102866-910b-0410-8b05-ffd578937521
2000-09-26 11:45:32 +00:00
Lyndon Tremblay
5f2683a975 Implemented AppKit exception handler
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@7598 72102866-910b-0410-8b05-ffd578937521
2000-09-26 09:01:58 +00:00
Nicola Pero
15af8c11e0 Fixed memory problem in copying
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@7596 72102866-910b-0410-8b05-ffd578937521
2000-09-26 08:46:30 +00:00
Lyndon Tremblay
d6114c1a73 Minor changes.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@7588 72102866-910b-0410-8b05-ffd578937521
2000-09-23 02:05:09 +00:00
Richard Frith-MacDonald
325a6086ac Tidy
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@7554 72102866-910b-0410-8b05-ffd578937521
2000-09-19 22:38:56 +00:00
Richard Frith-MacDonald
8bde8b0bb1 Internal storage fix.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@7553 72102866-910b-0410-8b05-ffd578937521
2000-09-19 22:36:30 +00:00
Fred Kiefer
915919b6a5 [initWithFrame:] switch of the creation of a NSLayoutManager.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@7545 72102866-910b-0410-8b05-ffd578937521
2000-09-18 23:34:02 +00:00
Fred Kiefer
c834c9bc02 Removed GSSimpleLayoutManager code and use new interface to it.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@7544 72102866-910b-0410-8b05-ffd578937521
2000-09-18 23:33:30 +00:00
Fred Kiefer
b92894add8 Include new file GSSimpleLayoutManager.m
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@7542 72102866-910b-0410-8b05-ffd578937521
2000-09-18 23:32:16 +00:00
Fred Kiefer
40aa76c126 New file extracted from NSText.m. This class is now a subclass of
NSLayoutManager and uses a similar interface.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@7541 72102866-910b-0410-8b05-ffd578937521
2000-09-18 23:31:39 +00:00