Commit graph

6027 commits

Author SHA1 Message Date
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
5c1e66fa58 Keyboard navigation and font panel improvements
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@10192 72102866-910b-0410-8b05-ffd578937521
2001-06-16 11:10:09 +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
409c03f71b Restored loading of png (and generally non-tiff) images
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@10172 72102866-910b-0410-8b05-ffd578937521
2001-06-12 22:22:34 +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
66f83dcc61 Fixed for resizing of NSBrowser
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@10158 72102866-910b-0410-8b05-ffd578937521
2001-06-10 17:40:03 +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
92ddc70992 Little debugging help added to nscell
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@10155 72102866-910b-0410-8b05-ffd578937521
2001-06-10 16:14:41 +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
ac84b0b548 .
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@10142 72102866-910b-0410-8b05-ffd578937521
2001-06-09 23:37:04 +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
fc284cf51b Tidied some code in NSCell.m
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@10134 72102866-910b-0410-8b05-ffd578937521
2001-06-09 01:37:06 +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
8599a33227 Improved message
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@10132 72102866-910b-0410-8b05-ffd578937521
2001-06-09 01:23:16 +00:00
Nicola Pero
165f83d120 Set version variables in makefile so that calling makefiles can determine
which gui library version they are using


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@10131 72102866-910b-0410-8b05-ffd578937521
2001-06-09 01:18:43 +00:00
Nicola Pero
60d084066c Regenerated
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@10130 72102866-910b-0410-8b05-ffd578937521
2001-06-09 01:15:43 +00:00
Nicola Pero
f2dadb68a2 Moved to gui.make.in
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@10129 72102866-910b-0410-8b05-ffd578937521
2001-06-09 01:14:36 +00:00
Nicola Pero
db249cdc53 Check for version, and generate gui.make
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@10128 72102866-910b-0410-8b05-ffd578937521
2001-06-09 01:13:58 +00:00
Nicola Pero
50b65c66a1 New file
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@10127 72102866-910b-0410-8b05-ffd578937521
2001-06-09 01:13:15 +00:00
Nicola Pero
6ec0f885b5 Tidied macro syntax to work better with newer compilers
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@10123 72102866-910b-0410-8b05-ffd578937521
2001-06-08 23:37:49 +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
51b1d81a60 .
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@10120 72102866-910b-0410-8b05-ffd578937521
2001-06-08 16:45:17 +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
e82af119fb .
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@10115 72102866-910b-0410-8b05-ffd578937521
2001-06-07 21:56:58 +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
cd17aabe87 .
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@10105 72102866-910b-0410-8b05-ffd578937521
2001-06-07 14:25:30 +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
7c3852cea6 *** empty log message ***
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@10094 72102866-910b-0410-8b05-ffd578937521
2001-06-06 18:11:52 +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
4a0dd2c75b Added method missing in NSPopUpButtonCell
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@10081 72102866-910b-0410-8b05-ffd578937521
2001-06-06 01:29:44 +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
664f7ee0b5 .
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@10073 72102866-910b-0410-8b05-ffd578937521
2001-06-04 16:26:12 +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