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
fedor
5eb0146b3e
Fix
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@17515 72102866-910b-0410-8b05-ffd578937521
2003-08-23 03:25:24 +00:00
fedor
d0649ee7c9
Close file descriptors
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@17514 72102866-910b-0410-8b05-ffd578937521
2003-08-23 03:24:25 +00:00
gcasa
b2c5c9c8d2
Adding new templates and deprecating the old ones.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@17511 72102866-910b-0410-8b05-ffd578937521
2003-08-23 01:03:40 +00:00
FredKiefer
f3bcda5c53
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
FredKiefer
ea0c4b58ef
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
FredKiefer
140b5c370f
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
FredKiefer
a2ddd828cc
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
FredKiefer
b87a5423b6
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
FredKiefer
f71df9baee
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
alexm
67d18e5444
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
alexm
a78145d257
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
fedor
7650dcd30c
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
fedor
890ea4fa6b
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