Commit graph

4644 commits

Author SHA1 Message Date
gcasa
6fa43db4ec Adding NSOutlineView changes so far so that everyone can see the progress which has been made. GJC
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@12704 72102866-910b-0410-8b05-ffd578937521
2002-02-23 16:37:17 +00:00
nico
b8b33c6f50 Fixed timing of display of torn off menu on screen at startup
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@12703 72102866-910b-0410-8b05-ffd578937521
2002-02-23 12:19:22 +00:00
nico
7354abc723 On startup, display torn off menus when the app did launch, not before, so
that the programmer can set up menus before that


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@12702 72102866-910b-0410-8b05-ffd578937521
2002-02-23 12:18:26 +00:00
nico
148f4a994d Lot of fixes for memory management of menu views and menu item cells. Menus
seem to dealloc properly (or at least dealloc and dealloc on components) now


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@12701 72102866-910b-0410-8b05-ffd578937521
2002-02-23 12:00:59 +00:00
nico
526728e522 Fixes for memory management ... to help the menus dealloc properly (/dealloc
at all)


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@12700 72102866-910b-0410-8b05-ffd578937521
2002-02-23 11:58:54 +00:00
nico
6c3c0108da Comment change, debuglog removed
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@12699 72102866-910b-0410-8b05-ffd578937521
2002-02-23 11:17:51 +00:00
nico
cb5dc2580a Various comments added
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@12698 72102866-910b-0410-8b05-ffd578937521
2002-02-23 11:16:59 +00:00
nico
544720e3bc Indented some lines
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@12697 72102866-910b-0410-8b05-ffd578937521
2002-02-23 10:38:35 +00:00
nico
38931d5dbb Fixed bug in NSTableView editing ... was copying the string from one cell
to another one when moving with TAB.  Fixed memory leak in NSTableView.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@12695 72102866-910b-0410-8b05-ffd578937521
2002-02-23 01:14:37 +00:00
nico
f140aff6e3 Fixed a couple of very technical bugs ... pressing TAB between cells while
editing would copy the string, and _editedCells wouldn't get released properly


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@12694 72102866-910b-0410-8b05-ffd578937521
2002-02-23 01:12:26 +00:00
nico
b84227ca56 Fixed problems in the deallocation of windows and in the final shutdown
of the application


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@12693 72102866-910b-0410-8b05-ffd578937521
2002-02-22 23:06:07 +00:00
nico
d3646cd45e Don't remove the window autosave frame for the user defaults on dealloc
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@12692 72102866-910b-0410-8b05-ffd578937521
2002-02-22 23:05:06 +00:00
nico
c6115f8a6e 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
nico
3c4c9c2990 Fixed destroying the main loop autorelease pool when the app terminates
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@12690 72102866-910b-0410-8b05-ffd578937521
2002-02-22 22:40:45 +00:00
nico
c5b981b69d 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
nico
11846541e8 Store the run loop pool in an ivar so that terminate can destroy it
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@12688 72102866-910b-0410-8b05-ffd578937521
2002-02-22 22:38:58 +00:00
nico
d7611784d2 Use an autorelease pool in NSApplication.m terminate:
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@12685 72102866-910b-0410-8b05-ffd578937521
2002-02-22 18:26:46 +00:00
nico
e541d445bf 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
nico
394ae0ee4f Indented line
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@12681 72102866-910b-0410-8b05-ffd578937521
2002-02-22 17:17:01 +00:00
nico
21f689b955 Start the memory panel when you click on the application icon
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@12644 72102866-910b-0410-8b05-ffd578937521
2002-02-22 01:33:07 +00:00
nico
a515202130 In NSWindow, removed code trying to send keyUp: to the original first
responder.  simply send it to the view currently being first responder


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@12632 72102866-910b-0410-8b05-ffd578937521
2002-02-21 23:53:47 +00:00
nico
43509b62bb Removed _originalResponder
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@12631 72102866-910b-0410-8b05-ffd578937521
2002-02-21 23:52:38 +00:00
nico
ab75e773a8 Simplified sending keyUp: ... send them to the current first responder
rather than trying to save the original first responder


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@12630 72102866-910b-0410-8b05-ffd578937521
2002-02-21 23:40:39 +00:00
nico
8c2deb359a Another fix for menu items in the Windows menu
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@12617 72102866-910b-0410-8b05-ffd578937521
2002-02-21 11:12:02 +00:00
nico
59152dc861 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
nico
b8347c6445 Fixes for adding an existing entry to the application's windows menu, and for
mouse down on tab views


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@12612 72102866-910b-0410-8b05-ffd578937521
2002-02-20 23:14:27 +00:00
nico
7e590b5137 Fixed problem on mouseDown:
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@12611 72102866-910b-0410-8b05-ffd578937521
2002-02-20 23:13:15 +00:00
nico
296bb40b30 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
CaS
b5dad7bf50 More layout fixes
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@12608 72102866-910b-0410-8b05-ffd578937521
2002-02-20 19:39:15 +00:00
nico
d18dff286c Added the memory panel previously only available for GSTest.app. To allow
applications to use it without any API change, bound the memory panel popup
to the application icon in the info panel


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@12602 72102866-910b-0410-8b05-ffd578937521
2002-02-20 19:23:06 +00:00
nico
2b92aca887 Compile GSMemoryPanel.m and install GSMemoryPanel.h
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@12601 72102866-910b-0410-8b05-ffd578937521
2002-02-20 19:22:16 +00:00
nico
ec80df96a9 New file
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@12600 72102866-910b-0410-8b05-ffd578937521
2002-02-20 19:21:43 +00:00
nico
32b0c493c1 Fixed problems with NSBox inside gmodels
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@12577 72102866-910b-0410-8b05-ffd578937521
2002-02-20 12:37:59 +00:00
nico
6516c9ada9 Fixed NSBox archiving/dearchiving
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@12576 72102866-910b-0410-8b05-ffd578937521
2002-02-20 12:37:31 +00:00
CaS
415e49b24b Glyph handling improvments.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@12570 72102866-910b-0410-8b05-ffd578937521
2002-02-20 08:52:39 +00:00
pyr
3b0b8a7f1a Source/NSTableView.m (see changelog)
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@12565 72102866-910b-0410-8b05-ffd578937521
2002-02-19 18:49:50 +00:00
nico
ccd80daada Fix for retain count of a textview going below zero when it's deallocated
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@12564 72102866-910b-0410-8b05-ffd578937521
2002-02-19 12:03:42 +00:00
nico
6782dacce1 Fix for release count going below zero in dealloc :-)
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@12563 72102866-910b-0410-8b05-ffd578937521
2002-02-19 12:03:08 +00:00
gcasa
e9d31c2af3 Made correction necessary for NSWindow.m to build w/ gcc < 3.0. This is necessary to support systems with earlier compilers (such as Darwin).
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@12562 72102866-910b-0410-8b05-ffd578937521
2002-02-19 02:33:52 +00:00
pyr
922d3feac6 Source/NSTableHeaderView.m ([-mouseDown:]): redraw the headercell when
column reordering is on.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@12561 72102866-910b-0410-8b05-ffd578937521
2002-02-18 21:39:31 +00:00
pyr
3c89f1701f Source/NSWindow.m ([NSWindow -close]): ignore the call if the window
is already closed


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@12558 72102866-910b-0410-8b05-ffd578937521
2002-02-18 12:10:06 +00:00
pyr
19b6a559dd 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
pyr
99e94e0964 Source/NSApplication (terminate:): send close method to all windows
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@12556 72102866-910b-0410-8b05-ffd578937521
2002-02-17 23:16:38 +00:00
CaS
8270dcc256 Improved autogsdoc flags
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@12546 72102866-910b-0410-8b05-ffd578937521
2002-02-14 14:20:42 +00:00
nico
5a96a6591e Fixed to draw more efficiently the popup buttons
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@12545 72102866-910b-0410-8b05-ffd578937521
2002-02-14 13:46:36 +00:00
nico
368dda2595 Do not draw state image for popup buttons ... in an efficient way
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@12544 72102866-910b-0410-8b05-ffd578937521
2002-02-14 13:41:34 +00:00
nico
6db01c15c7 Fixed for drawing with no state image
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@12543 72102866-910b-0410-8b05-ffd578937521
2002-02-14 13:36:37 +00:00
nico
d24a925169 Added suggestion for further improvement in comment
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@12542 72102866-910b-0410-8b05-ffd578937521
2002-02-14 13:24:01 +00:00
CaS
9757b7d2e2 Tidied to refrain from acessing GNUSTEP_USER_ROOT directly
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@12537 72102866-910b-0410-8b05-ffd578937521
2002-02-13 21:57:48 +00:00
CaS
9b57dfdd7b Fix to use correct user root.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@12536 72102866-910b-0410-8b05-ffd578937521
2002-02-13 21:35:15 +00:00