Re: [gdal-dev] RFC 37: User context data in CPLErrorHandler callbacks

2011-10-25 Thread Daniel Morissette
On 11-10-25 08:59 PM, Howard Butler wrote: Adam Nowaki explored this option, and I put together a patch that implemented it on the ticket. As Even pointed out [1], this approach causes some complications with how CPLSetErrorHandlerEx vs CPLSetErrorHandler works and what it should return. In

Re: [gdal-dev] RFC 37: User context data in CPLErrorHandler callbacks

2011-10-25 Thread Howard Butler
On Oct 25, 2011, at 7:50 PM, Daniel Morissette wrote: > On 11-10-25 11:20 AM, Howard Butler wrote: >> All, >> >> I have prepared an RFC to support the implementation of providing user >> context data in CPLErrorHandling scenarios. I suspect this is a >> non-controversial proposal with limited

Re: [gdal-dev] RFC 37: User context data in CPLErrorHandler callbacks

2011-10-25 Thread Daniel Morissette
On 11-10-25 11:20 AM, Howard Butler wrote: All, I have prepared an RFC to support the implementation of providing user context data in CPLErrorHandling scenarios. I suspect this is a non-controversial proposal with limited applicability and impact for most folks, and I hope to pass the RFC an

Re: [gdal-dev] RFC 37: User context data in CPLErrorHandler callbacks

2011-10-25 Thread Howard Butler
On Oct 25, 2011, at 1:32 PM, Ari Jolma wrote: > On 10/25/2011 09:07 PM, Howard Butler wrote: >>> You also did not address if/how this will be exposed in SWIG languages. >> This RFC is not going to address integration of this capability into the >> usage of error handlers in the SWIG languages, b

Re: [gdal-dev] RFC 37: User context data in CPLErrorHandler callbacks

2011-10-25 Thread Mateusz Łoskot
On 25 October 2011 16:20, Howard Butler wrote: > All, > > I have prepared an RFC to support the implementation of providing user > context data in CPLErrorHandling scenarios. > I suspect this is a non-controversial proposal with limited applicability and > impact for most folks, and > I hope to

Re: [gdal-dev] RFC 37: User context data in CPLErrorHandler callbacks

2011-10-25 Thread Ari Jolma
On 10/25/2011 09:07 PM, Howard Butler wrote: You also did not address if/how this will be exposed in SWIG languages. This RFC is not going to address integration of this capability into the usage of error handlers in the SWIG languages, but bindings maintainers are encouraged to consider how t

Re: [gdal-dev] RFC 37: User context data in CPLErrorHandler callbacks

2011-10-25 Thread Howard Butler
On Oct 25, 2011, at 11:26 AM, Frank Warmerdam wrote: >> http://trac.osgeo.org/gdal/wiki/rfc37_cplerror_userdata > > Howard, > > I would like to suggest the the CPLGetLastErrorUserData() be renamed something > like CPLGetErrorHandlerUserData(). It is *not* returning the user data > associated wi

Re: [gdal-dev] RFC 37: User context data in CPLErrorHandler callbacks

2011-10-25 Thread Frank Warmerdam
On 11-10-25 08:20 AM, Howard Butler wrote: All, I have prepared an RFC to support the implementation of providing user context data in CPLErrorHandling scenarios. I suspect this is a non-controversial proposal with limited applicability and impact for most folks, and I hope to pass the RFC an

[gdal-dev] RFC 37: User context data in CPLErrorHandler callbacks

2011-10-25 Thread Howard Butler
All, I have prepared an RFC to support the implementation of providing user context data in CPLErrorHandling scenarios. I suspect this is a non-controversial proposal with limited applicability and impact for most folks, and I hope to pass the RFC and implement the proposed code in trunk in a w