[mapserver-commits] r13151 - in branches/branch-6-0/mapserver: . mapscript/php

svn at osgeo.org svn at osgeo.org
Wed Feb 15 13:48:28 EST 2012


Author: aboudreault
Date: 2012-02-15 10:48:27 -0800 (Wed, 15 Feb 2012)
New Revision: 13151

Modified:
   branches/branch-6-0/mapserver/HISTORY.TXT
   branches/branch-6-0/mapserver/mapscript/php/style.c
Log:
Backport 6.0: Added missing properties in styleObj setter of PHP/MapScript (#3901)

Modified: branches/branch-6-0/mapserver/HISTORY.TXT
===================================================================
--- branches/branch-6-0/mapserver/HISTORY.TXT	2012-02-14 15:59:44 UTC (rev 13150)
+++ branches/branch-6-0/mapserver/HISTORY.TXT	2012-02-15 18:48:27 UTC (rev 13151)
@@ -17,6 +17,8 @@
 
 - Fixed Memory leak with fribidi strings (#4188)
 
+- Added missing properties in styleObj setter of PHP/MapScript (#3901)
+
 Version 6.0.2 (2012-02-08):
 ---------------------------
 

Modified: branches/branch-6-0/mapserver/mapscript/php/style.c
===================================================================
--- branches/branch-6-0/mapserver/mapscript/php/style.c	2012-02-14 15:59:44 UTC (rev 13150)
+++ branches/branch-6-0/mapserver/mapscript/php/style.c	2012-02-15 18:48:27 UTC (rev 13151)
@@ -225,6 +225,15 @@
     else IF_SET_DOUBLE("minvalue", php_style->style->minvalue, value)
     else IF_SET_DOUBLE("maxvalue", php_style->style->maxvalue, value)
     else IF_SET_STRING("rangeitem", php_style->style->rangeitem, value)
+    else IF_SET_LONG("rangeitemindex", php_style->style->rangeitemindex, value)
+    else IF_SET_DOUBLE("gap", php_style->style->gap, value)
+    else IF_SET_LONG("patternlength", php_style->style->patternlength, value)  
+    else IF_SET_LONG("position", php_style->style->position, value)
+    else IF_SET_LONG("linecap", php_style->style->linecap, value)
+    else IF_SET_LONG("linejoin", php_style->style->linejoin, value)
+    else IF_SET_LONG("linejoinmaxsize", php_style->style->linejoinmaxsize, value)
+    else IF_SET_DOUBLE("angle", php_style->style->angle, value)
+    else IF_SET_LONG("autoangle", php_style->style->autoangle, value)
     else IF_SET_LONG("opacity", php_style->style->opacity, value)
     else if (STRING_EQUAL("symbolname", property))
     {



More information about the mapserver-commits mailing list