Fred Kiefer
a612305757
First set of NSInteger/NSUInteger cleanup in gui.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@36029 72102866-910b-0410-8b05-ffd578937521
2013-01-27 20:28:35 +00:00
Fred Kiefer
2e738f7ba2
Correct issues with missing or incorrect self
...
tests in initXXX methods pointed out by static analyser.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@32588 72102866-910b-0410-8b05-ffd578937521
2011-03-14 22:59:20 +00:00
Eric Wasylishen
8ead2b67dd
* Source/NSPanel.m: Override
...
-initWithContentRect:styleMask:backing:defer: so that if
NSUtilityWindowMask is part of the style mask, we can
set the panel to be a floating panel (which is the definition
of NSUtilityWindowMask, in addition to making the panel
have a thin title bar.)
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@31079 72102866-910b-0410-8b05-ffd578937521
2010-08-04 04:36:53 +00:00
Fred Kiefer
0d78f7f50a
Another bit of #include -> #import replacement.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@30033 72102866-910b-0410-8b05-ffd578937521
2010-03-24 22:41:21 +00:00
Adam Fedor
7afdd32ac1
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
Fred Kiefer
193e31e678
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
Fred Kiefer
a66882b17b
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
Richard Frith-MacDonald
57435da7d5
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
Gregory John Casamento
1c011de1a5
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 Vallon
a2e2bb6167
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
Adam Fedor
303dd1baf9
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
Alexander Malmberg
ad2419e484
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
Fred Kiefer
ca71d7e075
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
Alexander Malmberg
7ac30eed06
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
Sergii Stoian
e0c81dc2d5
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
Sergii Stoian
72b9ddfb0c
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
Alexander Malmberg
720ddc11b5
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
David Ayers
b18f1c4ac4
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
Fred Kiefer
a3aecbd99d
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
Adam Fedor
6be9174933
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
Fred Kiefer
76385367ad
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
Adam Fedor
527fd35378
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
Alexander Malmberg
61b91e6b57
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
Adam Fedor
228bb345cf
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
Adam Fedor
d47e202fbe
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
Fred Kiefer
bce2688968
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
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
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
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
Mirko Viviani
51d87dae28
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
Fred Kiefer
a3333bd2e3
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
Nicola Pero
a131aba400
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 Frith-MacDonald
776b7ca6df
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
Pascal J. Bourguignon
7b6550f72d
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 Frith-MacDonald
6a18da4e1e
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
Nicola Pero
6882c20105
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 Frith-MacDonald
9ddf15fcaf
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 Frith-MacDonald
7e33256864
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 Frith-MacDonald
e22b67aa73
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 Frith-MacDonald
a1bd9d4cf5
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 Frith-MacDonald
e714be0c09
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 Frith-MacDonald
540e967ca1
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 Frith-MacDonald
52d581de8f
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 Frith-MacDonald
5296afaafe
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
Adam Fedor
0bfd542562
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 Frith-MacDonald
a069600acc
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 Frith-MacDonald
6935a9df0a
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 Frith-MacDonald
dbbeff810a
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 Frith-MacDonald
0afb3402c2
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
Adam Fedor
6bde69b8ec
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