Commit graph

2435 commits

Author SHA1 Message Date
Fred Kiefer
9ddbce9285 .
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@10607 72102866-910b-0410-8b05-ffd578937521
2001-07-28 22:40:53 +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
01e3621b4e Added declarations for new methods in specification
([noteNewRecentDocument:], [validateUserInterfaceItem:],
[closeAllDocumentsWithDelegate:didCloseAllSelector:contextInfo:],
[reviewUnsavedDocumentsWithAlertTitle:...contextInfo:]).


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@10605 72102866-910b-0410-8b05-ffd578937521
2001-07-28 22:39:31 +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
d380574ab7 Added declarations for new methods in specification. Some of this
where already present in the code.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@10603 72102866-910b-0410-8b05-ffd578937521
2001-07-28 22:38:02 +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
Fred Kiefer
cc54cd19b4 Include NSUserInterfaceValidation.h.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@10601 72102866-910b-0410-8b05-ffd578937521
2001-07-28 22:36:38 +00:00
Fred Kiefer
c392fce357 New header file with protocols NSValidatedUserInterfaceItem and
NSUserInterfaceValidations.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@10600 72102866-910b-0410-8b05-ffd578937521
2001-07-28 22:35:45 +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
949f20149f Added entry for changes made to NSSpellServer, NSSpellChecker and GSspell.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@10542 72102866-910b-0410-8b05-ffd578937521
2001-07-24 04:32:51 +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
d46026370e .
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@10540 72102866-910b-0410-8b05-ffd578937521
2001-07-23 22:59:38 +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
Fred Kiefer
023c5e26bb Prefixed ivars with underscore. Added missing method
[initWithImage:foregroundColorHint:backgroundColorHint:hotSpot].


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@10538 72102866-910b-0410-8b05-ffd578937521
2001-07-23 22:58:13 +00:00
Pierre-Yves Rivaille
103b3af141 Source/NSPopUpItemCell.m & Source/NSMenuItemCell.m updates
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@10537 72102866-910b-0410-8b05-ffd578937521
2001-07-23 14:33:25 +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
625e6aa5f9 Modification in Source/NSFontPanel.m
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@10534 72102866-910b-0410-8b05-ffd578937521
2001-07-23 14:08:37 +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
59a65d43d2 *** empty log message ***
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@10532 72102866-910b-0410-8b05-ffd578937521
2001-07-23 13:55:17 +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
6deb23c85f Use ASSIGN in NSWindowController init* methods
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@10530 72102866-910b-0410-8b05-ffd578937521
2001-07-20 09:20:29 +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
ce2f2f1ed3 Fixed window controller being retained by the window, causing app crashes
leakages on closing the window etc


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@10527 72102866-910b-0410-8b05-ffd578937521
2001-07-20 09:17:19 +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
6d4850d4c2 2001-07-17 Pierre-Yves Rivaille <pyrivail@ens-lyon.fr>
* Source/NSPanel.m ([GSAlertPanel
	-initWithContentRect:styleMask:backing;defer:screen]): remove
	previous key view chain implementation.
	* Source/NSPanel.m ([GSAlertPanel
	-setTitle:message:def:alt:other]): new key view chain
	initialization code.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@10507 72102866-910b-0410-8b05-ffd578937521
2001-07-17 12:55:34 +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
29123801c9 Work around bug in 2.91.66 GCC compiler which was crashing upon
compiling NSView.m


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@10485 72102866-910b-0410-8b05-ffd578937521
2001-07-16 10:27:22 +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
6816f238ec Add CC check
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@10436 72102866-910b-0410-8b05-ffd578937521
2001-07-11 19:22:07 +00:00
Adam Fedor
2eeb71516a Standardize make
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@10335 72102866-910b-0410-8b05-ffd578937521
2001-07-09 03:24:07 +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
dc01dcfa8c Very simple and ineffective optms in drawing menu title and popupbuttons
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@10284 72102866-910b-0410-8b05-ffd578937521
2001-07-03 18:17:06 +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
eea27a7320 Include NSWindowController.h in AppKit.h
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@10270 72102866-910b-0410-8b05-ffd578937521
2001-06-29 10:20:22 +00:00
Nicola Pero
747ef50da5 Include NSWindowController.h
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@10269 72102866-910b-0410-8b05-ffd578937521
2001-06-29 10:19:58 +00:00
Nicola Pero
e257334240 Indendation changes; removed a useless @class NSArray; declaration
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@10268 72102866-910b-0410-8b05-ffd578937521
2001-06-29 10:17:38 +00:00
Gregory John Casamento
fabc394c4a Updating ChangeLog for the SpellPanel.gmodel file modification. It was apparently locked when I first tried to commit it.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@10260 72102866-910b-0410-8b05-ffd578937521
2001-06-26 03:49:47 +00:00
Gregory John Casamento
59a38de8ba Changed the value of the hidesOnDeactivate flag for the spell panel to YES so that the panel will disappear
when the application's key window is no longer selected.  This is consistent with behavior observed under
OpenStep.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@10259 72102866-910b-0410-8b05-ffd578937521
2001-06-26 03:36:03 +00:00
Nicola Pero
8b49485600 Cleaned AppKit/AppKit.h a bit by removing useless @class directives
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@10244 72102866-910b-0410-8b05-ffd578937521
2001-06-25 09:57:32 +00:00
Nicola Pero
edaa1ecd49 Removed unused useless @class declarations
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@10243 72102866-910b-0410-8b05-ffd578937521
2001-06-25 09:56:54 +00:00
Nicola Pero
3610e8f81d Define GNUSTEP_GUI_VERSION and similia in header files
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@10242 72102866-910b-0410-8b05-ffd578937521
2001-06-25 09:54:29 +00:00
Nicola Pero
4cda282a26 Include GSVersion.h to define GNUSTEP_GUI*_VERSION
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@10241 72102866-910b-0410-8b05-ffd578937521
2001-06-25 09:53:52 +00:00