* Documentation/news.texi: Fill in some details for pending release.

* Source/NSTableView.m (encodeWithCoder:,initWithCoder:): Use
unsigned int instead of unsigned long for flags.
This commit is contained in:
fredkiefer 2019-01-04 17:01:57 +01:00
parent b8e6de05a3
commit 8e57d2a127
3 changed files with 28 additions and 4 deletions

View file

@ -1,3 +1,9 @@
2019-01-05 Fred Kiefer <FredKiefer@gmx.de>
* Documentation/news.texi: Fill in some details for pending release.
* Source/NSTableView.m (encodeWithCoder:,initWithCoder:): Use
unsigned int instead of unsigned long for flags.
2018-11-19 Riccardo Mottola <rm@gnu.org>
* Headers/Additions/GNUstepGUI/config.h.in

View file

@ -9,6 +9,25 @@
The currently released version of the library is @samp{@value{GNUSTEP-GUI-VERSION}}.
@end ifclear
@section Noteworthy changes in version @samp{0.27.0}
@itemize @bullet
@item Make targetForAction saver.
@item Speed up menu updates.
@item Clean up speech tool compilation and switch to newer interface.
@item Fix bug in CUPS subclassing introduced in last release.
@item Minor improvments to typesetting.
@item Add NSIsControllerMarker.
@item Fix tracking on segmented cell.
@item Bring slider cell closer to Cocoa implementation.
@item Add ivar for CA in NSView.
@item Improve border calculation on printing.
@item Lazy load app icon.
@item Better detection of removable volumnes.
@item Lots of bug fixes.
@end itemize
@ifclear ANNOUNCE-ONLY
@section Noteworthy changes in version @samp{0.26.2}
This version is a small, but important bugfix release.
@ -18,7 +37,6 @@ This version is a small, but important bugfix release.
@item installation: Fix the configure script.
@end itemize
@ifclear ANNOUNCE-ONLY
@section Noteworthy changes in version @samp{0.26.1}
This version is released to conincide with version 1.25.1 of

View file

@ -5429,7 +5429,7 @@ This method is deprecated, use -columnIndexesInRect:. */
{
if ([aCoder allowsKeyedCoding])
{
unsigned long vFlags = 0;
unsigned int vFlags = 0;
NSSize intercellSpacing = [self intercellSpacing];
GSTableViewFlags tableViewFlags;
@ -5485,7 +5485,7 @@ This method is deprecated, use -columnIndexesInRect:. */
tableViewFlags.columnResizing = [self allowsColumnResizing];
tableViewFlags.columnOrdering = [self allowsColumnReordering];
memcpy((void *)&vFlags,(void *)&tableViewFlags,sizeof(unsigned long));
memcpy((void *)&vFlags,(void *)&tableViewFlags,sizeof(unsigned int));
// encode..
[aCoder encodeInt: vFlags forKey: @"NSTvFlags"];
@ -5658,7 +5658,7 @@ This method is deprecated, use -columnIndexesInRect:. */
if ([aDecoder containsValueForKey: @"NSTvFlags"])
{
unsigned long flags = [aDecoder decodeIntForKey: @"NSTvFlags"];
unsigned int flags = [aDecoder decodeIntForKey: @"NSTvFlags"];
GSTableViewFlags tableViewFlags;
memcpy((void *)&tableViewFlags,(void *)&flags,sizeof(struct _tableViewFlags));