[sane-devel] [RFC] how to enable 1.1 features

2008-02-29 Thread Alessandro Zummo
On Thu, 28 Feb 2008 17:57:29 -0500 m. allan noah kitno455 at gmail.com wrote: Why an 1.1 COMPLIANT frontend should be allowed to compile against 1.0 SANE? I've never seen in my whole life any other library that has such a requirement. When the library version changes, you have to

[sane-devel] [RFC] how to enable 1.1 features

2008-02-29 Thread Julien BLACHE
Alessandro Zummo azummo-lists at towertech.it wrote: Hi, By declaring that you are sane 1.1 compliant you, the programmer, are telling your users that you have put your efforts into making your code robust, to check and handle error codes. I got lost in what you're proposing to use a the

[sane-devel] [RFC] how to enable 1.1 features

2008-02-29 Thread Alessandro Zummo
On Fri, 29 Feb 2008 19:10:11 +0100 Julien BLACHE jb at jblache.org wrote: Alessandro Zummo azummo-lists at towertech.it wrote: Hi, By declaring that you are sane 1.1 compliant you, the programmer, are telling your users that you have put your efforts into making your code robust,

[sane-devel] [RFC] how to enable 1.1 features

2008-02-28 Thread Olaf Meeuwissen
Alessandro Zummo azummo-lists at towertech.it writes: please see the attached patch regarding my proposal for a safe enabling of 1.1 features in the backends. [snip] --- sane-backends.orig/include/sane/sane.h2008-02-26 00:07:40.0 +0100 +++ sane-backends/include/sane/sane.h

[sane-devel] [RFC] how to enable 1.1 features

2008-02-28 Thread Alessandro Zummo
On Thu, 28 Feb 2008 08:43:26 +0900 Olaf Meeuwissen olaf.meeuwissen at avasys.jp wrote: Alessandro Zummo azummo-lists at towertech.it writes: please see the attached patch regarding my proposal for a safe enabling of 1.1 features in the backends. Hmm, the SANE Standard Version 1.03

[sane-devel] [RFC] how to enable 1.1 features

2008-02-28 Thread m. allan noah
On Thu, Feb 28, 2008 at 4:29 AM, Alessandro Zummo azummo-lists at towertech.it wrote: On Thu, 28 Feb 2008 08:43:26 +0900 Olaf Meeuwissen olaf.meeuwissen at avasys.jp wrote: Alessandro Zummo azummo-lists at towertech.it writes: please see the attached patch regarding my proposal

[sane-devel] [RFC] how to enable 1.1 features

2008-02-28 Thread Alessandro Zummo
On Thu, 28 Feb 2008 09:28:59 -0500 m. allan noah kitno455 at gmail.com wrote: in the fujitsu backend, i previously had added a 'compression' option with the description warning of possible front-end incompatibility, and the default setting to not compress. i feel this is sufficient, because

[sane-devel] [RFC] how to enable 1.1 features

2008-02-28 Thread m. allan noah
On Thu, Feb 28, 2008 at 3:46 PM, Alessandro Zummo azummo-lists at towertech.it wrote: On Thu, 28 Feb 2008 09:28:59 -0500 m. allan noah kitno455 at gmail.com wrote: in the fujitsu backend, i previously had added a 'compression' option with the description warning of possible front-end

[sane-devel] [RFC] how to enable 1.1 features

2008-02-28 Thread Alessandro Zummo
On Thu, 28 Feb 2008 16:03:23 -0500 m. allan noah kitno455 at gmail.com wrote: Hi do not agree here. I'd like for both backends and frontends to be well-written. This is the whole point and I believe it is perfectly reasonable. but nothing about my suggestion will prevent authors

[sane-devel] [RFC] how to enable 1.1 features

2008-02-28 Thread m. allan noah
resend to list- sorry alessandro- On Thu, Feb 28, 2008 at 4:47 PM, m. allan noah kitno455 at gmail.com wrote: On Thu, Feb 28, 2008 at 4:20 PM, Alessandro Zummo azummo-lists at towertech.it wrote: On Thu, 28 Feb 2008 16:03:23 -0500 m. allan noah kitno455 at gmail.com wrote:

[sane-devel] [RFC] how to enable 1.1 features

2008-02-28 Thread Alessandro Zummo
On Thu, 28 Feb 2008 16:48:51 -0500 m. allan noah kitno455 at gmail.com wrote: but nothing about my suggestion will prevent authors from writing good code :) but you are not going to induce them to do so :) and neither are you :) I would, trust me, I would.. :-D

[sane-devel] [RFC] how to enable 1.1 features

2008-02-28 Thread m. allan noah
On 2/28/08, Alessandro Zummo azummo-lists at towertech.it wrote: The fact that the code exists do not make it less ugly. ah- it might not be perfect, but it MUST continue to exist, so lets use it instead of adding a new interface, and requiring authors that want their

[sane-devel] [RFC] how to enable 1.1 features

2008-02-28 Thread m. allan noah
On 2/28/08, Alessandro Zummo azummo-lists at towertech.it wrote: On Thu, 28 Feb 2008 17:57:29 -0500 m. allan noah kitno455 at gmail.com wrote: Why an 1.1 COMPLIANT frontend should be allowed to compile against 1.0 SANE? I've never seen in my whole life any other library that

[sane-devel] [RFC] how to enable 1.1 features

2008-02-28 Thread m. allan noah
On 2/28/08, Alessandro Zummo azummo-lists at towertech.it wrote: With your repeated requests to make other API changes, and your willingness to write code, how about we bite this bullet and re-open the discussion about building a new, simpler sane2? because I don't want to discuss, I

[sane-devel] [RFC] how to enable 1.1 features

2008-02-27 Thread Alessandro Zummo
Hi folks, please see the attached patch regarding my proposal for a safe enabling of 1.1 features in the backends. I've included a few small docs, checked some drivers for the correct behaviour and added 1.1 features to the coolscan3 driver. The basic points of my proposal are: a)