@locherunderscore did a good job of updating this so it at least doesn't crash in 4.1, and I've done a bit of work so it doesn't totally crash in 4.2, however it could definitely use some improvement. Still, my own attempts at updating straight from mainline master to 4.2.2 were horrendous so I see no reason why these contributions shouldn't be merged in.
@locherunderscore did a good job of updating this so it at least doesn't crash in 4.1, and I've done a bit of work so it doesn't totally crash in 4.2, however it could definitely use some improvement. Still, my own attempts at updating straight from mainline master to 4.2.2 were horrendous so I see no reason why these contributions shouldn't be merged in.