Commit graph

7285 commits

Author SHA1 Message Date
FredKiefer
4f62cb543b .
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
FredKiefer
e76f5a553a 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
FredKiefer
77040f849f 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
FredKiefer
e3d86a9c75 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
FredKiefer
064d218dcb 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
FredKiefer
4a1fc2d142 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
FredKiefer
85473aad5b 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
FredKiefer
5233be294c 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
CaS
3c77281106 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
nico
e17481fc27 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
gcasa
24507d5c22 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
gcasa
8470d45556 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
FredKiefer
81b9ca550e .
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
FredKiefer
1d13ab7591 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
FredKiefer
ac3a84afa9 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
pyr
4692c5010b 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
pyr
5b71f84e48 (-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
pyr
3b6372d5b9 (-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
pyr
2f714c88ef 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
pyr
0a9c9ae448 -_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
pyr
6a3eaa303d *** 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
pyr
e0147f04ee 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
nico
543a9aaba8 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
nico
06f4ffec7b 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
nico
2256c67cca 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
nico
fd5216d3cb 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
nico
ecf27ae3f1 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
CaS
a89644c81f 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
fedor
08b29397f3 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
pyr
fab5622347 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
pyr
41a4823c56 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
nico
b9e5788fcf 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
nico
0f13229ed9 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
fedor
d5ea92ddf4 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
fedor
c5b7db006a 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
fedor
234c006585 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
nico
caedf71059 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
nico
dd921c06dc 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
nico
eeefe3d6ed 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
nico
ee76841e28 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
nico
172505d7a0 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
nico
51113cb435 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
nico
dcb04d8145 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
nico
653e612deb 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
gcasa
d69ec7daa3 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
gcasa
5b7e041623 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
nico
b262a92c0d 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
nico
ec863457b0 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
nico
616ecede23 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
nico
84cfabd247 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