From f3f0b8b94dc6e13a4d2f892f95eae53c540fc2df Mon Sep 17 00:00:00 2001 From: Adam Fedor Date: Wed, 30 Mar 2005 23:55:32 +0000 Subject: [PATCH] * Version 0.9.5 * Headers/AppKit/NSDataLinkManager.h, Source/NSDataLinkManager.m: Partially revert 2005-03-05 patch for this release. git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@21010 72102866-910b-0410-8b05-ffd578937521 --- ANNOUNCE | 18 ++++++------ ChangeLog | 9 +++++- Documentation/ReleaseNotes.gsdoc | 28 ++++++++++++++++++ Documentation/news.texi | 14 +++++++-- Headers/AppKit/NSDataLinkManager.h | 12 +++----- NEWS | 15 +++++++++- README | 2 +- Source/NSDataLinkManager.m | 46 +++++++++++++++--------------- Version | 4 +-- 9 files changed, 100 insertions(+), 48 deletions(-) diff --git a/ANNOUNCE b/ANNOUNCE index db10c9d71..898799075 100644 --- a/ANNOUNCE +++ b/ANNOUNCE @@ -1,7 +1,7 @@ ANNOUNCE ******** -This is version 0.9.4 of the GNUstep GUI library (`gnustep-gui'). +This is version 0.9.5 of the GNUstep GUI library (`gnustep-gui'). What is the GNUstep GUI Library? ================================ @@ -27,25 +27,23 @@ systems. GNUstep Base Library, the TIFF Graphics library, and a back-end component like the GNUstep 'Back' Backend. -Noteworthy changes in version `0.9.4' +Noteworthy changes in version `0.9.5' ===================================== - * The printing classes have been completely reorganized to - accommodate different native printing systems (Thanks to Chad - Hardin). + * Beginnings of CUPS interface were added. - * PPD files have been moved to a separate package. + * Added new control colors and methods from 10.3 version of Cocoa. - * NSToolbar now allows rearranging items. + * Added new font methods from 10.3 version of Cocoa. - * NSScroller, NSScrollView has a new ivar. + * NSApplication -runModalSession behavior changed. - * Some improvement of NSDataLink classes. + * You can find the GUI library's version using the Info.plist Where can you get it? How can you compile it? ============================================== -The gstep-gui-0.9.4.tar.gz distribution file has been placed on +The gstep-gui-0.9.5.tar.gz distribution file has been placed on `ftp.gnustep.org' in `pub/gnustep/core'. Read the INSTALL file or the GNUstep-HOWTO for installation diff --git a/ChangeLog b/ChangeLog index 209e63c9c..2dd0a192f 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,10 @@ +2005-03-30 Adam Fedor + + * Version 0.9.5 + + * Headers/AppKit/NSDataLinkManager.h, Source/NSDataLinkManager.m: + Partially revert 2005-03-05 patch for this release. + 2005-03-29 Adrian Robert * Source/NSWorkspace.m (-_extIconForApp:info:): Check filename is @@ -25,7 +32,7 @@ 2005-03-21 Adam Fedor * Tools/gsnd/portaudio/pa_unix_oss/pa_unix_oss.c: Fix for FreeBSD - FTBFS (Fixes Bug #12316). Strip DOS LFs. + FTBFS (Fixes Bug #12316). Strip DOS CRs. 2005-03-21 Adam Fedor diff --git a/Documentation/ReleaseNotes.gsdoc b/Documentation/ReleaseNotes.gsdoc index d294033c0..bc595553d 100644 --- a/Documentation/ReleaseNotes.gsdoc +++ b/Documentation/ReleaseNotes.gsdoc @@ -18,6 +18,34 @@ changes and other information that might help developers and users migrate to using a newer version of the library.

+
+ Version 0.9.5 +

+

+ + NSColor colors + + Added new control colors and methods from 10.3 version of Cocoa. + + NSFont methods + + Added new font methods from 10.3 version of Cocoa + + NSApplication -runModalSession + + Behavior of this method was changed. In particular it deviates + from Cocoa documentation. See the GNUstep GUI documentation for + specifics. + + Runtime version discovery of library + + A developer can discover the version of the gui library + that is loaded using the NSBundle methods [[NSBundle + bundleForLibrary: @"gnustep-gui"] infoDictionary] + and retrieving the GSBundleVersion key. + + +
Version 0.9.4

diff --git a/Documentation/news.texi b/Documentation/news.texi index 58f56e355..5102791a0 100644 --- a/Documentation/news.texi +++ b/Documentation/news.texi @@ -9,6 +9,18 @@ The currently released version of the library is @samp{@value{GNUSTEP-GUI-VERSION}}. @end ifclear +@section Noteworthy changes in version @samp{0.9.5} + +@itemize @bullet +@item Beginnings of CUPS interface were added. +@item Added new control colors and methods from 10.3 version of Cocoa. +@item Added new font methods from 10.3 version of Cocoa. +@item NSApplication -runModalSession behavior changed. +@item You can find the GUI library's version using the Info.plist +@end itemize + +@ifclear ANNOUNCE-ONLY + @section Noteworthy changes in version @samp{0.9.4} @itemize @bullet @@ -20,8 +32,6 @@ accommodate different native printing systems (Thanks to Chad Hardin). @item Some improvement of NSDataLink classes. @end itemize -@ifclear ANNOUNCE-ONLY - @section Noteworthy changes in version @samp{0.9.3} @itemize @bullet diff --git a/Headers/AppKit/NSDataLinkManager.h b/Headers/AppKit/NSDataLinkManager.h index c032f06b1..67fe187c8 100644 --- a/Headers/AppKit/NSDataLinkManager.h +++ b/Headers/AppKit/NSDataLinkManager.h @@ -44,16 +44,12 @@ // Attributes id delegate; NSString *filename; + BOOL delegateVerifiesLinks; + BOOL interactsWithUser; + BOOL isEdited; + BOOL areLinkOutlinesVisible; NSMutableArray *sourceLinks; NSMutableArray *destinationLinks; - - struct __dlmFlags { - unsigned areLinkOutlinesVisible:1; - unsigned delegateVerifiesLinks:1; - unsigned interactsWithUser:1; - unsigned isEdited:1; - } _flags; - } // diff --git a/NEWS b/NEWS index 2482bc739..f77c4b242 100644 --- a/NEWS +++ b/NEWS @@ -1,7 +1,20 @@ NEWS **** -The currently released version of the library is `0.9.4'. +The currently released version of the library is `0.9.5'. + +Noteworthy changes in version `0.9.5' +===================================== + + * Beginnings of CUPS interface were added. + + * Added new control colors and methods from 10.3 version of Cocoa. + + * Added new font methods from 10.3 version of Cocoa. + + * NSApplication -runModalSession behavior changed. + + * You can find the GUI library's version using the Info.plist Noteworthy changes in version `0.9.4' ===================================== diff --git a/README b/README index b5c04fde9..7f7cd4339 100644 --- a/README +++ b/README @@ -1,7 +1,7 @@ README ****** -This is version 0.9.4 of the GNUstep GUI library (`gnustep-gui'). +This is version 0.9.5 of the GNUstep GUI library (`gnustep-gui'). Here is some introductory info to get you started: diff --git a/Source/NSDataLinkManager.m b/Source/NSDataLinkManager.m index 9d1f97f69..2b641b303 100644 --- a/Source/NSDataLinkManager.m +++ b/Source/NSDataLinkManager.m @@ -108,10 +108,10 @@ { ASSIGN(delegate,anObject); filename = nil; - _flags.delegateVerifiesLinks = NO; - _flags.interactsWithUser = NO; - _flags.isEdited = NO; - _flags.areLinkOutlinesVisible = NO; + delegateVerifiesLinks = NO; + interactsWithUser = NO; + isEdited = NO; + areLinkOutlinesVisible = NO; } return self; @@ -126,10 +126,10 @@ { ASSIGN(delegate,anObject); ASSIGN(filename,path); - _flags.delegateVerifiesLinks = NO; - _flags.interactsWithUser = NO; - _flags.isEdited = NO; - _flags.areLinkOutlinesVisible = NO; + delegateVerifiesLinks = NO; + interactsWithUser = NO; + isEdited = NO; + areLinkOutlinesVisible = NO; } return self; @@ -229,7 +229,7 @@ - (BOOL)delegateVerifiesLinks { - return _flags.delegateVerifiesLinks; + return delegateVerifiesLinks; } - (NSString *)filename @@ -239,22 +239,22 @@ - (BOOL)interactsWithUser { - return _flags.interactsWithUser; + return interactsWithUser; } - (BOOL)isEdited { - return _flags.isEdited; + return isEdited; } - (void)setDelegateVerifiesLinks:(BOOL)flag { - _flags.delegateVerifiesLinks = flag; + delegateVerifiesLinks = flag; } - (void)setInteractsWithUser:(BOOL)flag { - _flags.interactsWithUser = flag; + interactsWithUser = flag; } // @@ -262,7 +262,7 @@ // - (BOOL)areLinkOutlinesVisible { - return _flags.areLinkOutlinesVisible; + return areLinkOutlinesVisible; } - (NSEnumerator *)destinationLinkEnumerator @@ -288,7 +288,7 @@ - (void)setLinkOutlinesVisible:(BOOL)flag { - _flags.areLinkOutlinesVisible = flag; + areLinkOutlinesVisible = flag; } - (NSEnumerator *)sourceLinkEnumerator @@ -307,13 +307,13 @@ [aCoder encodeValueOfObjCType: @encode(id) at: &sourceLinks]; [aCoder encodeValueOfObjCType: @encode(id) at: &destinationLinks]; - flag = _flags.areLinkOutlinesVisible; + flag = areLinkOutlinesVisible; [aCoder encodeValueOfObjCType: @encode(BOOL) at: &flag]; - flag = _flags.delegateVerifiesLinks; + flag = delegateVerifiesLinks; [aCoder encodeValueOfObjCType: @encode(BOOL) at: &flag]; - flag = _flags.interactsWithUser; + flag = interactsWithUser; [aCoder encodeValueOfObjCType: @encode(BOOL) at: &flag]; - flag = _flags.isEdited; + flag = isEdited; [aCoder encodeValueOfObjCType: @encode(BOOL) at: &flag]; } @@ -330,13 +330,13 @@ [aCoder decodeValueOfObjCType: @encode(id) at: &destinationLinks]; [aCoder decodeValueOfObjCType: @encode(BOOL) at: &flag]; - _flags.areLinkOutlinesVisible = flag; + areLinkOutlinesVisible = flag; [aCoder decodeValueOfObjCType: @encode(BOOL) at: &flag]; - _flags.delegateVerifiesLinks = flag; + delegateVerifiesLinks = flag; [aCoder decodeValueOfObjCType: @encode(BOOL) at: &flag]; - _flags.interactsWithUser = flag; + interactsWithUser = flag; [aCoder decodeValueOfObjCType: @encode(BOOL) at: &flag]; - _flags.isEdited = flag; + isEdited = flag; } else { diff --git a/Version b/Version index 9e784fe80..0b532930f 100644 --- a/Version +++ b/Version @@ -11,9 +11,9 @@ GNUSTEP_GUI_LIBTIFF=3.4 # The version number of this release. GNUSTEP_GUI_MAJOR_VERSION=0 GNUSTEP_GUI_MINOR_VERSION=9 -GNUSTEP_GUI_SUBMINOR_VERSION=4 +GNUSTEP_GUI_SUBMINOR_VERSION=5 # numeric value should match above -VERSION_NUMBER=009.4 +VERSION_NUMBER=009.5 GNUSTEP_GUI_VERSION=${GNUSTEP_GUI_MAJOR_VERSION}.${GNUSTEP_GUI_MINOR_VERSION}.${GNUSTEP_GUI_SUBMINOR_VERSION} VERSION=${GNUSTEP_GUI_VERSION}