From f3f0b8b94dc6e13a4d2f892f95eae53c540fc2df Mon Sep 17 00:00:00 2001
From: Adam Fedor
+
+[[NSBundle
+ bundleForLibrary: @"gnustep-gui"] infoDictionary]
+ and retrieving the GSBundleVersion key.
+ 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}