Added sheet display methods to NSApplication. Use them in NSSavePanel

and NSOpenPanel. Simlified these classes by introducing new methods.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@10926 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
Fred Kiefer 2001-09-17 12:27:47 +00:00
parent 9977f8f7cf
commit 5f05c50ff9

View file

@ -1,3 +1,36 @@
2001-09-15 Fred Kiefer <FredKiefer@gmx.de>
* Header/gnustep/gui/NSApplication.h
Added some new MacOSX methods.
* Source/NSApplication.m
Dummy implementation for [hideOtherApplications:] and
[unhideAllApplications:]. Simple implementation for
[runModalForWindow:relativeToWindow:], [endSheet:] and [beginSheet:...].
Removed various uneeded [update] and [sizeToFit] calls for menu operations.
* Header/gnustep/gui/NSSavePanel.h
Added some new MacOSX methods. Removed ivar _selfHasShowExtensionFilter.
* Source/NSSavePanel.m
Implemented [URL]. New methods [_setupForDirectory:file:] and
[_shouldShowExtension:isDir:]. Removed check for extension filter
in [init]. Simplified [runModalForDirectory:file:]. Implemented
[runModalForDirectory:...relativeToWindow:] and
[beginSheetForDirectory:...]. In [browser:createRowsForColumn:inMatrix:]
allways call [_shouldShowExtension:isDir:].
* Header/gnustep/gui/NSOpenPanel.h
Added some new MacOSX methods.
* Source/NSOpenPanel.m
Implemented [URLs]. New method [_setupForDirectory:file:]. Simplified
[runModalForDirectory:file:types:]. Implemented
[runModalForDirectory:...relativeToWindow:] and [beginSheetForDirectory:...].
Declare all needed private methods from NSSavePanel.
* Header/gnustep/gui/NSAttributedString.h
Added method [NSMutableAttributedString
readFromURL:options:documentAttributes:].
* Source/NSAttributedString.m
Implemented [readFromURL:options:documentAttributes:]. In
[applyFontTraits:range:] use [NSFontManager
convertFont:toHaveTrait:] instead of explicit font creation.
2001-09-16 Adam Fedor <fedor@gnu.org>
* Source/NSImage.m (-initByReferencingFile:): set archiveByName.