A change was needed by Colin to allow a deep copy of rules in feature_type_style. Latest carto-parser needs this to compile, so will merge into trunk to enable master to work for carto parser.
But I think we should review this in more detail.
now merged. these were the changes that came in (with the last being the one that looks to need review/touchup):
@rundel - possible for you to comment a bit on the background of this?
These changes came up when I was working on style / symbolizer inheritance (rundel/carto-parser#19) with the carto parser since some attributes are stored in shared pointers it was necessary to explicitly create a new copy of these attributes as otherwise updating the child style changes the attribute in the parent. Implementation was quick and dirty but I tried to do it in a way that shouldn't affect anything else. I think I got all the relevant shared pointers but I may have missed something.
The first two patches are just some missing attribute setters.
assigning to artem so he can take a look. My hunch is we'll want to revise this, or remove it, when we actually merge the carto parser code into master.
keep proper type in text sym deep copy - refs #946
/cc @artemp as I know he was looking at cleaning this up recently.
closing, planning on removing what remains of these changes (they are broken anyway by changes in text stuff) and will track a proper solution at #2081
remove unused and broken deepcopy support to be replaced in #2081 - r…
…efs #1390 and #946