Commit graph

3976 commits

Author SHA1 Message Date
Sergii Stoian
2e4c41319e Windows menu manipulation fixes
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@16430 72102866-910b-0410-8b05-ffd578937521
2003-04-11 12:42:10 +00:00
Sergii Stoian
369134a16e NSPopUpButton mouseDown fix
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@16428 72102866-910b-0410-8b05-ffd578937521
2003-04-11 10:36:53 +00:00
Sergii Stoian
ca26a5ce28 mouseDown fix
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@16427 72102866-910b-0410-8b05-ffd578937521
2003-04-11 10:35:36 +00:00
Sergii Stoian
5653681dcd NSPopUpButton fixes
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@16416 72102866-910b-0410-8b05-ffd578937521
2003-04-10 15:17:42 +00:00
Sergii Stoian
6301c30606 add remove/image only if it's not user settings
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@16415 72102866-910b-0410-8b05-ffd578937521
2003-04-10 15:06:48 +00:00
Sergii Stoian
4fb42475cb mouseDown selections fixes
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@16414 72102866-910b-0410-8b05-ffd578937521
2003-04-10 15:05:50 +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
Richard Frith-Macdonald
b2faf96893 Fix for multiple startup.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@16410 72102866-910b-0410-8b05-ffd578937521
2003-04-10 09:04:24 +00:00
Richard Frith-Macdonald
0bdd1b569f Minor fix
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@16409 72102866-910b-0410-8b05-ffd578937521
2003-04-10 05:36:19 +00:00
Alexander Malmberg
bbdf75548a Fix updating of glyph counts in some rare cases. Minor cleanups.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@16408 72102866-910b-0410-8b05-ffd578937521
2003-04-10 00:08:26 +00:00
Richard Frith-Macdonald
4261e94931 Minor fix in last mod.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@16406 72102866-910b-0410-8b05-ffd578937521
2003-04-09 16:34:49 +00:00
Richard Frith-Macdonald
a4ace9f14b File opening tidyups
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@16405 72102866-910b-0410-8b05-ffd578937521
2003-04-09 16:12:22 +00:00
Richard Frith-Macdonald
7fec3a5ad6 Remove bogus link
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@16403 72102866-910b-0410-8b05-ffd578937521
2003-04-09 13:32:16 +00:00
Richard Frith-Macdonald
4109fae209 Tidied
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@16402 72102866-910b-0410-8b05-ffd578937521
2003-04-09 12:27:16 +00:00
Richard Frith-Macdonald
3e29c3d592 Documentation
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@16401 72102866-910b-0410-8b05-ffd578937521
2003-04-09 12:06:58 +00:00
Sergii Stoian
8d25964b74 horizontal menu fixes; title view mouseDown event loop changed
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@16399 72102866-910b-0410-8b05-ffd578937521
2003-04-09 09:42:26 +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
Sergii Stoian
223ed7f03f return back horizontal menu code
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@16396 72102866-910b-0410-8b05-ffd578937521
2003-04-09 07:06:51 +00:00
Alexander Malmberg
58a9585750 (-setNeedsDisplay:, -setNeedsDisplayInRect:): Thread safety related fixes and cleanups.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@16394 72102866-910b-0410-8b05-ffd578937521
2003-04-08 22:42:02 +00:00
Alexander Malmberg
15ab06811c (-mouseDown:): Rewrite the mouse tracking loop.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@16391 72102866-910b-0410-8b05-ffd578937521
2003-04-08 13:36:15 +00:00
Alexander Malmberg
3061f81c4e Make -setNeedsDiplay: and -setNeedsDisplayInRect: thread safe.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@16390 72102866-910b-0410-8b05-ffd578937521
2003-04-08 00:17:53 +00:00
Alexander Malmberg
c0587cf573 Release all memory if the fontInfo can't be created.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@16386 72102866-910b-0410-8b05-ffd578937521
2003-04-07 11:07:57 +00:00
Alexander Malmberg
e021f7500a Add error recovery. Make more memory-efficient by avoiding autoreleased objects.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@16385 72102866-910b-0410-8b05-ffd578937521
2003-04-07 10:02:47 +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
Alexander Malmberg
c6beeb60ec Make sure the text storage doesn't have unprocessed editing when using it.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@16378 72102866-910b-0410-8b05-ffd578937521
2003-04-06 13:12:34 +00:00
Alexander Malmberg
5448a979d5 Make preview active by default.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@16368 72102866-910b-0410-8b05-ffd578937521
2003-04-05 11:00:28 +00:00
Richard Frith-Macdonald
39458f8b40 STRICT_OPENSTEP fixes
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@16367 72102866-910b-0410-8b05-ffd578937521
2003-04-05 03:38:53 +00:00
Sergii Stoian
5140df8928 NSMenu fix
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@16356 72102866-910b-0410-8b05-ffd578937521
2003-04-04 13:21:56 +00:00
Sergii Stoian
be2339b537 displayTransient: Call [self sizeToFit] before caclulating locations
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@16355 72102866-910b-0410-8b05-ffd578937521
2003-04-04 12:11:25 +00:00
Sergii Stoian
caad65e58c NSMenu fix
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@16354 72102866-910b-0410-8b05-ffd578937521
2003-04-04 12:10:33 +00:00
Alexander Malmberg
408b16ce51 Misc. cleanups. (-dealloc): Remove the delegate from the notification center for the notifications we added it for.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@16346 72102866-910b-0410-8b05-ffd578937521
2003-04-04 00:51:34 +00:00
Alexander Malmberg
74704f51e3 When steping forward at the end of the glyph runs, correctly handle the case where the current run is extended.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@16345 72102866-910b-0410-8b05-ffd578937521
2003-04-03 18:31:25 +00:00
Alexander Malmberg
60c44310e2 Tweak glyph caching parameters to increase performance.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@16330 72102866-910b-0410-8b05-ffd578937521
2003-04-02 13:28:29 +00:00
Wim (Willem Rein) Oudshoorn
f4e84ae6fe (NSMenuWindowTitleView): reformatted one line to
conform to coding standards


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@16320 72102866-910b-0410-8b05-ffd578937521
2003-04-01 19:52:08 +00:00
Wim (Willem Rein) Oudshoorn
a3c1d4f5f8 renamed ivar _changed to _needsSizing.
([NSMenu -sizeToFit]): Changed call [_view update] to [_view sizeToFit]
([NSMenu -displayTransient]): call [NSMenuView-update] to ensure that the
menuView knows it belongs to a transient menu
([NSMenu -closeTransient]): call [NSMenuView-update] to ensue that the
menuView knows it is not transient anymore.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@16319 72102866-910b-0410-8b05-ffd578937521
2003-04-01 19:51:41 +00:00
Wim (Willem Rein) Oudshoorn
850942ee55 renamed ivar _changed to _needsSizing.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@16318 72102866-910b-0410-8b05-ffd578937521
2003-04-01 19:51:16 +00:00
Wim (Willem Rein) Oudshoorn
c792ada36c updated
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@16317 72102866-910b-0410-8b05-ffd578937521
2003-04-01 19:50:42 +00:00
Richard Frith-Macdonald
fa5c825e40 Initialise the application in the main thread.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@16316 72102866-910b-0410-8b05-ffd578937521
2003-04-01 16:41:03 +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
Adam Fedor
2513205129 Add GSCategories.h
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@16308 72102866-910b-0410-8b05-ffd578937521
2003-04-01 03:46:31 +00:00
Alexander Malmberg
42504c3dd6 (-trackKnob:): Wrap each iteration in an autorelease pool.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@16297 72102866-910b-0410-8b05-ffd578937521
2003-03-30 17:24:47 +00:00
Alexander Malmberg
81c57842ad Correct the name of a delegate method.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@16296 72102866-910b-0410-8b05-ffd578937521
2003-03-30 17:24:30 +00:00
Wim (Willem Rein) Oudshoorn
830105b505 Reformatted to comply to coding standards
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@16293 72102866-910b-0410-8b05-ffd578937521
2003-03-30 12:54:56 +00:00
Wim (Willem Rein) Oudshoorn
a8bb321b35 updated
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@16292 72102866-910b-0410-8b05-ffd578937521
2003-03-30 12:53:46 +00:00
Wim (Willem Rein) Oudshoorn
98bf455e21 Reformatted to comply to
coding standards


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@16291 72102866-910b-0410-8b05-ffd578937521
2003-03-30 12:48:06 +00:00
Wim (Willem Rein) Oudshoorn
a336ec2c38 updated
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@16290 72102866-910b-0410-8b05-ffd578937521
2003-03-30 12:46:49 +00:00
Alexander Malmberg
2bd5b9f6b6 (mouseDown:) Wrap each iteration of the mouse tracking loop in an autorelease pool.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@16289 72102866-910b-0410-8b05-ffd578937521
2003-03-29 20:12:07 +00:00
Sergii Stoian
e8b48a1755 NSMenuView documentation and TODO cleanup
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@16286 72102866-910b-0410-8b05-ffd578937521
2003-03-28 15:18:33 +00:00
Sergii Stoian
be1ccbace3 Documentation and TODO cleanup
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@16285 72102866-910b-0410-8b05-ffd578937521
2003-03-28 15:05:47 +00:00
Sergii Stoian
42cc032eab Documentation addons and cleanup
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@16284 72102866-910b-0410-8b05-ffd578937521
2003-03-28 15:05:03 +00:00