Author: ivucica
Date: Sun Jan 17 22:36:14 2016
New Revision: 39287
URL: http://svn.gna.org/viewcvs/gnustep?rev=39287&view=rev
Log:
Opted to undo the -[NSBezierPath setLineDash:] patch's check for
count > _dash_count, as NSZoneRealloc() should be allowed to
reduce the allocated block's size.
Additionally, updated ChangeLog.
Modified:
libs/gui/trunk/ChangeLog
libs/gui/trunk/Source/NSBezierPath.m
Modified: libs/gui/trunk/ChangeLog
URL:
http://svn.gna.org/viewcvs/gnustep/libs/gui/trunk/ChangeLog?rev=39287&r1=39286&r2=39287&view=diff
==============================================================================
--- libs/gui/trunk/ChangeLog (original)
+++ libs/gui/trunk/ChangeLog Sun Jan 17 22:36:14 2016
@@ -1,3 +1,22 @@
+2016-01-17 Ivan Vucica <[email protected]>
+
+ * Source/NSBezierPath.m (-setLineDash:):
+ Cherrypicked r39277 by Marcian Lytwtyn <[email protected]>: NSZoneRealloc
+ called without saving the return value.
+
+ Aside from merging the patch, opted to undo the patch's check for
+ count > _dash_count, as NSZoneRealloc() should be allowed to reduce the
+ allocated block's size.
+
+ * Source/GSThemeDrawing.m (-drawBoxInClipRect:boxType:...):
+ Cherrypicked r39276 by Paul Landers <[email protected]>:
+ Use controlShadowColor when the color for NSBoxSeparator is not set.
+ Xcode is not setting colors for these types of boxes in xibs.
+
+ * Source/NSToolbar.m (-runCustomizationPalette:):
+ Cherrypicked r39256 by Paul Landers <[email protected]>:
+ Show toolbar before customizing.
+
2015-11-19 Riccardo Mottola <[email protected]>
* Images/common_MultipleSelection.tiff
Modified: libs/gui/trunk/Source/NSBezierPath.m
URL:
http://svn.gna.org/viewcvs/gnustep/libs/gui/trunk/Source/NSBezierPath.m?rev=39287&r1=39286&r2=39287&view=diff
==============================================================================
--- libs/gui/trunk/Source/NSBezierPath.m (original)
+++ libs/gui/trunk/Source/NSBezierPath.m Sun Jan 17 22:36:14 2016
@@ -500,7 +500,7 @@
if (_dash_pattern == NULL)
_dash_pattern = NSZoneMalloc(myZone, count * sizeof(CGFloat));
- else if (count > _dash_count)
+ else
_dash_pattern = NSZoneRealloc(myZone, _dash_pattern, count *
sizeof(CGFloat));
_dash_count = count;
_______________________________________________
Gnustep-cvs mailing list
[email protected]
https://mail.gna.org/listinfo/gnustep-cvs