Adam Fedor
53bf81fa36
Window ordering fixes
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@18363 72102866-910b-0410-8b05-ffd578937521
2004-01-10 19:40:43 +00:00
Alexander Malmberg
b5f45d7334
(-_handleWindowNeedsDisplay:): Disable flushing while displaying and flush when all displaying is done.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@18260 72102866-910b-0410-8b05-ffd578937521
2003-12-23 17:17:39 +00:00
Fred Kiefer
1c14dac8ed
Cache runloop modes array.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@18231 72102866-910b-0410-8b05-ffd578937521
2003-11-29 01:36:50 +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
Alexander Malmberg
1f9cb4a03f
Make sure NSApp's references to the key and main window are cleared if the key/main window is deallocated.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@18212 72102866-910b-0410-8b05-ffd578937521
2003-11-26 13:58:32 +00:00
Alexander Malmberg
da4e243597
Always start the window auto-display performer when ordering a window in.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@18203 72102866-910b-0410-8b05-ffd578937521
2003-11-25 16:27:15 +00:00
Adam Fedor
e74cf34dc6
Window focus fixes.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@18095 72102866-910b-0410-8b05-ffd578937521
2003-11-19 16:01:53 +00:00
Gregory John Casamento
ff53f21b06
*** empty log message ***
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@18075 72102866-910b-0410-8b05-ffd578937521
2003-11-11 19:40:18 +00:00
Richard Frith-Macdonald
27c626ce07
Remove FIXME
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@17996 72102866-910b-0410-8b05-ffd578937521
2003-10-28 21:33:52 +00:00
Richard Frith-Macdonald
0730df1fc4
DnD fixes
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@17994 72102866-910b-0410-8b05-ffd578937521
2003-10-28 20:27:54 +00:00
Adam Fedor
7bbabe4e72
Fix PR #5849 window deminiaturize.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@17945 72102866-910b-0410-8b05-ffd578937521
2003-10-21 03:10:24 +00:00
Alexander Malmberg
c2cff94ce3
(-miniaturize:, -deminiaturize:): Check that the window can be miniaturized/deminiaturized before doing anything.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@17788 72102866-910b-0410-8b05-ffd578937521
2003-10-07 12:34:10 +00:00
Benhur Stein
1a6ef7f076
Set frame to autosaved frame in defaults
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@17772 72102866-910b-0410-8b05-ffd578937521
2003-10-03 14:09:58 +00:00
Benhur Stein
681ef962f9
Removed windowsLock variable from NSWindow
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@17771 72102866-910b-0410-8b05-ffd578937521
2003-10-03 14:00:28 +00:00
Alexander Malmberg
1fcb726542
Only force a display of the content view if we're being ordered _to_ the screen.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@17708 72102866-910b-0410-8b05-ffd578937521
2003-09-23 17:16:59 +00:00
Adam Fedor
50b7d5288b
Revert last doc close and fix releaseWhenClosed.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@17691 72102866-910b-0410-8b05-ffd578937521
2003-09-21 02:27:50 +00:00
Adam Fedor
1d187a4550
Document close fixes.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@17688 72102866-910b-0410-8b05-ffd578937521
2003-09-20 03:07:55 +00:00
Alexander Malmberg
f85a2e5f12
Change return type of -initWithWindowRef: to id.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@17620 72102866-910b-0410-8b05-ffd578937521
2003-09-04 16:47:30 +00:00
Fred Kiefer
98da20e7b6
In [performClose:] call the method [shouldCloseWindowController:]
...
on the document instead of [windowShouldClose:]
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@17508 72102866-910b-0410-8b05-ffd578937521
2003-08-20 14:12:43 +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
Alexander Malmberg
77fa3e8966
Make drawing debug logging a bit more detailed.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@17371 72102866-910b-0410-8b05-ffd578937521
2003-07-26 18:56:06 +00:00
Richard Frith-Macdonald
0e06373598
Minor doc fix
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@17300 72102866-910b-0410-8b05-ffd578937521
2003-07-22 16:32:30 +00:00
Richard Frith-Macdonald
b04ce4006b
Minor memory leak fix
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@17287 72102866-910b-0410-8b05-ffd578937521
2003-07-22 05:18:05 +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
Alexander Malmberg
8184380380
Set _windowNum to 0 so the backend window will be recreated when required.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@16715 72102866-910b-0410-8b05-ffd578937521
2003-05-13 18:26:20 +00:00
Richard Frith-Macdonald
f4d75d0ffb
bugfix for window position constraint
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@16546 72102866-910b-0410-8b05-ffd578937521
2003-04-26 07:17:24 +00:00
Richard Frith-Macdonald
15aab01ceb
Try to compensate for changes in screen size.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@16545 72102866-910b-0410-8b05-ffd578937521
2003-04-26 06:39:49 +00:00
Fred Kiefer
f649a1bb4b
Removed unused local variable in [sendEvent:].
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@16542 72102866-910b-0410-8b05-ffd578937521
2003-04-25 22:54:39 +00:00
Richard Frith-Macdonald
188be4b3e1
Adjust browser columns size to match window
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@16537 72102866-910b-0410-8b05-ffd578937521
2003-04-25 07:04:57 +00:00
Pierre-Yves Rivaille
063710aa5f
Source/NSWindow.m ([-sendEvent:], case NSRightMouseDown):
...
removed code to display the menu. This is now done by
[NSView -rightMouseDown:].
Source/NSView.m: overrides -menu,
changes -rightMouseDown: to display the menu,
documents -menu, -menuForEvent: and +defaultMenu.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@16413 72102866-910b-0410-8b05-ffd578937521
2003-04-10 14:00:53 +00:00
Sergii Stoian
8b47399e27
Draw content before backend window ordering
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@16397 72102866-910b-0410-8b05-ffd578937521
2003-04-09 07:18:44 +00:00
Alexander Malmberg
83f252e89a
Make -setNeedsDisplay* safe to use from performers.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@16381 72102866-910b-0410-8b05-ffd578937521
2003-04-06 18:03:33 +00:00
Adam Fedor
ff8e8d0cc9
Set initialFirstResponder when becomeKeyWindow
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@16311 72102866-910b-0410-8b05-ffd578937521
2003-04-01 05:13:16 +00:00
Fred Kiefer
4a0065ab77
In [sendEvent:] use [popUpContextMenu:withEvent:forView:].
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@16211 72102866-910b-0410-8b05-ffd578937521
2003-03-19 16:16:12 +00:00
Richard Frith-Macdonald
f1de0e1216
Fix for miniwindows not being drawn properly
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@16147 72102866-910b-0410-8b05-ffd578937521
2003-03-07 09:04:54 +00:00
Alexander Malmberg
5078562c49
(-update): Don't redisplay the window.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@16056 72102866-910b-0410-8b05-ffd578937521
2003-02-23 12:32:27 +00:00
Adam Fedor
054a27b9ba
Move disable/enable flush code
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@16053 72102866-910b-0410-8b05-ffd578937521
2003-02-23 04:38:49 +00:00
Alexander Malmberg
3b7c4e2a12
Minor changes and cleanups.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@15925 72102866-910b-0410-8b05-ffd578937521
2003-02-10 14:29:31 +00:00
Alexander Malmberg
4648c930ce
Implement handling of pop-up menus attached to NSView:s.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@15906 72102866-910b-0410-8b05-ffd578937521
2003-02-08 21:39:31 +00:00
Fred Kiefer
c768cb1bb9
Rewrote all the toolbar methods. Implemented [zoom:]. Extracted
...
new method [_terminateBackendWindow] from [dealloc] and use it to
implement one shot windows in the orderOut case of
[orderWindow:relativeTo:]. Removed frame restriction from
[setFrameFromString:] as this gets done in
[setFrame:display:]. Use [NSScreen visibleFrame] here and in
[stringWithSavedFrame]. Implemented [cascadeTopLeftFromPoint:].
Removed unused and empty methods [performHide:] and [performUnhide:].
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@15848 72102866-910b-0410-8b05-ffd578937521
2003-02-02 00:58:32 +00:00
Nicola Pero
ba494c7cd9
Lock focus / unlock focus optimizations and fixes
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@15839 72102866-910b-0410-8b05-ffd578937521
2003-02-01 05:10:00 +00:00
Nicola Pero
710652a86c
Fixed compiler warnings
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@15775 72102866-910b-0410-8b05-ffd578937521
2003-01-30 04:29:00 +00:00
Alexander Malmberg
9b5e901493
Clean up some prototypes.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@15714 72102866-910b-0410-8b05-ffd578937521
2003-01-26 17:49:35 +00:00
Nicola Pero
4474394422
Fixed drag&drop in deferred windows
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@15361 72102866-910b-0410-8b05-ffd578937521
2002-12-28 00:49:40 +00:00
Adam Fedor
1822484c60
Only allow main menu to become key and try to find another one.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@14958 72102866-910b-0410-8b05-ffd578937521
2002-11-08 16:39:41 +00:00
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
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
Richard Frith-Macdonald
40253f5a72
SRome documentation tidyupsi
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@14751 72102866-910b-0410-8b05-ffd578937521
2002-10-13 07:00:38 +00:00
Adam Fedor
356a824ea8
Document. Fix up NSDebugLogs
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@14727 72102866-910b-0410-8b05-ffd578937521
2002-10-12 03:14:22 +00:00
Adam Fedor
d9dda82498
Constrain windows that are off bottom of screen also.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@14695 72102866-910b-0410-8b05-ffd578937521
2002-10-10 03:10:31 +00:00