FredKiefer
1033677a1e
Undid the tracking of changes for the menu item. Changed [dealloc]
...
to not call clean up methods as these caused segmentation faults
in GNUMail.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@17696 72102866-910b-0410-8b05-ffd578937521
2003-09-21 20:57:24 +00:00
alexm
4bcd00c557
Handle NSTiffPboardType. Based on patch from Nicolas Roard.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@17693 72102866-910b-0410-8b05-ffd578937521
2003-09-21 13:18:35 +00:00
fedor
f79d2b9d9b
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
fedor
6313ec68cc
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
fedor
bfe2bdb1f2
Implement GSReadRect and initWithFocusedViewRect:
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@17687 72102866-910b-0410-8b05-ffd578937521
2003-09-20 02:57:45 +00:00
fedor
7f30a64295
Don't build docs by default
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@17683 72102866-910b-0410-8b05-ffd578937521
2003-09-16 15:12:48 +00:00
FredKiefer
7869f4623c
Corrected previous change.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@17669 72102866-910b-0410-8b05-ffd578937521
2003-09-14 10:40:46 +00:00
FredKiefer
b8ea1f308a
Corrected bug in previous change. In [itemAtIndex:] the index 0
...
was handled wrong.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@17668 72102866-910b-0410-8b05-ffd578937521
2003-09-14 10:40:06 +00:00
FredKiefer
353c1c30b5
Further cleanup of NSPopupButtonCell
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@17667 72102866-910b-0410-8b05-ffd578937521
2003-09-14 00:39:56 +00:00
FredKiefer
15cc035cca
According to Gregory John Casamento <greg_casamento@yahoo.com> the
...
popup button does not change its enable state when the selected item
does. To adopt this behaviour all setEnable: calls have been
removed and one in [initWithCoder:] added that enables the popup
for all old encodings.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@17666 72102866-910b-0410-8b05-ffd578937521
2003-09-14 00:33:05 +00:00
gcasa
5f2ee5703a
PopUpButtonCell correction for compile error
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@17663 72102866-910b-0410-8b05-ffd578937521
2003-09-13 20:59:10 +00:00
FredKiefer
84334f69bc
Improved NSPopupButtoncells interaction with the NSMenu.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@17662 72102866-910b-0410-8b05-ffd578937521
2003-09-13 13:41:26 +00:00
FredKiefer
b435a599a2
Undid last change. Rewrote [setMenu:] to make the popup button
...
cell listen to change notifications of the menu. New method
[itemChanged:] gets called when a menu item changes. Added hack to
[initWithCoder:] to set menu correctly and read old menu items correctly.
Check in [itemAtIndex:] that the index is vaild and return nil
otherwise.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@17661 72102866-910b-0410-8b05-ffd578937521
2003-09-13 13:39:23 +00:00
FredKiefer
bb140116c5
In [update] use [NSApplication targetForAction:to:from:] to be
...
consistent with the [performActionForItemAtIndex:] implementation.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@17660 72102866-910b-0410-8b05-ffd578937521
2003-09-13 13:38:46 +00:00
fedor
bfc26f3c85
Better error checking and documentation
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@17638 72102866-910b-0410-8b05-ffd578937521
2003-09-08 02:07:53 +00:00
gcasa
ae16e6ab96
Correcting an issue with NSPopUpButtonCell
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@17635 72102866-910b-0410-8b05-ffd578937521
2003-09-07 16:46:39 +00:00
alexm
46458d68fc
(getNSFont): Set the explicit-size bit in the role correctly.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@17631 72102866-910b-0410-8b05-ffd578937521
2003-09-06 20:54:34 +00:00
gcasa
460936bb5a
More of the implementation for NSToolbarItem and the images for the "default" items.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@17630 72102866-910b-0410-8b05-ffd578937521
2003-09-06 14:50:26 +00:00
FredKiefer
79ec1c46a6
Autorelease the NSMenuItem [separatorItem].
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@17629 72102866-910b-0410-8b05-ffd578937521
2003-09-06 14:18:41 +00:00
FredKiefer
5aea173ee2
Autorelease the [separatorItem].
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@17628 72102866-910b-0410-8b05-ffd578937521
2003-09-06 14:18:08 +00:00
FredKiefer
993976a07d
Corrected menu item cell enabling.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@17623 72102866-910b-0410-8b05-ffd578937521
2003-09-05 23:29:44 +00:00
FredKiefer
aa281ff436
[setMenuItem:] enable/disable cell. [drawTitleWithFrame:inView:]no
...
longer enable/disable cell.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@17622 72102866-910b-0410-8b05-ffd578937521
2003-09-05 23:28:54 +00:00
FredKiefer
3cea7dac88
In [itemChanged:] set if the cell is enabled like the item.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@17621 72102866-910b-0410-8b05-ffd578937521
2003-09-05 23:28:20 +00:00
alexm
b688282203
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
fedor
7446e72247
Don't mess with file descriptors on MinGW.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@17609 72102866-910b-0410-8b05-ffd578937521
2003-09-03 03:25:56 +00:00
fedor
7758682062
Update
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@17605 72102866-910b-0410-8b05-ffd578937521
2003-09-02 16:29:33 +00:00
FredKiefer
aea2927168
Removed new GCC 3.4 warnings from Alexander Malmbergs list.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@17601 72102866-910b-0410-8b05-ffd578937521
2003-09-01 18:17:52 +00:00
FredKiefer
7aeee17b47
Removed uneeded and inconsistent method declarations.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@17599 72102866-910b-0410-8b05-ffd578937521
2003-09-01 18:17:06 +00:00
FredKiefer
577b5966f4
Added protocol NSTextInput to ivar _currentClient.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@17598 72102866-910b-0410-8b05-ffd578937521
2003-09-01 18:16:36 +00:00
FredKiefer
0e6a25c6c5
Corrected type of method _nonAutoreleasedTypingAttributes
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@17597 72102866-910b-0410-8b05-ffd578937521
2003-09-01 18:16:11 +00:00
FredKiefer
5194d12d30
Removed unused global currentVersion.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@17596 72102866-910b-0410-8b05-ffd578937521
2003-09-01 18:15:10 +00:00
FredKiefer
15de24ceb8
[readFromURL:options:documentAttributes:] corrected the handling
...
to type "text", where [NSString alloc] was missing.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@17595 72102866-910b-0410-8b05-ffd578937521
2003-09-01 18:14:47 +00:00
FredKiefer
ebc9b587f5
Implemented support for fredesktop.org thumbnail icons.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@17594 72102866-910b-0410-8b05-ffd578937521
2003-09-01 17:00:24 +00:00
FredKiefer
a85453cb12
Documented the new user default value GSUseFreedesktopThumbnails.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@17593 72102866-910b-0410-8b05-ffd578937521
2003-09-01 16:59:41 +00:00
FredKiefer
7eacf82620
New method [_saveImageFor:] used in all places in this file where
...
an icon is created from a file name. New method
[thumbnailForFile:] calculated the name of the corresponding
FreeDeskTop.org thumbnail file for a given file name. This does
not chack if this file exists!. In [iconForFile:] use this
thumbnails if the user default GSUseFreedesktopThumbnails is YES.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@17592 72102866-910b-0410-8b05-ffd578937521
2003-09-01 16:58:54 +00:00
FredKiefer
c172aac0ad
[canInitWithData:], [imageRepsWithData:] and [initWithData:]
...
protect against data being nil. [imageRepsWithFile:] check if the
file exists and only return an array when it contains objects.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@17591 72102866-910b-0410-8b05-ffd578937521
2003-09-01 16:58:27 +00:00
gcasa
78e8351d96
Corrected mainMenu initialization problem
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@17582 72102866-910b-0410-8b05-ffd578937521
2003-09-01 09:21:46 +00:00
gcasa
fdc00dd0a1
Corrected initialization problem. Was doing [NSButton init...
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@17579 72102866-910b-0410-8b05-ffd578937521
2003-08-31 13:28:03 +00:00
gcasa
d216220c40
Correct extra retain count issue.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@17576 72102866-910b-0410-8b05-ffd578937521
2003-08-31 03:42:03 +00:00
FredKiefer
7e55c00b23
Cleanup of notification handling in NSWindowController.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@17575 72102866-910b-0410-8b05-ffd578937521
2003-08-30 19:13:58 +00:00
FredKiefer
ca261a11e3
Changed [setWindow:] to manage the notification connection to the window.
...
[initWithWindow:], [dealloc] and [_windowWillClose:] now use [setWindow:].
[setDocument:] now no longer retains the document, as this is
already retaining the window controller. Simplified [loadWindow]
by using the method [windowNibPath].
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@17574 72102866-910b-0410-8b05-ffd578937521
2003-08-30 19:13:10 +00:00
gcasa
43bab27b60
Added code to conditionally call desig. init. if it is defined on current class (only not parents).
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@17572 72102866-910b-0410-8b05-ffd578937521
2003-08-30 05:01:47 +00:00
fedor
f8ab0f44ef
* Source/GNUmakefile.preamble (ADDITIONAL_OBJCFLAGS): Include
...
target dir for config.h (disable-flattened).
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@17571 72102866-910b-0410-8b05-ffd578937521
2003-08-30 03:47:10 +00:00
fedor
ebd3b041e1
Reopen stderr
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@17567 72102866-910b-0410-8b05-ffd578937521
2003-08-29 14:59:45 +00:00
gcasa
d803a3ac7e
Updated variable names. Added more implementation.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@17566 72102866-910b-0410-8b05-ffd578937521
2003-08-29 04:13:48 +00:00
gcasa
b865d283b8
Corrected a segfault and prevent calling designated initializer when loading into interface buidler app.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@17562 72102866-910b-0410-8b05-ffd578937521
2003-08-28 04:38:22 +00:00
fedor
6476e59070
Set daemon flag when forking.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@17560 72102866-910b-0410-8b05-ffd578937521
2003-08-28 02:40:03 +00:00
fedor
8e68942f7e
Version 0.8.9
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@17553 72102866-910b-0410-8b05-ffd578937521
2003-08-27 02:35:09 +00:00
gcasa
912fbf52a0
Corrected a memory issue.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@17535 72102866-910b-0410-8b05-ffd578937521
2003-08-25 04:50:09 +00:00
gcasa
cf54a0032b
Added more of the implementation for toolbar/toolbaritem. Added check in GSClassSwapper to prevent an error case.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@17532 72102866-910b-0410-8b05-ffd578937521
2003-08-24 17:22:11 +00:00