Commit graph

4441 commits

Author SHA1 Message Date
Fred Kiefer
a2db10956e NSWindow now asks the document if it should close the window.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@17509 72102866-910b-0410-8b05-ffd578937521
2003-08-20 14:13:38 +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
Fred Kiefer
b3f77ee1c5 Improved NSPopUpButtonCell to closer conform to the specification.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@17507 72102866-910b-0410-8b05-ffd578937521
2003-08-20 13:23:59 +00:00
Fred Kiefer
9aec274300 Overall change to use method calls rather than direct ivar access.
[setMenu:] also call [setMenuView:]. [removeItemWithTitle],
[removeItemAtIndex] and [removeAllItems] make sure that the
selected item ivar gets unset, when this is
removed. [setMenuItem:] overwrite super method to set/unset the
image. [selectItem:] no longer changes the image of this
item. [synchronizeTitleAndSelectedItem] now works on the menu item
not the selected item. [attachPopUpWithFrame:inView:] added
listening for notifications. [dismissPopUp] remove listening for
notifications. Added [performClickWithFrame:inView:] and
[performClick:]. Further simplified [drawInteriorWithFrame:inView:].
[initWithCoder:] made sure that old stored objects still get read
in correctly even if most ivars may be set wrong.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@17506 72102866-910b-0410-8b05-ffd578937521
2003-08-20 13:17:08 +00:00
Fred Kiefer
1b82a55c2d In [keyDown:] removed setting and unsetting of notification
listening, as this now gets handled in NSPopUpButtonCell.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@17505 72102866-910b-0410-8b05-ffd578937521
2003-08-20 13:16:28 +00:00
Fred Kiefer
bfc31694fd In [itemChanged:] call [setNeedsDisplayForItemAtIndex:] so that
changes get redisplayed.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@17504 72102866-910b-0410-8b05-ffd578937521
2003-08-20 13:15:46 +00:00
Alexander Malmberg
0ab3be5eb5 Don't do initialization that requires the shared application object/backend too early (ie. move it from +initialize to other methods). Add some asserts to try to catch these errors in the future.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@17503 72102866-910b-0410-8b05-ffd578937521
2003-08-20 12:43:52 +00:00
Alexander Malmberg
39c092170a Don't return values from methods returning void.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@17502 72102866-910b-0410-8b05-ffd578937521
2003-08-20 12:13:34 +00:00
Adam Fedor
a412965710 Make sure ext is lowercase
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@17500 72102866-910b-0410-8b05-ffd578937521
2003-08-20 03:58:49 +00:00
Adam Fedor
9265e93659 Don't include ../Headers on non-gnu
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@17494 72102866-910b-0410-8b05-ffd578937521
2003-08-18 20:43:23 +00:00
Adam Fedor
db304032af Fix leak of dictionary object.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@17488 72102866-910b-0410-8b05-ffd578937521
2003-08-18 03:47:42 +00:00
Adam Fedor
1f8c6011b3 Broweser, ImageCell fixes
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@17487 72102866-910b-0410-8b05-ffd578937521
2003-08-18 03:28:58 +00:00
Adam Fedor
a3113ee753 * Source/NSDocument.m ([NSDocument -init]): Check the count of the
types array and uses Viewer and Editor NSRoles to set the default
type.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@17485 72102866-910b-0410-8b05-ffd578937521
2003-08-16 17:12:34 +00:00
David Ayers
a5621a25e4 * Headers/Additions/GNUstepGUI/GSVersion.h: Remove generated
file that should have been ignored by entry in .cvsignore.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@17480 72102866-910b-0410-8b05-ffd578937521
2003-08-13 16:50:49 +00:00
David Ayers
c75e21ec61 * Headers/gnustep/gui/*.h/*.h.in: Remove headers moved in
header reorganization on 2003-07-31.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@17479 72102866-910b-0410-8b05-ffd578937521
2003-08-13 16:31:47 +00:00
Adam Fedor
7546a60acd Man file
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@17473 72102866-910b-0410-8b05-ffd578937521
2003-08-13 03:50:42 +00:00
Alexander Malmberg
4cb2493b3c Add new methods for getting the default defaults for fonts.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@17467 72102866-910b-0410-8b05-ffd578937521
2003-08-10 21:30:49 +00:00
Richard Frith-Macdonald
e9b1c632bd Minor cleanup.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@17451 72102866-910b-0410-8b05-ffd578937521
2003-08-07 10:01:42 +00:00
Ludovic Marcotte
45fdc0cdfa Fixed a bug in NSPopUpButtonCell - see the ChangeLog for details.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@17418 72102866-910b-0410-8b05-ffd578937521
2003-08-02 14:55:30 +00:00
Adam Fedor
8b09ec55a8 Update documentation install
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@17415 72102866-910b-0410-8b05-ffd578937521
2003-08-02 03:41:10 +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
Michael Silva
8512c509e1 Cell modifications to remove unecessary images/color changes.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@17406 72102866-910b-0410-8b05-ffd578937521
2003-07-31 20:47:00 +00:00
Adam Fedor
b1aac22d94 Update doc
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@17405 72102866-910b-0410-8b05-ffd578937521
2003-07-31 14:33:20 +00:00
Alexander Malmberg
e2118a6a32 Make system color list creation more robust; recover from broken System.clr files. Fix locale issue in +colorFromString:.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@17375 72102866-910b-0410-8b05-ffd578937521
2003-07-27 15:56:41 +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
Fred Kiefer
3b12428f3b Made buttons in print panel gorm file non-continuous.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@17370 72102866-910b-0410-8b05-ffd578937521
2003-07-26 16:01:05 +00:00
Fred Kiefer
b55e87eb95 Made all buttons non-continuous.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@17369 72102866-910b-0410-8b05-ffd578937521
2003-07-26 16:00:25 +00:00
Fred Kiefer
d26401e08e Added missing handling of action in NSTableView.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@17368 72102866-910b-0410-8b05-ffd578937521
2003-07-26 15:45:30 +00:00
Fred Kiefer
7ada97ed5d Implemented methods [action] and [setAction:].
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@17367 72102866-910b-0410-8b05-ffd578937521
2003-07-26 15:45:01 +00:00
Fred Kiefer
c308e732a3 Added new ivar _action.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@17366 72102866-910b-0410-8b05-ffd578937521
2003-07-26 15:44:36 +00:00
Fred Kiefer
93725960b2 Changed behaviour of gopen tool.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@17365 72102866-910b-0410-8b05-ffd578937521
2003-07-26 15:23:27 +00:00
Fred Kiefer
377254c2f1 The option -a no longer starts the provided applciation
directly, but uses this application to open the specified files.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@17364 72102866-910b-0410-8b05-ffd578937521
2003-07-26 15:23:00 +00:00
Fred Kiefer
0a6e43c285 Corrections and additions to colour pickers.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@17356 72102866-910b-0410-8b05-ffd578937521
2003-07-26 13:28:25 +00:00
Fred Kiefer
f54c12a2c5 Activate GSNamedColorPicker.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@17355 72102866-910b-0410-8b05-ffd578937521
2003-07-26 13:27:55 +00:00
Fred Kiefer
c10e3fe9f7 Removed background of image.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@17354 72102866-910b-0410-8b05-ffd578937521
2003-07-26 13:27:38 +00:00
Fred Kiefer
52965d1804 Now basically working.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@17353 72102866-910b-0410-8b05-ffd578937521
2003-07-26 13:27:19 +00:00
Fred Kiefer
2bf8409c3d In [_setupPickers] release cell array.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@17352 72102866-910b-0410-8b05-ffd578937521
2003-07-26 13:26:58 +00:00
Fred Kiefer
0f106ebecb Autorelease image returned by [provideNewButtonImage].
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@17351 72102866-910b-0410-8b05-ffd578937521
2003-07-26 13:26:35 +00:00
Fred Kiefer
5e14596773 *** empty log message ***
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@17350 72102866-910b-0410-8b05-ffd578937521
2003-07-26 13:25:52 +00:00
Richard Frith-Macdonald
5db7bc0ebd Make use of NSInvocation
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@17346 72102866-910b-0410-8b05-ffd578937521
2003-07-26 06:27:50 +00:00
Fred Kiefer
b21fa21aa1 Another set of memory leaks found by valgrind.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@17345 72102866-910b-0410-8b05-ffd578937521
2003-07-25 22:55:56 +00:00
Fred Kiefer
0f207ddbc4 In [update:] free the list returned by GSDebugAllocationClassList().
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@17344 72102866-910b-0410-8b05-ffd578937521
2003-07-25 22:55:19 +00:00
Fred Kiefer
bb384bcd99 In [sizeToFit] free isResizable.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@17343 72102866-910b-0410-8b05-ffd578937521
2003-07-25 22:54:59 +00:00
Fred Kiefer
677b253c54 In [_initFromTIFFImage:number:] free the info returned by
NSTiffGetInfo().


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@17342 72102866-910b-0410-8b05-ffd578937521
2003-07-25 22:54:28 +00:00
Fred Kiefer
bcaa711367 Corrected possible memory leak in NSImage.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@17339 72102866-910b-0410-8b05-ffd578937521
2003-07-25 22:15:33 +00:00
Fred Kiefer
907959a781 In [initWithIconHandle:] and [initWithBitmapHandle:] release the
new bitmap image representation after adding it to the array.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@17338 72102866-910b-0410-8b05-ffd578937521
2003-07-25 22:14:40 +00:00
Gregory John Casamento
a6455c8649 Recommitting changelog for GSSpellPanel.gorm addition.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@17333 72102866-910b-0410-8b05-ffd578937521
2003-07-25 03:29:18 +00:00
Adam Fedor
f8aa369261 Fix setting ADDITIONAL_INCLUDE_...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@17332 72102866-910b-0410-8b05-ffd578937521
2003-07-24 15:15:48 +00:00
Gregory John Casamento
d87e9ca295 Added changes to load new .gorm file
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@17327 72102866-910b-0410-8b05-ffd578937521
2003-07-24 03:45:36 +00:00
Gregory John Casamento
cfe42c73ee Adding .gorm file for GSSpellPanel
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@17326 72102866-910b-0410-8b05-ffd578937521
2003-07-24 03:45:05 +00:00