Commit graph

58 commits

Author SHA1 Message Date
fedor
ce41d782c1 Revert library license version to 2 until applications can be converted
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@26619 72102866-910b-0410-8b05-ffd578937521
2008-06-10 04:01:49 +00:00
fredkiefer
e25cceb710 Change all files to use GPL 3 and LGPL 3.
Prepare for next release.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@25536 72102866-910b-0410-8b05-ffd578937521
2007-10-29 21:16:17 +00:00
fredkiefer
1d293756e0 Add new MacOSX 10.4 methods and constants to NSWindow. Requires
recompilation of all applications!


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@25469 72102866-910b-0410-8b05-ffd578937521
2007-09-09 12:19:01 +00:00
rfm
cc3cafa874 tidyups and minor theme tiling updates.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@23871 72102866-910b-0410-8b05-ffd578937521
2006-10-15 08:34:47 +00:00
gcasa
d567eebe96 Additional keyed archiving implementation.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@23026 72102866-910b-0410-8b05-ffd578937521
2006-06-04 05:16:37 +00:00
Fabien_
1e73aab601 Improved documentation
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@22153 72102866-910b-0410-8b05-ffd578937521
2005-12-05 15:56:03 +00:00
fedor
db3c52eab8 Update FSF Address.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@21259 72102866-910b-0410-8b05-ffd578937521
2005-05-26 02:52:46 +00:00
alexm
8b0730a303 2005-01-21 21:43 Alexander Malmberg <alexander@malmberg.org>
Various whitespace cleanups, comment type fixes, and changes
	to avoid warnings from recent versions of gcc.

	* Headers/Additions/GNUstepGUI/GSToolbar.h (-_toolbars): Declare.
	* Source/NSWindow+Toolbar.m: Remove conflicting declaration of
	[NSToolbar -_toolbars].

	* Headers/Additions/GNUstepGUI/GSServicesManager.h,
 	Source/GSServicesMananger.m (-item2title:, -validateMenuItem:):
	Adjust argument types.
	* Headers/AppKit/NSMenu.h (-validateMenuItem:): Adjust argument
	type.

	* Source/NSTextView.m (-sizeToFit): Don't use size uninitialized
	if neither resizable flags is set.
	(-insertText:): Adjust argument type.
	* Headers/AppKit/NSResponder.h, Source/NSResponder.m (-insertText:):
	Adjust argument type. Document.

	* Headers/AppKit/NSView.h: Change type of ivar _window to NSWindow *.

	* Source/GSTitleView.m (-mouseDown:): Always initialize
	startWindowOrigin.
	* Source/NSApplication.m (-setApplicationIconImage:): Add casts
	to avoid warnings.
	* Source/NSCell.m (-cellSize): Add default: case.
	* Source/NSPasteboard.m
	([GSFiltered -pasteboard:provideDataForType:]): Detect and warn if we
	can't find a filter that will get us the desired type.
	* Source/NSProgressIndicator.m: Comment out unused variable 'images'.
	* Source/NSBezierPath.m: Declare GSBezierPath fully before using it.
	(-bezierPathByFlatteningPath, -bezierPathByReversingPath): Make sure
	variables are always initialized.

	* Source/NSMenuView.m,
	* Source/NSPrintOperation.m,
	* Source/NSSplitView.m,
	* Source/NSTableHeaderView.m: Make sure variables are always
	initialized.

	* Source/NSBox.m,
	* Source/NSImageview.m,
	* Source/NSText.m,
	* Source/NSTextStorage.m: Add missing includes.

	* Source/GSKeyBindingTable.m,
	* Source/GSLayoutManager.m,
	* Source/NSBitmapImageRep+PNM.m,
	* Source/NSBundleAdditions.m,
	* Source/NSLayoutManager.m,
	* Source/nsimage-tiff.h,
	* Source/tiff.m,
	* Headers/Additions/GNUstepGUI/GSDisplayServer.h,
	* Source/GSDisplayServer.m: Change signedness of various variables.

	* Source/NSPanel.m (-sendEvent:): Remove.
	* Source/NSWindow.m (-becomesKeyOnlyIfNeeded): New method.
	(-_sendEvent:becomesKeyOnlyIfNeeded:): Remove. Move code ...
	(-sendEvent:): ... here. Use -becomesKeyOnlyIfNeeded instead
	of the argument.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@20590 72102866-910b-0410-8b05-ffd578937521
2005-01-21 20:39:18 +00:00
FredKiefer
b2b13c4b60 Moved code around.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@19697 72102866-910b-0410-8b05-ffd578937521
2004-07-09 00:06:39 +00:00
alexm
2ca7818d89 Reorganize top-level view handling and implement -gui-managed window decorations.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@19687 72102866-910b-0410-8b05-ffd578937521
2004-07-06 20:20:31 +00:00
stoyan
190c5cd3b1 Use setHighlightsBy: for default button in alert panel.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@18249 72102866-910b-0410-8b05-ffd578937521
2003-12-01 18:29:08 +00:00
stoyan
75d9c88667 Center title and message text
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@18243 72102866-910b-0410-8b05-ffd578937521
2003-11-30 23:59:23 +00:00
alexm
0aeb5a5986 Ignore most events sent to windows that have been ordered out. Synchronize [NSPanel -sendEvent:] and [NSWindow -sendEvent:].
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@18215 72102866-910b-0410-8b05-ffd578937521
2003-11-26 23:02:20 +00:00
ayers
9732999fd8 Header reorganization - Please refer to ChangeLog
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@17408 72102866-910b-0410-8b05-ffd578937521
2003-07-31 23:52:10 +00:00
FredKiefer
1058584063 Commented out unused variables WTitleHeight, ScrollMinSize,
MessageMinHeight.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@17004 72102866-910b-0410-8b05-ffd578937521
2003-06-23 15:48:01 +00:00
fedor
fc402789db Include <> -> ""
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@16917 72102866-910b-0410-8b05-ffd578937521
2003-06-13 15:01:12 +00:00
FredKiefer
9f5d0e9ddc Use controlBackgroundColor instead of lightGrayColor. Patch by Matt
Rice (matt@vespertine.pc.ashlandfiber.net).


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@16539 72102866-910b-0410-8b05-ffd578937521
2003-04-25 22:51:02 +00:00
fedor
feaf4828d5 More focus fixes
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@14800 72102866-910b-0410-8b05-ffd578937521
2002-10-20 01:48:55 +00:00
alexm
61cc498161 Handle becomesKeyOnlyIfNeeded in NSPanel properly.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@14508 72102866-910b-0410-8b05-ffd578937521
2002-09-21 23:33:37 +00:00
fedor
a7bf31db3f Update docs
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@13335 72102866-910b-0410-8b05-ffd578937521
2002-04-03 16:59:43 +00:00
fedor
c51f4265da Markup for autogsdoc
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@11788 72102866-910b-0410-8b05-ffd578937521
2001-12-17 16:51:51 +00:00
FredKiefer
0dbf60d9fa Implemented coding for NSPanel. For GSAlertPanel reoranised the
initXXX code. Moved the GModel methods into a separate category,
removing [createObjectForModelUnarchiver:] as this was (incorrectly)
duplication code from the super class.
Implemented NSBeginAlertSheet(), NSBeginCriticalAlertSheet() and
NSBeginInformationalAlertSheet().


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@11000 72102866-910b-0410-8b05-ffd578937521
2001-09-24 23:30:36 +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
6703eae052 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
FredKiefer
b9d601ac7a 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
mirko
888c376174 2000-09-14 Mirko Viviani <mirko.viviani@rccr.cremona.it>
* Source/NSPanel.m ([GSAlertPanel
	-initWithContentRect:styleMask:backing:defer:screen:]): set alternate
	return image.
	* Source/NSOpenPanel.m ([NSOpenPanel -controlTextDidEndEditing:]):
	removed.
	* Source/NSSavePanel.m ([NSSavePanel -controlTextDidEndEditing:]):
	repost currentEvent.
	([NSSavePanel -_initWithoutGModel]): removed form cell action, set
	_okButton image.
	([NSSavePanel -_performReturn:]): removed.
	* Images/common_retH.tiff: new file.
	* Images/GNUmakefile (IMAGE_FILES): update.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@7518 72102866-910b-0410-8b05-ffd578937521
2000-09-14 21:53:03 +00:00
FredKiefer
d3c10d80e7 Changed system fonts of size 12 to 0. This will use Nicolas font
cache and keep font sizes consistent when changed.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@7347 72102866-910b-0410-8b05-ffd578937521
2000-09-02 17:16:26 +00:00
nico
b81468a653 Fixed title position
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@6557 72102866-910b-0410-8b05-ffd578937521
2000-05-04 18:17:51 +00:00
richard
c68c19513f Panel reformatting and fixes
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@6268 72102866-910b-0410-8b05-ffd578937521
2000-03-11 06:57:22 +00:00
pjb
7ae5bf2385 Added the following features to GSAlertPanel private subclass of
NSPanel:

    - fit  the height  of the  panel according  to the  height  of the
      message, in addition to the width.

    - when the final  size for the panel is much too big respective to
      the screen,  it is reduced, and  the message is put  in a scroll
      view.

    - made the  attention panel stay  visible when the  application is
      deactivated as manded by the OpenStep specifications.

    - more than one attention panel can be run simultaneously, without
      the later invocation stealing the panel of the former one.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@6262 72102866-910b-0410-8b05-ffd578937521
2000-03-10 18:19:25 +00:00
richard
d4a4af71e1 Tidyups
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@6189 72102866-910b-0410-8b05-ffd578937521
2000-03-06 11:39:22 +00:00
nico
edcc3ebd8a Added code to resize GSAlertPanel's buttons and panel to deal with
long strings passed as messages or button strings


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@5760 72102866-910b-0410-8b05-ffd578937521
2000-01-13 23:12:11 +00:00
richard
9904b6ad6b Fixed level setting
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@5603 72102866-910b-0410-8b05-ffd578937521
1999-12-22 06:33:59 +00:00
richard
87b9c06968 Minor fix
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@5602 72102866-910b-0410-8b05-ffd578937521
1999-12-22 05:27:11 +00:00
richard
a9ed03a643 Tidy
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@5600 72102866-910b-0410-8b05-ffd578937521
1999-12-21 16:48:34 +00:00
richard
906da5937b Don't order out until after modla loop has terminated.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@5328 72102866-910b-0410-8b05-ffd578937521
1999-11-29 17:41:11 +00:00
richard
35ec3ff7e0 Tidied
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@5228 72102866-910b-0410-8b05-ffd578937521
1999-11-17 21:54:12 +00:00
richard
74a48160e6 Misc updates to tidy NSWindow and to correct behavior on app activation
and deactivation.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@5192 72102866-910b-0410-8b05-ffd578937521
1999-11-15 21:45:56 +00:00
richard
706b7fff80 Minor fix
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@5132 72102866-910b-0410-8b05-ffd578937521
1999-11-04 16:34:15 +00:00
richard
c7bd087d8b Minor tidying
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@4914 72102866-910b-0410-8b05-ffd578937521
1999-09-20 04:41:47 +00:00
fedor
5caf79a568 Merge from dawn
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@4853 72102866-910b-0410-8b05-ffd578937521
1999-09-09 02:56:20 +00:00
richard
934e125679 Some small bugfixes
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@4318 72102866-910b-0410-8b05-ffd578937521
1999-05-28 14:09:36 +00:00
richard
379f84aa74 Text field updates.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@4014 72102866-910b-0410-8b05-ffd578937521
1999-04-01 20:21:05 +00:00
richard
55b55d3fee Merged in 'dawn' CVS branch
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@3827 72102866-910b-0410-8b05-ffd578937521
1999-03-02 08:58:30 +00:00
richard
5bce26dc2e More tidyup.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@3718 72102866-910b-0410-8b05-ffd578937521
1999-02-16 11:05:22 +00:00
fedor
ec6158f0bb Move GMArchiver files so gui doesnt depend on extenions
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@3614 72102866-910b-0410-8b05-ffd578937521
1999-01-28 18:34:31 +00:00
richard
25a37ec353 Many updates to fix problems with menus etc
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@3500 72102866-910b-0410-8b05-ffd578937521
1998-12-22 12:34:03 +00:00
richard
590157c9c4 Many many improvements
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@3469 72102866-910b-0410-8b05-ffd578937521
1998-12-16 15:21:55 +00:00
richard
bf5137b858 Various updates to get keyboard equivalents for buttons working (especially
for panels).


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@3461 72102866-910b-0410-8b05-ffd578937521
1998-12-15 16:20:22 +00:00
richard
3bdb18f536 Completed alert panel functions
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@3453 72102866-910b-0410-8b05-ffd578937521
1998-12-14 08:58:53 +00:00