Commit graph

3027 commits

Author SHA1 Message Date
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
b964ba883e 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
Nicola Pero
b314f67bd1 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
Nicola Pero
ef2de2e61a 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
Nicola Pero
35e7354c68 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
Nicola Pero
f93f57ced9 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
Nicola Pero
f61cb95e29 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
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
64818a9b0c 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
Nicola Pero
9939bf19e0 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
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
Richard Frith-Macdonald
d95eb2ac84 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
Nicola Pero
9a2a55ecee 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
Nicola Pero
d33b4454ce 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
Nicola Pero
386aadd1e6 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
Nicola Pero
849bf40175 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
Nicola Pero
edb8be1a9e 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
Richard Frith-Macdonald
ae8ea4d667 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
Pierre-Yves Rivaille
3d7f962a3b 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
Nicola Pero
0011bc4c02 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
Nicola Pero
b7845d2a17 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
Gregory John Casamento
3572c9dc61 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
Pierre-Yves Rivaille
2b8be48edf 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
Pierre-Yves Rivaille
632eaef8bc 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
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
Pierre-Yves Rivaille
6238482705 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
Richard Frith-Macdonald
abf4add631 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
Nicola Pero
c9d93d5b72 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
Nicola Pero
38e56f0ef9 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
Nicola Pero
e277935bfc 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
Nicola Pero
774004fa9f 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
Richard Frith-Macdonald
bd3c9c2035 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
Richard Frith-Macdonald
8d1c5e8231 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
Richard Frith-Macdonald
32f4e911ed Tiny performance hack
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@12534 72102866-910b-0410-8b05-ffd578937521
2002-02-13 21:10:55 +00:00
Pierre-Yves Rivaille
c85735d0ca correction to remove warning
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@12524 72102866-910b-0410-8b05-ffd578937521
2002-02-13 17:38:57 +00:00
Pierre-Yves Rivaille
a359ad7c09 Source/NSTableView.m: all variable declarations at the blocks' starts
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@12523 72102866-910b-0410-8b05-ffd578937521
2002-02-13 17:25:55 +00:00
Pierre-Yves Rivaille
a132a6d4d1 Source/NSTableHeaderCell.m: all variable declarations at the blocks' starts
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@12522 72102866-910b-0410-8b05-ffd578937521
2002-02-13 17:11:02 +00:00
Pierre-Yves Rivaille
7269d0c8eb * Source/NSTableHeaderCell.m: New drawing code, support for
highlighted cells.
* Source/NSTableHeaderView.m: support for drawing highlighted
  column, support for NSTableView mouseDownInHeaderOfTableColumn:
  and didClickTableColumn: delegate messages.
* Source/NSTableView.m: rewrite of -mouseDown method.
  rewrite of selection handling to fully support the specs
  new tableView:didClickTableColumn: and
  tableView:mouseDownInHeaderOfTableColumn delegate messages
  [NSTableView -setHighlightedTableColumn:]
  [NSTableView -highlightedTableColumn]: methods implemented.
* Headers/gnustep/gui/NSTableView.h:
  new _highlightedTableColumn ivar.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@12521 72102866-910b-0410-8b05-ffd578937521
2002-02-13 16:34:40 +00:00
Richard Frith-Macdonald
fcfe13f6db minor fix
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@12513 72102866-910b-0410-8b05-ffd578937521
2002-02-12 19:10:31 +00:00
Nicola Pero
9d1b198a9e Textfields should now work again
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@12498 72102866-910b-0410-8b05-ffd578937521
2002-02-11 17:21:38 +00:00
Nicola Pero
9dfbbceaf2 Updated for changes in semantics of NSMutableAttributedString -string
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@12497 72102866-910b-0410-8b05-ffd578937521
2002-02-11 17:21:13 +00:00
Nicola Pero
025eee8a38 Fixed selecting text in textviews which was broken by my previous fix
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@12494 72102866-910b-0410-8b05-ffd578937521
2002-02-11 16:40:02 +00:00
Nicola Pero
ca71e9de80 Always update the internal knowledge of the first text view when a
text container tells us that it has changed text view


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@12493 72102866-910b-0410-8b05-ffd578937521
2002-02-11 16:37:21 +00:00
Nicola Pero
b7d009fa07 Always inform the layout manager that the textview is changed
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@12492 72102866-910b-0410-8b05-ffd578937521
2002-02-11 16:36:55 +00:00
Richard Frith-Macdonald
f20aa934fc nib loading fix added.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@12491 72102866-910b-0410-8b05-ffd578937521
2002-02-11 16:29:15 +00:00
Richard Frith-Macdonald
3e53223862 Add patch to avoid unnecessary redrawing.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@12490 72102866-910b-0410-8b05-ffd578937521
2002-02-11 14:06:00 +00:00
Nicola Pero
b6b6fdd813 Fixed dealloc of NSLayoutManager for layout managers which have not been -init
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@12485 72102866-910b-0410-8b05-ffd578937521
2002-02-11 02:42:37 +00:00
Nicola Pero
90f3074971 Fixed dealloc so that it can dealloc a layout manager which has not been
-init


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@12484 72102866-910b-0410-8b05-ffd578937521
2002-02-11 02:42:12 +00:00
Nicola Pero
8e7bfb06a7 Fixes in the layout manager so that it no longer crash if you use it without
a text container - updated NSText startup sequence for this change


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@12483 72102866-910b-0410-8b05-ffd578937521
2002-02-11 02:03:24 +00:00
Nicola Pero
6a3a289ea7 Updated setup of the text system for changes in NSLayoutManager
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@12482 72102866-910b-0410-8b05-ffd578937521
2002-02-11 02:02:10 +00:00