Commit graph

225 commits

Author SHA1 Message Date
Adam Fedor
00f196e1c0 Document-base app fixes
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@14904 72102866-910b-0410-8b05-ffd578937521
2002-11-01 22:42:52 +00:00
Adam Fedor
24653e2d38 Document NSDocumentController, imrpove setting directory.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@14845 72102866-910b-0410-8b05-ffd578937521
2002-10-26 02:38:34 +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
Nicola Pero
1b95651245 Get the GSBackend class in a safer way
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@14783 72102866-910b-0410-8b05-ffd578937521
2002-10-15 00:47:52 +00:00
Adam Fedor
323e056230 Fix focus on hide problem
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@14694 72102866-910b-0410-8b05-ffd578937521
2002-10-09 17:35:03 +00:00
Adam Fedor
1323d17420 Add Quartz-like interface. Fix focus problems.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@14678 72102866-910b-0410-8b05-ffd578937521
2002-10-09 02:47:40 +00:00
Nicola Pero
d661d12a6b Updated localization macros for new GSGuiPrivate - should be parseable
by make_strings now


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@14545 72102866-910b-0410-8b05-ffd578937521
2002-09-25 01:51:23 +00:00
Nicola Pero
0a3d708660 Improved error messages when loading the backend fails
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@14521 72102866-910b-0410-8b05-ffd578937521
2002-09-23 13:26:26 +00:00
Fred Kiefer
24c9cc59c0 Release the invocation in [detachDrawingThread:toTarget:withObject:]
not in the helper method. (Patch by David Ayers <d.ayers@inode.at>).


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@14409 72102866-910b-0410-8b05-ffd578937521
2002-09-06 23:35:29 +00:00
Fred Kiefer
f6b4091ddc Implemented [detachDrawingThread:toTarget:withObject:].
[sendAction:to:from:] now uses [targetForAction:to:from:]. Removed
moved methods. [orderFrontStandardAboutPanel:] now calles
[orderFrontStandardInfoPanelWithOptions:] so that subclasses only
have to overwritte this. Split up parts of [terminate:] into
[replyToApplicationShouldTerminate:].


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@14400 72102866-910b-0410-8b05-ffd578937521
2002-09-06 00:30:07 +00:00
Richard Frith-Macdonald
80b0d5b3a9 Documentation fixups
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@14368 72102866-910b-0410-8b05-ffd578937521
2002-08-29 10:07:51 +00:00
Adam Fedor
f51c1bbf10 Merge from 0.8.0
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@14232 72102866-910b-0410-8b05-ffd578937521
2002-08-03 03:32:19 +00:00
Adam Fedor
d206df9e84 Revert last change
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@13928 72102866-910b-0410-8b05-ffd578937521
2002-06-22 13:42:59 +00:00
Adam Fedor
6d2fb13215 Fix makeKey makeMain with defered windows
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@13927 72102866-910b-0410-8b05-ffd578937521
2002-06-22 03:44:57 +00:00
Nicola Pero
a6ea4b9df9 Fixed argument of the applicationShouldTerminate: message
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@13783 72102866-910b-0410-8b05-ffd578937521
2002-06-06 08:35:19 +00:00
Nicola Pero
be371e47d7 Added missing #includes
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@13442 72102866-910b-0410-8b05-ffd578937521
2002-04-11 23:17:42 +00:00
Adam Fedor
37280413e6 Remove old grpahics funcs, Update window's defs
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@13417 72102866-910b-0410-8b05-ffd578937521
2002-04-10 22:04:39 +00:00
Adam Fedor
738d7563ed Better debugging
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@13370 72102866-910b-0410-8b05-ffd578937521
2002-04-06 04:49:53 +00:00
Nicola Pero
f03100d736 Added missing #includes
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@13306 72102866-910b-0410-8b05-ffd578937521
2002-04-02 11:33:48 +00:00
Adam Fedor
354b959318 Better release/retain of server and context
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@13286 72102866-910b-0410-8b05-ffd578937521
2002-04-01 17:34:08 +00:00
Adam Fedor
955aa35094 Split into Window server and graphic context handling
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@13256 72102866-910b-0410-8b05-ffd578937521
2002-03-28 03:53:18 +00:00
Richard Frith-Macdonald
c1ffddcdc8 Rename middl toother mouse
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@12948 72102866-910b-0410-8b05-ffd578937521
2002-03-02 07:23:18 +00:00
Adam Fedor
bcc88c38c8 Move context creating from backend here.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@12888 72102866-910b-0410-8b05-ffd578937521
2002-02-28 15:28:51 +00:00
Fred Kiefer
f3e6d43e5b Removed some now unneeded FIXME.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@12814 72102866-910b-0410-8b05-ffd578937521
2002-02-27 09:40:49 +00:00
Fred Kiefer
a8069aa492 [NSIconWindow orderWindow:relativeTo:] don't complain about order
out if application is closing.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@12780 72102866-910b-0410-8b05-ffd578937521
2002-02-26 14:38:50 +00:00
Nicola Pero
a3f9d4432c During dealloc, set the main and window menu to nil after releasing them,
so we don't try updating them later on in the shutdown process


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@12691 72102866-910b-0410-8b05-ffd578937521
2002-02-22 23:04:25 +00:00
Nicola Pero
27e4de7dc3 Fixed destroying the run loop at the exit of the application
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@12689 72102866-910b-0410-8b05-ffd578937521
2002-02-22 22:39:46 +00:00
Nicola Pero
29f8db9d20 Use an autoreleasepool during application termination to make sure
all resources are freed


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@12684 72102866-910b-0410-8b05-ffd578937521
2002-02-22 18:24:11 +00:00
Nicola Pero
6fd8900269 Fixed my last commit to actually change the menu item in the Windows menu
if the window title has changed


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@12616 72102866-910b-0410-8b05-ffd578937521
2002-02-21 11:11:25 +00:00
Nicola Pero
dcc561fa70 Minor optimization - if adding a windows menu entry which already exists,
simply do nothing


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@12610 72102866-910b-0410-8b05-ffd578937521
2002-02-20 23:10:15 +00:00
Pierre-Yves Rivaille
f81e8e1bc2 Source/NSApplication (terminate:): send close method to all windows
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@12557 72102866-910b-0410-8b05-ffd578937521
2002-02-17 23:38:34 +00:00
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