Fred Kiefer
10d22d2086
* Source/NSApplication.m (-setApplicationIconImage:): Copy the new
...
application image before assigning the name "NSApplicationIcon"
to it. This solves bug #25793 .
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@28064 72102866-910b-0410-8b05-ffd578937521
2009-03-11 09:46:59 +00:00
Gregory John Casamento
cfea3dbe6b
* Source/NSApplication.m: Fix bug #24643 . Application icon is no
...
stored correctly.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@28021 72102866-910b-0410-8b05-ffd578937521
2009-03-02 01:10:23 +00:00
Fred Kiefer
4fae138790
Protect against the app icon being nil. Should fix #25620 .
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@27912 72102866-910b-0410-8b05-ffd578937521
2009-02-18 08:57:22 +00:00
Gregory John Casamento
6bec341a72
* Source/NSApplication.m: Added code to handle exceptions in
...
-[NSApplication run]. Rudimentary implementation of default
NSExceptionHandlerMask.
For more on this change, please see the thread on the gnustep-dev list entitled "Allowing Applications to continue after exception...".
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@27809 72102866-910b-0410-8b05-ffd578937521
2009-02-08 06:40:29 +00:00
Richard Frith-MacDonald
6312db17ff
fixups for checiking application icon size
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@27778 72102866-910b-0410-8b05-ffd578937521
2009-02-04 11:16:05 +00:00
Gregory John Casamento
d0d81bf1b1
* Source/GSNibLoader.m: Correct the message to indicate an issue
...
loading a nib, not a gorm, file.
* Source/GSNibLoading.m: Uncomment the release in the dealloc
method.
* Source/NSApplication.m: Restrict the icon size to the size of the
miniwindow if it's larger, but don't expand it, if it's smaller.
* Source/NSLayoutManager.m: -initWithCoder: Initialize when
loading a nib in the same way that we initialize when loading
a gorm file.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@27775 72102866-910b-0410-8b05-ffd578937521
2009-02-04 06:48:06 +00:00
Richard Frith-MacDonald
a6ac3414d3
Fix for #25384
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@27733 72102866-910b-0410-8b05-ffd578937521
2009-01-30 13:06:15 +00:00
Wolfgang Lux
f7e864e8ab
Make sure toolbar items are validated w.r.t. the responder chain of
...
their respective window.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@27627 72102866-910b-0410-8b05-ffd578937521
2009-01-18 15:33:01 +00:00
Richard Frith-MacDonald
c182e9df92
dd a little diagnostic logging
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@27441 72102866-910b-0410-8b05-ffd578937521
2008-12-28 10:58:57 +00:00
Wolfgang Lux
e906e7378d
Attempt to perform key equivalents in the key window before the main
...
menu as on OS X.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@27359 72102866-910b-0410-8b05-ffd578937521
2008-12-19 23:17:42 +00:00
Gregory John Casamento
21cf915c13
* Source/GSNibLoading.m: Make the log ino debug in awakeFromNib
...
* Source/NSApplication.m: Allow modal to end multiple times, per spec
there is no exception for doing this.
* Source/NSPasteboard.m: Allow multiple threads in pasteboard
communication.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@27306 72102866-910b-0410-8b05-ffd578937521
2008-12-16 18:59:26 +00:00
Wolfgang Lux
91f3b7674b
Implement NSDocument autosaving.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@27288 72102866-910b-0410-8b05-ffd578937521
2008-12-14 16:39:15 +00:00
Richard Frith-MacDonald
7f9939a624
clarify#
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@27216 72102866-910b-0410-8b05-ffd578937521
2008-12-06 08:13:13 +00:00
Richard Frith-MacDonald
19b84c87b4
Fix failure to locate tools
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@27215 72102866-910b-0410-8b05-ffd578937521
2008-12-06 08:01:09 +00:00
Gregory John Casamento
0f92239a0b
* Source/NSApplication.m: Always resize icon to 48x48 so that
...
icons larger than this will display correctly. Change made in
setApplicationIconImage:.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@27197 72102866-910b-0410-8b05-ffd578937521
2008-12-03 06:08:12 +00:00
Gregory John Casamento
03d2fc6b14
Fix for bug #24785 .
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@27195 72102866-910b-0410-8b05-ffd578937521
2008-12-03 00:48:42 +00:00
Fred Kiefer
833dedb984
Split up final notification sending into method _didFinishLaunching
...
to allow supclasses to go between these calls.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@27083 72102866-910b-0410-8b05-ffd578937521
2008-11-17 20:52:24 +00:00
Wolfgang Lux
edd9b4a68a
Make NSApplication's responder chain for action messages consistent
...
with Apple's documentation and the Mac OS X implementation.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@27008 72102866-910b-0410-8b05-ffd578937521
2008-11-05 22:05:58 +00:00
Fred Kiefer
2b3ec299c9
In NSMenu compare target for identity not equality.
...
Decoding and encoding for NSWindowController.
Extend the responder chain of a window beyond itself.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@26959 72102866-910b-0410-8b05-ffd578937521
2008-10-24 07:59:42 +00:00
Fred Kiefer
b6e2a9c2c2
Improved mini window handling. Patch by Hubert Chathi
...
<hubert@uhoreg.ca>.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@26810 72102866-910b-0410-8b05-ffd578937521
2008-08-15 06:45:17 +00:00
Gregory John Casamento
118d6d20f0
* Source/NSApplication.m: Removed icns string addition to rely on
...
NSImage code to find the image.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@26808 72102866-910b-0410-8b05-ffd578937521
2008-08-14 02:21:15 +00:00
Gregory John Casamento
bfde86fcd5
* Source/NSApplication.m: Add logic to load the icns if it's specified
...
as the icon file for an application.
* Source/NSBitmapImageRep+ICNS.m: Limit the size of the representation
to the 48x48 version.
In the future I would like GNUstep to take full advantage of this format and display the representation which is most appropriate for a given size.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@26806 72102866-910b-0410-8b05-ffd578937521
2008-08-13 01:54:23 +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
c439e20394
Make sure the application terminates when neither a delegate is set, nor
...
it is a document based application.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@26390 72102866-910b-0410-8b05-ffd578937521
2008-03-29 13:08:35 +00:00
Richard Frith-MacDonald
1007fd1273
Hopefully clear up some confusion about NSApplicationTerminateReply
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@26375 72102866-910b-0410-8b05-ffd578937521
2008-03-26 16:00:51 +00:00
Riccardo Mottola
3d3b665f6a
changed terminate type to BOOL since it is one and the value froma delegate got wrongly cast
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@26307 72102866-910b-0410-8b05-ffd578937521
2008-03-16 01:02:52 +00:00
Fred Kiefer
b06abb1fc1
ne more correction, this time it is really main not key that gets set.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@25672 72102866-910b-0410-8b05-ffd578937521
2007-12-03 19:15:33 +00:00
Fred Kiefer
ba817248fe
Corrected last commit
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@25671 72102866-910b-0410-8b05-ffd578937521
2007-12-03 19:09:30 +00:00
Fred Kiefer
36c066e994
Make sure there is a main window when starting up.
...
Correct view image caching.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@25670 72102866-910b-0410-8b05-ffd578937521
2007-12-03 19:00:12 +00:00
Fred Kiefer
1906ff781f
Avoid call cycles when terminating an application.
...
Better NIB loading and object awakening.
Remove compiler warning caused by previous change.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@25614 72102866-910b-0410-8b05-ffd578937521
2007-11-27 00:09:24 +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
1a13f90156
Leave the focus transfer when a window closes to the window not the
...
application and improve the code there.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@25420 72102866-910b-0410-8b05-ffd578937521
2007-08-28 22:01:29 +00:00
Fred Kiefer
d41899ac82
Add error presenting methods.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@25354 72102866-910b-0410-8b05-ffd578937521
2007-07-25 14:16:30 +00:00
Fred Kiefer
5a752a1db1
Add MacOSX 10.4 method declarations.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@25351 72102866-910b-0410-8b05-ffd578937521
2007-07-24 08:40:58 +00:00
Fred Kiefer
b7cb6503ee
Different patches by Andreas Höschler <ahoesch@smartsoft.de>.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@24846 72102866-910b-0410-8b05-ffd578937521
2007-03-11 17:07:44 +00:00
Nicola Pero
df2318e0d9
Use versioned resource in gnustep-gui. Lots of bundles and resources still unversioned though
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@24844 72102866-910b-0410-8b05-ffd578937521
2007-03-09 23:33:58 +00:00
Fred Kiefer
34b0abf4d0
Added MacOS 10.4 methods for NSDocument, NSDocumentController,
...
NSPrintOperation, NSResponder and NSCell.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@24378 72102866-910b-0410-8b05-ffd578937521
2007-01-17 12:09:41 +00:00
Richard Frith-MacDonald
45acf44de1
documentation cleanups
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@24035 72102866-910b-0410-8b05-ffd578937521
2006-11-06 13:58:37 +00:00
Adam Fedor
6ae514bf25
Partial fix for #16453
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@23985 72102866-910b-0410-8b05-ffd578937521
2006-10-29 02:45:34 +00:00
Matt Rice
564a2e859b
* Source/NSAlert.m: Add GSRunExceptionPanel function
...
and GSExceptionPanel class.
* Headers/AppKit/NSPanel.h: Declare GSRunExceptionPanel.
* Source/NSApplication.m (_NSAppKitUncaughtExceptionHandler):
Use GSRunExceptionPanel.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@23973 72102866-910b-0410-8b05-ffd578937521
2006-10-27 19:10:07 +00:00
Matt Rice
37f70188f1
* Source/NSApplication.m (NSAppIcon -mouseDown:): Call unhide:
...
regardless of whether we're hidden or not.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@23961 72102866-910b-0410-8b05-ffd578937521
2006-10-24 23:09:58 +00:00
Matt Rice
a197607128
* Headers/AppKit/NSGraphics.h: Add GSOrderedWindows function.
...
* Source/NSApplication.m (NSAppIconView -mouseDown:): Use
GSOrderedWindows.
(NSApplication -deactivate): Ditto.
(-hide:): Ditto.
(-unhideWithoutActivation:): Ditto.
(-makeWindowsPerform:inOrder): Ditto.
(-orderedWindows:): Ditto.
(-windowWillClose:): Ditto.
* Source/GSDisplayServer.m: Implement -windowlist.
* Source/NSWindow.m (NSCountWindowList,NSWindowList): Use
-windowlist.
(GSOrderedWindows): Initial implementation.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@23936 72102866-910b-0410-8b05-ffd578937521
2006-10-21 19:13:42 +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
3c5f004f90
* Source/NSApplication.m: Remove keys from initWithCoder: and
...
encodeWithCoder:.
* Source/NSCell.m: Initialize the cell based on content in
initWithCoder:.
* Source/NSFormCell.m: Removed unnecessary decoding of NSContents key
in initWithCoder: since it is already done in NSCell.m.
* Source/NSMatrix.m: initWithCoder:/encodeWithCoder: added
autosizesCells flag and clear flags which are not used
prior to encoding.
* Source/NSPopUpButtonCell.m: Implemented encoding in
encodeWithCoder:.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@23318 72102866-910b-0410-8b05-ffd578937521
2006-08-20 16:18:31 +00:00
Fred Kiefer
4986199ba1
Removed some compiler warnings and unneeded direct drawing.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@23119 72102866-910b-0410-8b05-ffd578937521
2006-07-02 11:25:04 +00:00
Gregory John Casamento
2cd4aa162e
Added more coding and TODO's for nib coding/decoding.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@23030 72102866-910b-0410-8b05-ffd578937521
2006-06-04 16:31:30 +00:00
Richard Frith-MacDonald
f393798b2a
Macos-X compatibility change.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@23010 72102866-910b-0410-8b05-ffd578937521
2006-05-31 09:27:21 +00:00
Richard Frith-MacDonald
46be8e4caf
Fix for bug #16688 , but needs more investigation/work
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@22995 72102866-910b-0410-8b05-ffd578937521
2006-05-29 08:47:32 +00:00
Gregory John Casamento
d9bafd0291
Correction for #16688 as well as some other minor changes.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@22994 72102866-910b-0410-8b05-ffd578937521
2006-05-29 05:00:42 +00:00
Fred Kiefer
b1c6991a10
Chnaged GSDontShowAppIcon to GSSuppressAppIcon.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@22918 72102866-910b-0410-8b05-ffd578937521
2006-05-12 16:25:36 +00:00