Commit graph

194 commits

Author SHA1 Message Date
Adam Fedor
4b54ab9f06 New AppKit events. Updates for autogsdoc
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@12217 72102866-910b-0410-8b05-ffd578937521
2002-01-26 04:14:38 +00:00
Adam Fedor
3c049f1896 Better modal window handling
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@12183 72102866-910b-0410-8b05-ffd578937521
2002-01-22 03:48:00 +00:00
Nicola Pero
1353cce8f0 Removed declaration of NSAbortModalException in excess
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@12124 72102866-910b-0410-8b05-ffd578937521
2002-01-17 00:01:21 +00:00
Adam Fedor
9f924be488 Modal session and cursor fixes
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@12112 72102866-910b-0410-8b05-ffd578937521
2002-01-15 16:43:13 +00:00
Adam Fedor
65de9f1abd Propery constrain window frames
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@12073 72102866-910b-0410-8b05-ffd578937521
2002-01-09 20:41:07 +00:00
Nicola Pero
528d683390 Big simplification of the code managing the Windows menu, so that it should
now work properly when the application is translated.  Basically, all code
depending on the title of the Windows menu was removed.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@12031 72102866-910b-0410-8b05-ffd578937521
2002-01-07 19:57:05 +00:00
Nicola Pero
7f388bdd2d Localization fixes for the Windows menu - better management of problems
with translation of the Windows menu


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@12029 72102866-910b-0410-8b05-ffd578937521
2002-01-07 18:22:20 +00:00
Fred Kiefer
16c4b83d48 [initialize] retain the gui bundle and added an auto release pool
as this might be called without one installed.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@11888 72102866-910b-0410-8b05-ffd578937521
2001-12-23 13:30:35 +00:00
Nicola Pero
224485caa7 Implemented GSGuiBundle(); localized messages
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@11877 72102866-910b-0410-8b05-ffd578937521
2001-12-21 18:41:25 +00:00
Nicola Pero
0bcac86a20 Removed some empty comments
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@11872 72102866-910b-0410-8b05-ffd578937521
2001-12-21 15:44:47 +00:00
Fred Kiefer
64bab8cfad [setMainMenu:] set the title of the main menu window, so
the window manager can display it.We could do this also for all
other menus, but those wont show up in the window manager.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@11821 72102866-910b-0410-8b05-ffd578937521
2001-12-19 00:06:50 +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
454645a625 [NSIconWindow _initDefaults] set the title of the icon window, so
the window manager can display it.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@11666 72102866-910b-0410-8b05-ffd578937521
2001-12-09 16:05:27 +00:00
Adam Fedor
36be3e7686 Draw image background even when clear
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@11654 72102866-910b-0410-8b05-ffd578937521
2001-12-07 22:52:42 +00:00
Fred Kiefer
5e5c0b1156 [finishLaunching] and [terminate:] send workspace notification
with the shared workspace as object.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@11592 72102866-910b-0410-8b05-ffd578937521
2001-12-01 21:15:27 +00:00
Fred Kiefer
8dee14989f Dummy implementation for [hideOtherApplications:] and
[unhideAllApplications:]. Simple implementation for
[runModalForWindow:relativeToWindow:], [endSheet:] and [beginSheet:...].
Removed various uneeded [update] and [sizeToFit] calls for menu operations.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@10922 72102866-910b-0410-8b05-ffd578937521
2001-09-17 12:09:03 +00:00
Fred Kiefer
7c88e9d626 Implemented [rightMouseDown:] with code from NSResponder.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@10767 72102866-910b-0410-8b05-ffd578937521
2001-08-21 23:23:19 +00:00
Fred Kiefer
d7698f89e9 Removed [showHelp:] and [activateContextHelpMode:] as they are
implemented in NSHelpManager.m. Use [showHelp:] in old method [].


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@10656 72102866-910b-0410-8b05-ffd578937521
2001-08-05 22:20:27 +00:00
Adam Fedor
59384d53aa Use runtime to find backend if not BACKEND_BUNDLE
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@10024 72102866-910b-0410-8b05-ffd578937521
2001-05-25 17:46:46 +00:00
Adam Fedor
ca76560c9e Verfiy bundle loading, make sure nib loaded visibile windows get orderedFront.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@10021 72102866-910b-0410-8b05-ffd578937521
2001-05-24 14:47:43 +00:00
Adam Fedor
fc383e05d2 Check for sel.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@9895 72102866-910b-0410-8b05-ffd578937521
2001-05-08 02:42:45 +00:00
Adam Fedor
1ff4d1c990 Load backend as a bundle.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@9580 72102866-910b-0410-8b05-ffd578937521
2001-04-13 20:04:04 +00:00
Adam Fedor
0e78dabbf9 Don't set uncaught except handler until after init
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@9125 72102866-910b-0410-8b05-ffd578937521
2001-02-12 04:48:22 +00:00
Richard Frith-MacDonald
82da0b3811 Support dropping of filenames onto an appicon
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@9122 72102866-910b-0410-8b05-ffd578937521
2001-02-10 06:58:20 +00:00
Nicola Pero
d3a76d36c2 Fixed to use properly the base exception handler when aborting
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@8837 72102866-910b-0410-8b05-ffd578937521
2001-01-27 13:20:51 +00:00
Nicola Pero
51b404929f Fixed logging exception when no graphics context exists
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@8618 72102866-910b-0410-8b05-ffd578937521
2001-01-16 12:36:32 +00:00
Nicola Pero
4506bb839a Attempt at making the panel run upon uncaught exceptions a bit more user
friendly by adding the word 'error' to the panel title


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@8582 72102866-910b-0410-8b05-ffd578937521
2001-01-13 13:44:40 +00:00
Nicola Pero
3809ed26c2 Fixed infinite loop of recursive exception handler calls from locking up
my window system and forcing me to restart it


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@8553 72102866-910b-0410-8b05-ffd578937521
2001-01-10 22:37:29 +00:00
Richard Frith-MacDonald
0ac0237a1e Handle exceptions when graphics context isn't in place.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@8519 72102866-910b-0410-8b05-ffd578937521
2001-01-08 19:59:20 +00:00
Fred Kiefer
20a28ff6a0 Use the _default_context for all events and in dealloc.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@8435 72102866-910b-0410-8b05-ffd578937521
2000-12-24 14:09:03 +00:00
Nicola Pero
b89da5341a Indented comment
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@8374 72102866-910b-0410-8b05-ffd578937521
2000-12-19 21:09:21 +00:00
Fred Kiefer
edb22721b2 Adopted to changes in header file. [initialize] Cache the
notification center and the NSAutoreleasePool class for the whole
	file. [finishLaunching] set the image before starting the icon
	view. Recognize file to open with flag @"NSOpen" beside @"GSFilePath".
	[dealloc] now also destoys the graphic context. [stop:] now stops
	the run loop, which may be restarted (but this will still reload
	the NIB file!). [setApplicationIconImage:] check if the
	_app_icon_window is there before setting its
	image. [orderFrontDataLinkPanel:] and [orderFrontHelpPanel:] moved
	the error message into the corresponding files. [terminate:] now
	directly stops the program with exit(0). Also did some general
	cleanup of code.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@8333 72102866-910b-0410-8b05-ffd578937521
2000-12-16 16:22:31 +00:00
Fred Kiefer
dacc328789 [finishLaunching] removed uneeded call
to loadGModel:owner: as this gets done in loadNibNamed:owner:.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@8086 72102866-910b-0410-8b05-ffd578937521
2000-11-12 16:44:37 +00:00
Fred Kiefer
0630943220 [runPageLayout:] use real panel.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@7832 72102866-910b-0410-8b05-ffd578937521
2000-10-16 22:53:39 +00:00
Nicola Pero
64691efc39 Reverted autorelease pool code
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@7785 72102866-910b-0410-8b05-ffd578937521
2000-10-11 09:58:36 +00:00
Lyndon Tremblay
35e02eb955 - Various very small optimizations.
- Tells the user about unhandled exceptions.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@7605 72102866-910b-0410-8b05-ffd578937521
2000-09-26 11:45:32 +00:00
Lyndon Tremblay
5f2683a975 Implemented AppKit exception handler
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@7598 72102866-910b-0410-8b05-ffd578937521
2000-09-26 09:01:58 +00:00
Richard Frith-MacDonald
04cd8a4625 Minor tidyup
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@7449 72102866-910b-0410-8b05-ffd578937521
2000-09-08 10:39:11 +00:00
Nicola Pero
bef15b5d9f Removed annoying log
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@7430 72102866-910b-0410-8b05-ffd578937521
2000-09-07 01:01:07 +00:00
Nicola Pero
35695a3b46 Updated for change in NSWindow's ivars
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@7396 72102866-910b-0410-8b05-ffd578937521
2000-09-05 17:24:15 +00:00
Nicola Pero
4886431eba Implemented NSApplicationWillTerminateNotification
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@7380 72102866-910b-0410-8b05-ffd578937521
2000-09-05 01:07:59 +00:00
Adam Fedor
5a25706d4e Don't update menu for some events
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@7277 72102866-910b-0410-8b05-ffd578937521
2000-08-28 22:29:32 +00:00
Richard Frith-MacDonald
d1bbe54ace Added middle mouse button support
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@7140 72102866-910b-0410-8b05-ffd578937521
2000-08-03 08:48:22 +00:00
Jonathan Gapen
4cbc844da0 Add rough draft NSColorPanel.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@6475 72102866-910b-0410-8b05-ffd578937521
2000-04-18 02:27:45 +00:00
Adam Fedor
c256b1df22 View display an tiff improvements
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@6463 72102866-910b-0410-8b05-ffd578937521
2000-04-13 19:23:16 +00:00
Richard Frith-MacDonald
ba2e62d6de Window level corrections and tidyups
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@6459 72102866-910b-0410-8b05-ffd578937521
2000-04-13 07:55:19 +00:00
Richard Frith-MacDonald
f5384ec7aa Fixes from jgapen
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@6355 72102866-910b-0410-8b05-ffd578937521
2000-03-22 21:39:00 +00:00
Richard Frith-MacDonald
1cffef50a7 Fix typo
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@6206 72102866-910b-0410-8b05-ffd578937521
2000-03-07 11:03:00 +00:00
Richard Frith-MacDonald
63c094b978 Minor fix for app activation
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@6203 72102866-910b-0410-8b05-ffd578937521
2000-03-07 07:23:26 +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