1141cc406Sopenharmony_ciCHANGES FOR UMAX BACKEND FOR SANE
2141cc406Sopenharmony_ci---------------------------------
3141cc406Sopenharmony_ci
4141cc406Sopenharmony_ciumax -> sane-0.6:
5141cc406Sopenharmony_ci-----------------
6141cc406Sopenharmony_ci
7141cc406Sopenharmony_ci    * umax-sane-backend created:
8141cc406Sopenharmony_ci      - umax.c split in:
9141cc406Sopenharmony_ci        umax-cli.c, umax-scsi.c, umax-driver.c, umax-text.c
10141cc406Sopenharmony_ci      - umax.h split in:
11141cc406Sopenharmony_ci        umax-scanner.h, umax-scsi.h, umax-scsidef.h, umax-struct.h
12141cc406Sopenharmony_ci      - outputs done by DBG(level,msg,args...) defined in debug.h
13141cc406Sopenharmony_ci      - scsi-calls changed to sane-format (of sane-0.57)
14141cc406Sopenharmony_ci      - created umax.c and umax.h for sane-backend
15141cc406Sopenharmony_ci
16141cc406Sopenharmony_ci    * changed search-path for scsi.h and sg.h, now needs /usr/include/scsi
17141cc406Sopenharmony_ci
18141cc406Sopenharmony_ci    * removed mistake in bound-function
19141cc406Sopenharmony_ci
20141cc406Sopenharmony_ci    * added "Vista S-6E" as supported
21141cc406Sopenharmony_ci
22141cc406Sopenharmony_ci    * added PowerLook-II (PL-II) as supported
23141cc406Sopenharmony_ci
24141cc406Sopenharmony_ci    * added Astra 600S as supported
25141cc406Sopenharmony_ci
26141cc406Sopenharmony_ci
27141cc406Sopenharmony_cisane-0.6 / 0.61 / 0.62 -> 0.63
28141cc406Sopenharmony_ci------------------------------
29141cc406Sopenharmony_ci
30141cc406Sopenharmony_ci    * added exception to gpl-licence:
31141cc406Sopenharmony_ci    >   This program is free software; you can redistribute it and/or
32141cc406Sopenharmony_ci    >   modify it under the terms of the GNU General Public License as
33141cc406Sopenharmony_ci    >   published by the Free Software Foundation; either version 2 of the
34141cc406Sopenharmony_ci    >   License, or (at your option) any later version.
35141cc406Sopenharmony_ci    >
36141cc406Sopenharmony_ci    >   This program is distributed in the hope that it will be useful, but
37141cc406Sopenharmony_ci    >   WITHOUT ANY WARRANTY; without even the implied warranty of
38141cc406Sopenharmony_ci    >   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
39141cc406Sopenharmony_ci    >   General Public License for more details.
40141cc406Sopenharmony_ci    >
41141cc406Sopenharmony_ci    >   You should have received a copy of the GNU General Public License
42141cc406Sopenharmony_ci    >   along with this program; if not, write to the Free Software
43141cc406Sopenharmony_ci    >   Foundation, Inc., 59 Temple Place - Suite 330, Boston,
44141cc406Sopenharmony_ci    >   MA 02111-1307, USA.
45141cc406Sopenharmony_ci    >
46141cc406Sopenharmony_ci    >   As a special exception, the authors of SANE give permission for
47141cc406Sopenharmony_ci    >   additional uses of the libraries contained in this release of SANE.
48141cc406Sopenharmony_ci    >
49141cc406Sopenharmony_ci    >   The exception is that, if you link a SANE library with other files
50141cc406Sopenharmony_ci    >   to produce an executable, this does not by itself cause the
51141cc406Sopenharmony_ci    >   resulting executable to be covered by the GNU General Public
52141cc406Sopenharmony_ci    >   License.  Your use of that executable is in no way restricted on
53141cc406Sopenharmony_ci    >   account of linking the SANE library code into it.
54141cc406Sopenharmony_ci    >
55141cc406Sopenharmony_ci    >   This exception does not, however, invalidate any other reasons why
56141cc406Sopenharmony_ci    >   the executable file might be covered by the GNU General Public
57141cc406Sopenharmony_ci    >   License.
58141cc406Sopenharmony_ci    >
59141cc406Sopenharmony_ci    >   If you submit changes to SANE to the maintainers to be included in
60141cc406Sopenharmony_ci    >   a subsequent release, you agree by submitting the changes that
61141cc406Sopenharmony_ci    >   those changes may be distributed with this exception intact.
62141cc406Sopenharmony_ci    >
63141cc406Sopenharmony_ci    >   If you write modifications of your own for SANE, it is your choice
64141cc406Sopenharmony_ci    >   whether to permit this exception to apply to your modifications.
65141cc406Sopenharmony_ci    >   If you do not wish that, delete this exception notice.
66141cc406Sopenharmony_ci
67141cc406Sopenharmony_ci    * split resolution in x-res and y-res, flag bind-resolution
68141cc406Sopenharmony_ci
69141cc406Sopenharmony_ci    * only sane_... functions will be exported from umax-backend,
70141cc406Sopenharmony_ci      all umax_... functions are made static
71141cc406Sopenharmony_ci
72141cc406Sopenharmony_ci    * removed umax-emergency-routine for SANE
73141cc406Sopenharmony_ci
74141cc406Sopenharmony_ci    * made program-flow (esp. with do_canel) SANE-specific
75141cc406Sopenharmony_ci
76141cc406Sopenharmony_ci    * fixed missing 3-pass parts
77141cc406Sopenharmony_ci
78141cc406Sopenharmony_ci    * made scanmodes, sources, analog gamma, gamma download, negative,
79141cc406Sopenharmony_ci      quality calibration, highlight, shadow only selectable if they are
80141cc406Sopenharmony_ci      available
81141cc406Sopenharmony_ci
82141cc406Sopenharmony_ci    * calibration-mode selectable in advanced options if available
83141cc406Sopenharmony_ci
84141cc406Sopenharmony_ci    * warmup selectable if available
85141cc406Sopenharmony_ci
86141cc406Sopenharmony_ci    * changed umax-scsi.c like described from Gordon Matzigkeit
87141cc406Sopenharmony_ci      in his diff/patch-file from 21.06.97 so that the umax-backend
88141cc406Sopenharmony_ci      should compile on non-linux-systems now - thanks!
89141cc406Sopenharmony_ci
90141cc406Sopenharmony_ci    * split highlight and shadow in R, G and B for color-mode.
91141cc406Sopenharmony_ci
92141cc406Sopenharmony_ci    * reset adf and uta flag when not used (in sane_start)
93141cc406Sopenharmony_ci
94141cc406Sopenharmony_ci    * added possibility to change calibration-mode if available
95141cc406Sopenharmony_ci
96141cc406Sopenharmony_ci    * added send_halftone_pattern to umax-scsi.c
97141cc406Sopenharmony_ci
98141cc406Sopenharmony_ci    * changed umax-scsi.c like described from Gordon Matzigkeit
99141cc406Sopenharmony_ci      in his diff/patch-file from 21.06.97 so that the umax-backend
100141cc406Sopenharmony_ci      should compile on non-linux-systems now - thanks
101141cc406Sopenharmony_ci
102141cc406Sopenharmony_ci    * added support for each color (R,G,B) for highlight and shadow
103141cc406Sopenharmony_ci
104141cc406Sopenharmony_ci    * added "Astra 1200S" and "UC840" as supported
105141cc406Sopenharmony_ci
106141cc406Sopenharmony_ci    * added bad bugfix for preview-problem with S6E
107141cc406Sopenharmony_ci      (in umax-scsi.c function start_scan)
108141cc406Sopenharmony_ci
109141cc406Sopenharmony_ci    * moved resolution-check from check_values to bound_scanarea,
110141cc406Sopenharmony_ci      now no floatingpoint-exception will occur if no resolution is given!
111141cc406Sopenharmony_ci
112141cc406Sopenharmony_ci    * changed range-check for width and height
113141cc406Sopenharmony_ci
114141cc406Sopenharmony_ci    * removed bug in set_window for three-pass-rgb-mode
115141cc406Sopenharmony_ci      -selected wrong buffer for some green and blue options
116141cc406Sopenharmony_ci      -scanmode now is greyscale instead of rgb
117141cc406Sopenharmony_ci
118141cc406Sopenharmony_ci    * changed start_scan(us) to better use with wid-list
119141cc406Sopenharmony_ci      and added missing 3 wid-bytes in scan.cmd
120141cc406Sopenharmony_ci
121141cc406Sopenharmony_ci    * removed parameter color in three_pass_function_headers,
122141cc406Sopenharmony_ci      the color is taken from us->three_pass_color now.
123141cc406Sopenharmony_ci
124141cc406Sopenharmony_ci
125141cc406Sopenharmony_cisane-0.63/0.64/0.65 -> 0.66
126141cc406Sopenharmony_ci---------------------------
127141cc406Sopenharmony_ci
128141cc406Sopenharmony_ci    * changed gamma-data-upload for 3-pass-color-scan
129141cc406Sopenharmony_ci
130141cc406Sopenharmony_ci    * corrected wrong calculation for highlight and shadow
131141cc406Sopenharmony_ci      selection for rgb-values
132141cc406Sopenharmony_ci
133141cc406Sopenharmony_ci    * changed gamma data to use 8 bit (256 bytes) or 10 bit (1024 bytes)
134141cc406Sopenharmony_ci
135141cc406Sopenharmony_ci    * included 10/30 bits per pixel mode
136141cc406Sopenharmony_ci
137141cc406Sopenharmony_ci    * changed bug in sane_exit (free()) that sometimes made a
138141cc406Sopenharmony_ci      segmentation-fault
139141cc406Sopenharmony_ci
140141cc406Sopenharmony_ci    * made patches runtime-selectable
141141cc406Sopenharmony_ci
142141cc406Sopenharmony_ci    * changed set_window_command to support 30 bits per pixel
143141cc406Sopenharmony_ci
144141cc406Sopenharmony_ci    * changed send_gamma_data to support three_pass_gamma and 10/30 bpp
145141cc406Sopenharmony_ci
146141cc406Sopenharmony_ci    * changed row_len in umax_bound_scanarea to 10/30 bit mode
147141cc406Sopenharmony_ci
148141cc406Sopenharmony_ci    * added halftone-support for ug630, uc630 and uc840,
149141cc406Sopenharmony_ci      but I don't know if all values are ok!
150141cc406Sopenharmony_ci
151141cc406Sopenharmony_ci    * changed CBHS-50-range to 78-178 (from 103-153)
152141cc406Sopenharmony_ci
153141cc406Sopenharmony_ci    * changed rangecheck for highlight and shadow
154141cc406Sopenharmony_ci
155141cc406Sopenharmony_ci    * fixed get_cbhs_range-bug in umax-scsidef.h
156141cc406Sopenharmony_ci
157141cc406Sopenharmony_ci    * added ADF-inquiry-bits to umax-scsidef.h
158141cc406Sopenharmony_ci
159141cc406Sopenharmony_ci    * added color_line_arrangement_mode-inquiry-byte to umax-scsidef.h
160141cc406Sopenharmony_ci
161141cc406Sopenharmony_ci    * added CCD_line_distance-inquiry-byte to umax-scsidef.h
162141cc406Sopenharmony_ci
163141cc406Sopenharmony_ci    * added all most unused bits and bytes in inquiry to umax-scsidef.h
164141cc406Sopenharmony_ci
165141cc406Sopenharmony_ci    * made patches runtime-selectable
166141cc406Sopenharmony_ci
167141cc406Sopenharmony_ci
168141cc406Sopenharmony_cisane-0.66 -> 0.67
169141cc406Sopenharmony_ci-----------------
170141cc406Sopenharmony_ci
171141cc406Sopenharmony_ci    * removed bug in sane_start: ADF and UTA flags have not been set correct
172141cc406Sopenharmony_ci
173141cc406Sopenharmony_ci    * removed bug in init_options: value range for 10 gamma-input-bits corrected
174141cc406Sopenharmony_ci
175141cc406Sopenharmony_ci    * made custom gamma available for lineart and halftone for nonlinear effects
176141cc406Sopenharmony_ci
177141cc406Sopenharmony_ci    * added Vista-T630 as supported scanner
178141cc406Sopenharmony_ci
179141cc406Sopenharmony_ci    * removed test_warmup in wait_scanner because adaptec 1542 has problems
180141cc406Sopenharmony_ci      with request_sense-command in test_warmup
181141cc406Sopenharmony_ci      it was only used for printing a message, so it was not important.
182141cc406Sopenharmony_ci
183141cc406Sopenharmony_ci    * if a scanner has a full inquiry-block but is not known to be supported,
184141cc406Sopenharmony_ci      the driver will print a warning and continue instead of aborting,
185141cc406Sopenharmony_ci      option --continue (on umax-cli) will suppress the warning!
186141cc406Sopenharmony_ci
187141cc406Sopenharmony_ci    * changed ugly definition
188141cc406Sopenharmony_ci      char gamma[x] -> char *gamma; gamma=alloca(x);
189141cc406Sopenharmony_ci
190141cc406Sopenharmony_ci    * removed bug (wrong length for 10 bit-gamma) in send_gamma_data
191141cc406Sopenharmony_ci
192141cc406Sopenharmony_ci    * changed all buffer-definitions to unsigned char and inserted
193141cc406Sopenharmony_ci      type conversions, so there are no more warnings because of
194141cc406Sopenharmony_ci      typemismatches.
195141cc406Sopenharmony_ci
196141cc406Sopenharmony_ci    * corrected bad definition of set_DCF2_gamma_output_bits
197141cc406Sopenharmony_ci
198141cc406Sopenharmony_ci
199141cc406Sopenharmony_cisane-0.67 -> 0.68
200141cc406Sopenharmony_ci-----------------
201141cc406Sopenharmony_ci
202141cc406Sopenharmony_ci    * changed open config to fp = sanei_config_open(UMAX_CONFIG_FILE)
203141cc406Sopenharmony_ci
204141cc406Sopenharmony_ci    * changed all set OPT...BIND commands, endless-loop happened in sane-0.67
205141cc406Sopenharmony_ci      =>ane-0.67-umax-fix.diff.gz
206141cc406Sopenharmony_ci      after that patch changed same for ten_bit_mode
207141cc406Sopenharmony_ci
208141cc406Sopenharmony_ci    * changed some strdup() to (SANE_Char *)strdup()
209141cc406Sopenharmony_ci
210141cc406Sopenharmony_ci    * added UMAX Astra 610S as supported scanner. it has the same problems
211141cc406Sopenharmony_ci      in color-mode like the Astra 600S.
212141cc406Sopenharmony_ci
213141cc406Sopenharmony_ci
214141cc406Sopenharmony_cisane-0.68 -> 0.69
215141cc406Sopenharmony_ci-----------------
216141cc406Sopenharmony_ci
217141cc406Sopenharmony_ci    * changed maximum y-resolution from optical_res to y_res
218141cc406Sopenharmony_ci
219141cc406Sopenharmony_ci    * changed sane_cancel (waitpid) like suggested by David Mosberger
220141cc406Sopenharmony_ci
221141cc406Sopenharmony_ci    * added #include <lalloca.h> for AIX-support
222141cc406Sopenharmony_ci
223141cc406Sopenharmony_ci    * replaced call to umax_wait_scanner with umax_do_calibration
224141cc406Sopenharmony_ci      after umax_start_scan in umax.c
225141cc406Sopenharmony_ci
226141cc406Sopenharmony_ci    * moved sense_handler to umax-scsi.c
227141cc406Sopenharmony_ci
228141cc406Sopenharmony_ci    * removed call to umax_get_data_buffer_status in reader_process
229141cc406Sopenharmony_ci
230141cc406Sopenharmony_ci    * added umax_send_shading_data, umax_send_gain_data
231141cc406Sopenharmony_ci      and   umax_read_shading_data, umax_read_gain_data
232141cc406Sopenharmony_ci
233141cc406Sopenharmony_ci    * changed name: umax_read_data_block -> umax_read_image_data
234141cc406Sopenharmony_ci
235141cc406Sopenharmony_ci    * changed length offset in do_inquiry from 5 to 4
236141cc406Sopenharmony_ci      and changed set_inquiry_length-offset from 5 to 4
237141cc406Sopenharmony_ci
238141cc406Sopenharmony_ci    * added calib_lines to structure US and added it to
239141cc406Sopenharmony_ci      set_window - command in umax-scsi.c
240141cc406Sopenharmony_ci
241141cc406Sopenharmony_ci    * changed in umax-scsi.c routine identify_scanner:
242141cc406Sopenharmony_ci      vendor and product is tested for each model instead of
243141cc406Sopenharmony_ci      vendor=="UMAX " and only model tested!
244141cc406Sopenharmony_ci      Because of that the format of scanner_str has changed
245141cc406Sopenharmony_ci      from product,product,...
246141cc406Sopenharmony_ci      to vendor,product, vendor,product,...
247141cc406Sopenharmony_ci
248141cc406Sopenharmony_ci    * added support for Linotype Hell Jade (LinoHell Office)
249141cc406Sopenharmony_ci
250141cc406Sopenharmony_ci    * added empty routine umax_do_calibration in umax-scsi.c, it shall be called
251141cc406Sopenharmony_ci      after umax_start_scan!
252141cc406Sopenharmony_ci
253141cc406Sopenharmony_ci    * replaced all umax_*scsi with sanei_*scsi, so the umax-driver
254141cc406Sopenharmony_ci      now directly calls the sanei_scsi-commands.
255141cc406Sopenharmony_ci
256141cc406Sopenharmony_ci    * moved sense-handler from umax.c to umax-scsi.c
257141cc406Sopenharmony_ci      and added detection for driver-calibration-request
258141cc406Sopenharmony_ci      sense_handler got a new parameter (void *arg).
259141cc406Sopenharmony_ci
260141cc406Sopenharmony_ci    * changed wait_scanner for SUN: usleep(0.1sec) -> sleep(1s)
261141cc406Sopenharmony_ci      this is only a bad bugfix that will be replaced one day!
262141cc406Sopenharmony_ci
263141cc406Sopenharmony_ci
264141cc406Sopenharmony_cisane-0.69 -> 0.70
265141cc406Sopenharmony_ci-----------------
266141cc406Sopenharmony_ci
267141cc406Sopenharmony_ci    * moved reader_process to umax-scsi.c
268141cc406Sopenharmony_ci
269141cc406Sopenharmony_ci    * changed include <sane/config.h> for _AIX and non-_AIX
270141cc406Sopenharmony_ci
271141cc406Sopenharmony_ci    * added missing "," in definition line for UMAX Astra 1200S in umax-scanner.h
272141cc406Sopenharmony_ci
273141cc406Sopenharmony_ci    * added in umax-scsi.c in function identify_scanner a test that only
274141cc406Sopenharmony_ci      warnings and errors are printed if vendor="UMAX "
275141cc406Sopenharmony_ci
276141cc406Sopenharmony_ci    * added routine umax_order_line_to_pixel and umax_order_line
277141cc406Sopenharmony_ci
278141cc406Sopenharmony_ci    * moved reader_process from umax.c to umax-scsi.c
279141cc406Sopenharmony_ci      and added routine for color ordering.
280141cc406Sopenharmony_ci
281141cc406Sopenharmony_ci    * reset length offset in do_inquiry from 4 to 5
282141cc406Sopenharmony_ci      and set_inquiry_length-offset from 4 to 5
283141cc406Sopenharmony_ci      because umax-S6E didn't work with it!
284141cc406Sopenharmony_ci
285141cc406Sopenharmony_ci    * corrected error in identify-scanner in vendor-test
286141cc406Sopenharmony_ci
287141cc406Sopenharmony_ci    * changed end-detection of list of known scanners from
288141cc406Sopenharmony_ci      #define known_scanners 15 to last item "END_OF_LIST"
289141cc406Sopenharmony_ci
290141cc406Sopenharmony_ci    * added routine that corrects wrong inquiry-data from
291141cc406Sopenharmony_ci      Astra 600S and Astra 610S
292141cc406Sopenharmony_ci
293141cc406Sopenharmony_ci    * added test and selection for do_color_ordering in check_values
294141cc406Sopenharmony_ci
295141cc406Sopenharmony_ci    * changed __sun-code in umax_wait_scanner because the scsi-driver
296141cc406Sopenharmony_ci      answers with IOERROR instead of DEVICE_BUSY
297141cc406Sopenharmony_ci      (this is only a bugfix for a little time)
298141cc406Sopenharmony_ci
299141cc406Sopenharmony_ci
300141cc406Sopenharmony_cisane-0.70/0.71 -> 0.72
301141cc406Sopenharmony_ci----------------------
302141cc406Sopenharmony_ci
303141cc406Sopenharmony_ci    * inactivated selection of quality calibration (until it is supported
304141cc406Sopenharmony_ci      by the driver)
305141cc406Sopenharmony_ci
306141cc406Sopenharmony_ci    * changed maximum x_resolution from optical_res to max_x_res
307141cc406Sopenharmony_ci
308141cc406Sopenharmony_ci    * reordered DBG-levels and defined them by symbols
309141cc406Sopenharmony_ci
310141cc406Sopenharmony_ci    * changed all sizes that used type int to type size_t
311141cc406Sopenharmony_ci
312141cc406Sopenharmony_ci    * changed wait_scanner for testing !sane_status_good,
313141cc406Sopenharmony_ci      because testing sane_status_device_busy does not work with
314141cc406Sopenharmony_ci      all scsi-drivers!
315141cc406Sopenharmony_ci
316141cc406Sopenharmony_ci    * changed ccd-order in umax_order_line, the order is now
317141cc406Sopenharmony_ci      specified by 9 values (before by 3 values), changed
318141cc406Sopenharmony_ci      order tables and added a table for Astra 600S and
319141cc406Sopenharmony_ci      another table for Astra 610S
320141cc406Sopenharmony_ci
321141cc406Sopenharmony_ci    * changed ccd-order, now based on optical_resolution
322141cc406Sopenharmony_ci      and added new routine umax_forget_line
323141cc406Sopenharmony_ci
324141cc406Sopenharmony_ci    * added inquiry-block for UC1200S: NOT TESTED!
325141cc406Sopenharmony_ci
326141cc406Sopenharmony_ci    * added inquiry-block for UC1260: NOT TESTED!
327141cc406Sopenharmony_ci
328141cc406Sopenharmony_ci    * included print_inquiry into umax-scsi.c
329141cc406Sopenharmony_ci
330141cc406Sopenharmony_ci    * added correction-routine for x_res > 600 dpi, phys_width is
331141cc406Sopenharmony_ci      corrected in umax-scsi.c: bound_scanarea
332141cc406Sopenharmony_ci
333141cc406Sopenharmony_ci    * changed umax-scsi: sense_handler:
334141cc406Sopenharmony_ci      changed test for valid sense-block
335141cc406Sopenharmony_ci      added test for button pressed
336141cc406Sopenharmony_ci
337141cc406Sopenharmony_ci    * added output of sense-code and error-code in sense_handler
338141cc406Sopenharmony_ci
339141cc406Sopenharmony_ci    * added options to select calibratin and scan exposure times
340141cc406Sopenharmony_ci
341141cc406Sopenharmony_ci    * added options to select calibratin and scan lamp density
342141cc406Sopenharmony_ci
343141cc406Sopenharmony_ci    * moved all option-names/titles/descr. to saneopts.h
344141cc406Sopenharmony_ci
345141cc406Sopenharmony_ci    * combined bind for highlight, shadow, analog-gamma and new
346141cc406Sopenharmony_ci      exposure time functions to rgb-bind
347141cc406Sopenharmony_ci
348141cc406Sopenharmony_ci    * added set_WD_line_arrangement(buffer_r, WD_line_arrengement_by_driver);
349141cc406Sopenharmony_ci      if driver is doing color-ordering from line to pixel
350141cc406Sopenharmony_ci
351141cc406Sopenharmony_ci    * included umax-scsi.c into umax.c
352141cc406Sopenharmony_ci
353141cc406Sopenharmony_ci    * included umax-struct.h into umax.h
354141cc406Sopenharmony_ci
355141cc406Sopenharmony_ci    * included US-structure into Umax_Device-structure
356141cc406Sopenharmony_ci
357141cc406Sopenharmony_ci    * added free(scanner->device->buffer) to sane_close
358141cc406Sopenharmony_ci
359141cc406Sopenharmony_ci    * added free(scanner->device->pixelbuffer) to sane_cancel
360141cc406Sopenharmony_ci
361141cc406Sopenharmony_ci    * added free(scanner->device->pixelbuffer) to do_cancel
362141cc406Sopenharmony_ci
363141cc406Sopenharmony_ci    * added SANE_UNIT_MICROSECOND to exposure-times
364141cc406Sopenharmony_ci
365141cc406Sopenharmony_ci    * added output of status-string in wait_scanner
366141cc406Sopenharmony_ci
367141cc406Sopenharmony_ci    * moved some options for Scan-mode-block to Enhancemant-block
368141cc406Sopenharmony_ci
369141cc406Sopenharmony_cisane-0.72 -> 0.73
370141cc406Sopenharmony_ci-----------------
371141cc406Sopenharmony_ci
372141cc406Sopenharmony_ci    * disabled RGB_BIND if no such value is available
373141cc406Sopenharmony_ci
374141cc406Sopenharmony_ci    * included readproc
375141cc406Sopenharmony_ci
376141cc406Sopenharmony_ci    * included bound_scanarea into check_values, problem
377141cc406Sopenharmony_ci      with wrong scanarea for UTA should be solved now!
378141cc406Sopenharmony_ci
379141cc406Sopenharmony_ci    * all scanmode- and scansource-strings are #DEFINEd now
380141cc406Sopenharmony_ci
381141cc406Sopenharmony_cisane-0.73 -> 0.74
382141cc406Sopenharmony_ci-----------------
383141cc406Sopenharmony_ci
384141cc406Sopenharmony_ci    * added support for 12/36 bits per pixel (for Astra 1220S)
385141cc406Sopenharmony_ci
386141cc406Sopenharmony_ci    * added support for Astra 1220S
387141cc406Sopenharmony_ci
388141cc406Sopenharmony_ci    * included inquiry data for UG80 (Escom Image Scanner 256)
389141cc406Sopenharmony_ci
390141cc406Sopenharmony_ci    * moved WAIT_SCANNER from umax_read_data to umax_read_image_data,
391141cc406Sopenharmony_ci      umax_read_shading_data now works!
392141cc406Sopenharmony_ci
393141cc406Sopenharmony_ci    * added umax_start_scan at the end of calibration by driver,
394141cc406Sopenharmony_ci      the scanner does not hang any more if quality calibration is enabled!
395141cc406Sopenharmony_ci      There must'nt be a "wait_scanner" in calibration by driver routine!!!
396141cc406Sopenharmony_ci
397141cc406Sopenharmony_ci    * added usage of driver internal values for calibration by driver if
398141cc406Sopenharmony_ci      the scanner does not give back the information about the shading data:
399141cc406Sopenharmony_ci      width = dev->width * dev->inquiry_optical_res ( * 3 in RGB-mode )
400141cc406Sopenharmony_ci
401141cc406Sopenharmony_ci    * added 2 calibration-routines:
402141cc406Sopenharmony_ci      - use last line for shading data
403141cc406Sopenharmony_ci      - calculate average value for shading data
404141cc406Sopenharmony_ci      - prepared routine for complex calculation
405141cc406Sopenharmony_ci
406141cc406Sopenharmony_ci    * added gamma download curve format type 0 and 1
407141cc406Sopenharmony_ci
408141cc406Sopenharmony_ci    * defined gamma DCF = 1 for UC1200S and UC1260
409141cc406Sopenharmony_ci
410141cc406Sopenharmony_ci    * defined gamma DCF = 0 for UC1200SE and ARCUS PLUS
411141cc406Sopenharmony_ci
412141cc406Sopenharmony_ci    * changed sense_handler: if bad sense_key => DEVICE_BUSY
413141cc406Sopenharmony_ci      problem with black area at top of scan for some SCSI-adapters is solved now
414141cc406Sopenharmony_ci
415141cc406Sopenharmony_ci    * changed wait_scanner: waits 0.5 sec now
416141cc406Sopenharmony_ci
417141cc406Sopenharmony_ci    * disabled quality calibration in preview mode
418141cc406Sopenharmony_ci
419141cc406Sopenharmony_ci    * made upper_left_x and upper_left_y even values
420141cc406Sopenharmony_ci      it looks like even resolutions > 600 dpi work now!
421141cc406Sopenharmony_ci      (not ok!!!)
422141cc406Sopenharmony_ci
423141cc406Sopenharmony_ci    * added sigterm_handler for umax_reader_process
424141cc406Sopenharmony_ci      changed sane_canel, do_canel and do_eof(=close_pipe),
425141cc406Sopenharmony_ci      cancel now works!
426141cc406Sopenharmony_ci
427141cc406Sopenharmony_ci    * changed trim_rowbufsize that made problems with SGI,
428141cc406Sopenharmony_ci      there has been an overflow because of big buffersize
429141cc406Sopenharmony_ci
430141cc406Sopenharmony_ci
431141cc406Sopenharmony_cisane-0.74 -> 1.00 (build 0)
432141cc406Sopenharmony_ci---------------------------
433141cc406Sopenharmony_ci
434141cc406Sopenharmony_ci    * added output of umax-backend-version in sane_init
435141cc406Sopenharmony_ci
436141cc406Sopenharmony_ci    * added support for Linotype Hell Jade2 (Vobis ScanBoostar Premium)
437141cc406Sopenharmony_ci      SCSI-ID "LinoHell","Office2"
438141cc406Sopenharmony_ci
439141cc406Sopenharmony_ci    * changed base of calculation of scanwidth and scanlegth from
440141cc406Sopenharmony_ci      pixel to resolutionbase (1/300, 1/600 or 1/1200 inch)
441141cc406Sopenharmony_ci      problem with wrong pixelcount at higher resolutions should be
442141cc406Sopenharmony_ci      solved now
443141cc406Sopenharmony_ci
444141cc406Sopenharmony_ci    * changed selection for calibration mode
445141cc406Sopenharmony_ci
446141cc406Sopenharmony_ci    * changed calculation for width in pixels for lineart and halftone mode
447141cc406Sopenharmony_ci
448141cc406Sopenharmony_ci    * added inquiry for UMAX UC1200SE
449141cc406Sopenharmony_ci
450141cc406Sopenharmony_ci    * corrected 12/36-bit-mode in send_gamma_data and array in umax.h
451141cc406Sopenharmony_ci
452141cc406Sopenharmony_ci    * added support for Gemini D-16
453141cc406Sopenharmony_ci
454141cc406Sopenharmony_ci
455141cc406Sopenharmony_cisane-1.00-build-0 -> build-1
456141cc406Sopenharmony_ci-----------------------------
457141cc406Sopenharmony_ci
458141cc406Sopenharmony_ci    * added support for Nikon AX-210
459141cc406Sopenharmony_ci
460141cc406Sopenharmony_ci    * changed all grey to gray (David Mosberger asked for it)
461141cc406Sopenharmony_ci
462141cc406Sopenharmony_ci    * changed bug in gray gamma table conversion
463141cc406Sopenharmony_ci
464141cc406Sopenharmony_ci    * added Linotype Hell Saphir 2 as supported scanner
465141cc406Sopenharmony_ci
466141cc406Sopenharmony_ci    * changed umax-uc1260.h
467141cc406Sopenharmony_ci
468141cc406Sopenharmony_ci    * added "- 1" in umax_order_line:
469141cc406Sopenharmony_ci      else if (dev->pixelline_opt_res < length * 3 - CCD_distance * 3 - 1)
470141cc406Sopenharmony_ci      else if (dev->pixelline_opt_res < length * 3 - CCD_distance - 1)
471141cc406Sopenharmony_ci
472141cc406Sopenharmony_ci    * changed all allloca() to malloc() + free()
473141cc406Sopenharmony_ci
474141cc406Sopenharmony_ci    * removed options speed and smear, I got the info from umax that
475141cc406Sopenharmony_ci      these values should never be changed!
476141cc406Sopenharmony_ci
477141cc406Sopenharmony_ci    * removed ten_bit_mode and twelve_bit_mode options, added option bit_depth
478141cc406Sopenharmony_ci      and added support for 9, 14 and 16 bpp
479141cc406Sopenharmony_ci
480141cc406Sopenharmony_ci    * replaced u10_range and u12_range by dynamically set scanner.output_range
481141cc406Sopenharmony_ci
482141cc406Sopenharmony_ci    * removed static allocation for gamma_table[0..3], this is done dynamically
483141cc406Sopenharmony_ci      in sane_open and freed in sane_close now.
484141cc406Sopenharmony_ci
485141cc406Sopenharmony_ci    * added an empty string to the end of scan_mode_list and source_list
486141cc406Sopenharmony_ci
487141cc406Sopenharmony_cibuild-1 -> build-2
488141cc406Sopenharmony_ci------------------
489141cc406Sopenharmony_ci
490141cc406Sopenharmony_ci   * added "*info |= SANE_INFO_RELOAD_PARAMS;" in control_option set bit_depth
491141cc406Sopenharmony_ci
492141cc406Sopenharmony_ci   * added inverted calibration modes for Astra 6X0S scanners.
493141cc406Sopenharmony_ci
494141cc406Sopenharmony_ci
495141cc406Sopenharmony_cibuild-2 -> build-3 (sane-1.0.1)
496141cc406Sopenharmony_ci-------------------------------
497141cc406Sopenharmony_ci
498141cc406Sopenharmony_ci   * inversion of calibration is automatically set for Astra 6X0S and Vista S6E
499141cc406Sopenharmony_ci
500141cc406Sopenharmony_ci   * check for machine endianness is done only at backend start now!
501141cc406Sopenharmony_ci
502141cc406Sopenharmony_ci   * made umax_do request_sense static
503141cc406Sopenharmony_ci
504141cc406Sopenharmony_ci
505141cc406Sopenharmony_cibuild-3 -> build-4
506141cc406Sopenharmony_ci------------------
507141cc406Sopenharmony_ci
508141cc406Sopenharmony_ci   * Added option name and parameter in debug output in option set value
509141cc406Sopenharmony_ci
510141cc406Sopenharmony_ci   * Added option name in debug output in option get value
511141cc406Sopenharmony_ci
512141cc406Sopenharmony_ci   * Changed calculation of pixels/line and lines, may be the problem
513141cc406Sopenharmony_ci     with shaered images at resolutions>600 dpi is solved now
514141cc406Sopenharmony_ci     later Remark: This error does still occur, but not so often!
515141cc406Sopenharmony_ci
516141cc406Sopenharmony_ci
517141cc406Sopenharmony_cibuild-4 -> build-5
518141cc406Sopenharmony_ci------------------
519141cc406Sopenharmony_ci
520141cc406Sopenharmony_ci   * Changed calculation in umax_order_line, color images should
521141cc406Sopenharmony_ci     have the correct length now for Astra 6X0S and Vista S6E
522141cc406Sopenharmony_ci
523141cc406Sopenharmony_ci   * Added DOR resolutions and area
524141cc406Sopenharmony_ci
525141cc406Sopenharmony_ci
526141cc406Sopenharmony_cibuild-5 -> build-6
527141cc406Sopenharmony_ci------------------
528141cc406Sopenharmony_ci
529141cc406Sopenharmony_ci   * Bits for ADF and UTA in driver internal inquiry block (old UMAX scanners)
530141cc406Sopenharmony_ci     are set dynamically now.
531141cc406Sopenharmony_ci
532141cc406Sopenharmony_ci   * Added Genius ColorPage-HR5 (vendor KYE) (=Astra 1200S) as supported scanner
533141cc406Sopenharmony_ci
534141cc406Sopenharmony_ci   * Added Astra 2400S as experimentally supported scanner
535141cc406Sopenharmony_ci
536141cc406Sopenharmony_ci   * Added pauses for Astra 2400S
537141cc406Sopenharmony_ci
538141cc406Sopenharmony_ci   * Removed reposition_scanner at start of scan, Astra 2400S does not work with it!
539141cc406Sopenharmony_ci
540141cc406Sopenharmony_ci   * changed debug output in correct_inquiry
541141cc406Sopenharmony_ci
542141cc406Sopenharmony_ci   * for UMAX S12 the driver does not wait any more until scanner is repositioned
543141cc406Sopenharmony_ci     this is experimental, it may work with other scanners too!
544141cc406Sopenharmony_ci
545141cc406Sopenharmony_ci
546141cc406Sopenharmony_cibuild-6 -> build-7
547141cc406Sopenharmony_ci------------------
548141cc406Sopenharmony_ci
549141cc406Sopenharmony_ci   * changed some int -> unsigned int (resolution and scanwidth etc)
550141cc406Sopenharmony_ci
551141cc406Sopenharmony_ci   * calculate_pixel is called with right values in UTA mode now.
552141cc406Sopenharmony_ci
553141cc406Sopenharmony_ci   * if DOR resolution is not defined and DOR is available
554141cc406Sopenharmony_ci     the DOR resolution is set to double standard resolution
555141cc406Sopenharmony_ci
556141cc406Sopenharmony_ci   * removed wait_scanner after set_window-command
557141cc406Sopenharmony_ci
558141cc406Sopenharmony_ci   * added Mirage D16-L as supported scanner
559141cc406Sopenharmony_ci
560141cc406Sopenharmony_ci   * Astra 2400S works stable now
561141cc406Sopenharmony_ci
562141cc406Sopenharmony_ci
563141cc406Sopenharmony_cibuild-7 -> build-8
564141cc406Sopenharmony_ci------------------
565141cc406Sopenharmony_ci
566141cc406Sopenharmony_ci    * for Mirage D-16L the driver does not wait any more until scanner is repositioned
567141cc406Sopenharmony_ci      this is experimental, it may work with other scanners too!
568141cc406Sopenharmony_ci
569141cc406Sopenharmony_ci    * Mirage D-16L does not give back information for calibration by driver,
570141cc406Sopenharmony_ci      added new modus that "guesses" the values for Mirage D-16L.
571141cc406Sopenharmony_ci
572141cc406Sopenharmony_ci    * Added read_shading_data to 16 bit calibration routine and made a routine for
573141cc406Sopenharmony_ci      averaging with low byte first and one for high byte first
574141cc406Sopenharmony_ci
575141cc406Sopenharmony_ci    * Byte order (HBT) is set always (also in lineart and halftone)
576141cc406Sopenharmony_ci      because it is used in driver calibration
577141cc406Sopenharmony_ci
578141cc406Sopenharmony_ci    * Added relevant_*_res the is set to normal or double resolution values
579141cc406Sopenharmony_ci
580141cc406Sopenharmony_ci    * Added test if scsi buffer is large enough for one shading line
581141cc406Sopenharmony_ci
582141cc406Sopenharmony_ci    * selection for Calibration mode, Shading type and Speed/Smear
583141cc406Sopenharmony_ci      are only compiled in if define is set in umax.h
584141cc406Sopenharmony_ci
585141cc406Sopenharmony_ci
586141cc406Sopenharmony_cibuild-8 -> build-9
587141cc406Sopenharmony_ci------------------
588141cc406Sopenharmony_ci
589141cc406Sopenharmony_ci    * slow speed options is preset for Vista T-630
590141cc406Sopenharmony_ci
591141cc406Sopenharmony_ci    * speed/smear can be set now (forgotten #ifdef)
592141cc406Sopenharmony_ci
593141cc406Sopenharmony_ci    * selection of exposure times now is only available if it is enabeld
594141cc406Sopenharmony_ci
595141cc406Sopenharmony_ci    * gamma table is disabled in lineart and halftone modes
596141cc406Sopenharmony_ci
597141cc406Sopenharmony_ci    * if image is transmitted completely sane_read (close_pipe)
598141cc406Sopenharmony_ci      returns with SANE_STATUS_GOOD in adf mode and in any other case
599141cc406Sopenharmony_ci      with SANE_STATUS_EOF
600141cc406Sopenharmony_ci
601141cc406Sopenharmony_ci
602141cc406Sopenharmony_cibuild-9 -> build-10
603141cc406Sopenharmony_ci-------------------
604141cc406Sopenharmony_ci
605141cc406Sopenharmony_ci    * removed change about sane_read returns SANE_STATUS_GOOD in ADF mode
606141cc406Sopenharmony_ci
607141cc406Sopenharmony_ci    * transformed all gif files into jpeg format because of all the
608141cc406Sopenharmony_ci      trouble about the gif licence. Will never use gif again!
609141cc406Sopenharmony_ci
610141cc406Sopenharmony_ci    * added correction for inquiry-ADF-bit for Astra 2400S
611141cc406Sopenharmony_ci
612141cc406Sopenharmony_ci    * added second test method to detect ADF error in sane_start:
613141cc406Sopenharmony_ci      inquiry block is read and cover open, jammed and no paper is tested
614141cc406Sopenharmony_ci
615141cc406Sopenharmony_ci
616141cc406Sopenharmony_cibuild-10 -> build-11
617141cc406Sopenharmony_ci--------------------
618141cc406Sopenharmony_ci
619141cc406Sopenharmony_ci    * test for adf errors (sane_start) is now only done if adf is selected
620141cc406Sopenharmony_ci
621141cc406Sopenharmony_ci
622141cc406Sopenharmony_cibuild-11 -> build-12
623141cc406Sopenharmony_ci--------------------
624141cc406Sopenharmony_ci
625141cc406Sopenharmony_ci    * moved adf error tests from sane_start to umax_start_scan
626141cc406Sopenharmony_ci
627141cc406Sopenharmony_ci    * sane_control_option: printing option name is set to "(none)" if pointer is NULL
628141cc406Sopenharmony_ci
629141cc406Sopenharmony_ci    * added error message after each call of sanei_scsi_cmd
630141cc406Sopenharmony_ci
631141cc406Sopenharmony_ci    * changed manipulation of ADF bit for Astra 2400S in umax_correct_inquiry
632141cc406Sopenharmony_ci      from dev->adf to set_inquiry_sc_adf()
633141cc406Sopenharmony_ci
634141cc406Sopenharmony_ci
635141cc406Sopenharmony_cibuild-12 -> build-13
636141cc406Sopenharmony_ci--------------------
637141cc406Sopenharmony_ci
638141cc406Sopenharmony_ci    * changed inquiry data of UC1200SE
639141cc406Sopenharmony_ci
640141cc406Sopenharmony_ci    * added set_inquiry_CBHS(50) in correct_inquiry for UC1200SE
641141cc406Sopenharmony_ci
642141cc406Sopenharmony_ci    * correct_inquiry is called for scanners with short inquiry now
643141cc406Sopenharmony_ci
644141cc406Sopenharmony_ci    * dev->inquiry_max_calib_lines is preset to 66,
645141cc406Sopenharmony_ci      problem with Vist S6E V1.6 should be solved this way.
646141cc406Sopenharmony_ci
647141cc406Sopenharmony_ci    * inquiry block parameters > 0x93 are only used if block is long enough
648141cc406Sopenharmony_ci
649141cc406Sopenharmony_ci
650141cc406Sopenharmony_cibuild-13 -> build-14
651141cc406Sopenharmony_ci--------------------
652141cc406Sopenharmony_ci
653141cc406Sopenharmony_ci    * changed inquiry_cbhs_[min,max] -> inquiry_[contrast, brightness, threshold,
654141cc406Sopenharmony_ci      highlight, shadow]_[min,max] and set correct values for CBHS_255 and CBHS_50
655141cc406Sopenharmony_ci
656141cc406Sopenharmony_ci    * changed cbhs_str[CBHS_50] from "78-178" to "0-50"
657141cc406Sopenharmony_ci
658141cc406Sopenharmony_ci    * changed umax-uc1200se.h inquiry byte 0x64 bit 5 to 0 (gamma download format != 2)
659141cc406Sopenharmony_ci      and wdb len from 0x30 to 0x31
660141cc406Sopenharmony_ci
661141cc406Sopenharmony_ci    * disabled halftone pattern download, and halftone dimension selection - not ready
662141cc406Sopenharmony_ci      preselected is a 8x8 built in halftone pattern
663141cc406Sopenharmony_ci
664141cc406Sopenharmony_ci    * removed set_inquiry_CBHS(50) from correct_inquiry for UC1200SE
665141cc406Sopenharmony_ci
666141cc406Sopenharmony_ci    * added "Astra 2200 " as supported scanner
667141cc406Sopenharmony_ci
668141cc406Sopenharmony_ci    * added cast from (void *) to (unsigned char*) in umax_send_gamma_data
669141cc406Sopenharmony_ci
670141cc406Sopenharmony_ci
671141cc406Sopenharmony_cibuild-14 -> build-15
672141cc406Sopenharmony_ci--------------------
673141cc406Sopenharmony_ci
674141cc406Sopenharmony_ci    * add "(unsigned)" to option number test in sane_control_option
675141cc406Sopenharmony_ci
676141cc406Sopenharmony_ci    * for Astra 1200 the driver does not wait any more until scanner is repositioned
677141cc406Sopenharmony_ci      this is experimental, it may work with other scanners too!
678141cc406Sopenharmony_ci
679141cc406Sopenharmony_ci
680141cc406Sopenharmony_cibuild-15 -> build-16
681141cc406Sopenharmony_ci--------------------
682141cc406Sopenharmony_ci
683141cc406Sopenharmony_ci    * OPT_SOURCE: removed change of width/height and "*info |= SANE_INFO_RELOAD_PARAMS;"
684141cc406Sopenharmony_ci      from get_value to set_value and added "*info |= SANE_INFO_RELOAD_OPTIONS;"
685141cc406Sopenharmony_ci
686141cc406Sopenharmony_ci
687141cc406Sopenharmony_cibuild-16 -> build-17
688141cc406Sopenharmony_ci--------------------
689141cc406Sopenharmony_ci
690141cc406Sopenharmony_ci    * changed calibration mode from SHADING_TYPE_AVERAGE_INVERT to SHADING_TYPE_AVERAGE
691141cc406Sopenharmony_ci      for UMAX S-6E, UMAX S-6EG and Vista-S6E
692141cc406Sopenharmony_ci
693141cc406Sopenharmony_ci    * changed several int -> unsigned int
694141cc406Sopenharmony_ci
695141cc406Sopenharmony_ci    * added support for sanei_scsi_open_extended and variable scsi buffer size
696141cc406Sopenharmony_ci
697141cc406Sopenharmony_ci
698141cc406Sopenharmony_cibuild-17 -> build-18 (sane-1.0.2)
699141cc406Sopenharmony_ci---------------------------------
700141cc406Sopenharmony_ci
701141cc406Sopenharmony_ci    * some cosmetic changes of the form
702141cc406Sopenharmony_ci        if (..) {...}
703141cc406Sopenharmony_ci      =>
704141cc406Sopenharmony_ci        if (..)
705141cc406Sopenharmony_ci        {
706141cc406Sopenharmony_ci          ...
707141cc406Sopenharmony_ci        }
708141cc406Sopenharmony_ci
709141cc406Sopenharmony_ci    * removed unnecessary SHADING_TYPE-handling routines for UMAX S-6E, UMAX S-6EG and Vista-S6E
710141cc406Sopenharmony_ci
711141cc406Sopenharmony_ci    * scsi buffer is only reallocated when size has changed
712141cc406Sopenharmony_ci
713141cc406Sopenharmony_ci
714141cc406Sopenharmony_cibuild-18 -> build-19
715141cc406Sopenharmony_ci--------------------
716141cc406Sopenharmony_ci
717141cc406Sopenharmony_ci    * added UMAX PowerLook III as supported scanner
718141cc406Sopenharmony_ci
719141cc406Sopenharmony_ci    * added EPSON Perfection600 as supported scanner (is a Astra 1200S)
720141cc406Sopenharmony_ci
721141cc406Sopenharmony_ci    * type of option 0 (Option numbers) is set to SANE_TYPE_INT now (undefined before)
722141cc406Sopenharmony_ci
723141cc406Sopenharmony_ci    * removed bug that mixed 12 bit and 14/16 bit gamma table when 14 or 16 bit are supported
724141cc406Sopenharmony_ci      and changed value range of grey custom gamma table:
725141cc406Sopenharmony_ci      - maximum output value is 255 for 8 bits/pixel
726141cc406Sopenharmony_ci      - maximum output value is 65535 for 9-16 bits/pixel
727141cc406Sopenharmony_ci      the custom gamma table does work now with 9-16 bits/pixel output mode
728141cc406Sopenharmony_ci
729141cc406Sopenharmony_ci    * added routine that reverses bit order in lineart mode when scanner sends LSB first in lineart
730141cc406Sopenharmony_ci
731141cc406Sopenharmony_ci
732141cc406Sopenharmony_cibuild-19 -> build-20
733141cc406Sopenharmony_ci--------------------
734141cc406Sopenharmony_ci
735141cc406Sopenharmony_ci    * added variable calibration_width_offset, Mirage D-16L offset of 308 is defined there
736141cc406Sopenharmony_ci      and added offset of 28 for PowerLook III
737141cc406Sopenharmony_ci
738141cc406Sopenharmony_ci    * umax_do_calibration: guessed calibration data values use 2 bytes/color if scanner
739141cc406Sopenharmony_ci      supports gamma input bit depth supports 2 bytes/color
740141cc406Sopenharmony_ci
741141cc406Sopenharmony_ci    * calibration by driver now does work for PowerLook III
742141cc406Sopenharmony_ci
743141cc406Sopenharmony_ci    * added function umax_set_rgb_bind() that sets the sensitivity of some options
744141cc406Sopenharmony_ci      that make available different settings for RGB. This function now is called
745141cc406Sopenharmony_ci      when scanmode is selected.
746141cc406Sopenharmony_ci
747141cc406Sopenharmony_ci    * changed some int to unsigned int
748141cc406Sopenharmony_ci
749141cc406Sopenharmony_ci    * made dev->pause_after_reposition = -1; as default, so as default sane-umax does not wait
750141cc406Sopenharmony_ci      any more while the scanhead is moving back - this may break the support of some scanners
751141cc406Sopenharmony_ci      so it may have to be changed (dev->pause_after_reposition = 0;) for some scanners.
752141cc406Sopenharmony_ci      reported to work for:
753141cc406Sopenharmony_ci      - Supervista S12
754141cc406Sopenharmony_ci      - PowerLook III
755141cc406Sopenharmony_ci      - Astra 2200
756141cc406Sopenharmony_ci
757141cc406Sopenharmony_ci
758141cc406Sopenharmony_cibuild-20 -> build-21 (sane-1.0.3)
759141cc406Sopenharmony_ci---------------------------------
760141cc406Sopenharmony_ci
761141cc406Sopenharmony_ci    * Added Linotype "JADE" as supported scanner
762141cc406Sopenharmony_ci
763141cc406Sopenharmony_ci    * Removed bug in sane_close that caused segfault when
764141cc406Sopenharmony_ci      sane_close was called twice with the same scanner handle
765141cc406Sopenharmony_ci
766141cc406Sopenharmony_cibuild-21 -> build-22
767141cc406Sopenharmony_ci--------------------
768141cc406Sopenharmony_ci
769141cc406Sopenharmony_ci    * replaced fgets() by sanei_config_read()
770141cc406Sopenharmony_ci
771141cc406Sopenharmony_ci    * added command queueing for scsi read commands
772141cc406Sopenharmony_ci      - removed WAIT_SCANNER scsi command call after read command
773141cc406Sopenharmony_ci      - the additional buffers are allocated in the reader process
774141cc406Sopenharmony_ci      - the number of buffers can be defined in umax.conf
775141cc406Sopenharmony_ci        with option scsi-maxqueue [1..8] default:2
776141cc406Sopenharmony_ci      (did some tests with Supervista S12 and PowerLook III
777141cc406Sopenharmony_ci       on the same scsi controller (ncr53c810):
778141cc406Sopenharmony_ci       command queueing works, it is possible to start
779141cc406Sopenharmony_ci       both scanners at the same time. The scanner with the
780141cc406Sopenharmony_ci       higher scsi-ID (=priority) does scan without stops,
781141cc406Sopenharmony_ci       the other scanner has to wait long time between the
782141cc406Sopenharmony_ci       scsi-read commands, it also is possible to give
783141cc406Sopenharmony_ci       both scanners different scsi command queueing depth).
784141cc406Sopenharmony_ci
785141cc406Sopenharmony_ci    * prepared replacement of pipe by sanei_ipc_* routines
786141cc406Sopenharmony_ci
787141cc406Sopenharmony_ci    * added routines umax_get_lamp_status and umax_set_lamp_status
788141cc406Sopenharmony_ci
789141cc406Sopenharmony_ci    * updated inquiry output (new bits from powerlook scsi protocol 1.0 X101)
790141cc406Sopenharmony_ci
791141cc406Sopenharmony_ci    * added new (powerlook scsi protocol 1.0 X101) window descriptor block entries to umax-scsidef.h
792141cc406Sopenharmony_ci
793141cc406Sopenharmony_ci    * added button protocol (3 buttons, from powerlook scsi protocol 1.0 X101)
794141cc406Sopenharmony_ci
795141cc406Sopenharmony_ci    * added button "lamp off" to turn off scanner lamp
796141cc406Sopenharmony_ci      (this option may be remoeved again in later version, may be
797141cc406Sopenharmony_ci       it will be replaced by an autmatic lamp turn off function)
798141cc406Sopenharmony_ci
799141cc406Sopenharmony_ci    * added options to umax.conf
800141cc406Sopenharmony_ci      lamp-off-at-exit [01] default:0
801141cc406Sopenharmony_ci      lamp-off-time [10..720] (in minutes) default:30
802141cc406Sopenharmony_ci
803141cc406Sopenharmony_ci    * if  lamp_off_at_exit == 1 and lamp_control_available == 1
804141cc406Sopenharmony_ci      the scanner lamp is turned off in sane_close
805141cc406Sopenharmony_ci
806141cc406Sopenharmony_ci    * renamed umax-scanner.h and umax-"scannername".h to umax*.c
807141cc406Sopenharmony_ci      because these files create data code
808141cc406Sopenharmony_ci
809141cc406Sopenharmony_ci
810141cc406Sopenharmony_cibuild-22 -> build-23
811141cc406Sopenharmony_ci--------------------
812141cc406Sopenharmony_ci
813141cc406Sopenharmony_ci    * scsi commands set/get lamp control are send with a command length of
814141cc406Sopenharmony_ci      10 bytes instead of 6 bytes and control bit #7 is in byte 0x03
815141cc406Sopenharmony_ci      and not in byte 0x04 (it is described incorrect in the umax doc)
816141cc406Sopenharmony_ci
817141cc406Sopenharmony_ci    * enabled lamp control for Astra 2200
818141cc406Sopenharmony_ci
819141cc406Sopenharmony_ci    * removed umax.conf options lamp-off-at-exit and lamp-off-time
820141cc406Sopenharmony_ci
821141cc406Sopenharmony_ci    * added frontend option lamp-off-at-exit
822141cc406Sopenharmony_ci
823141cc406Sopenharmony_ci    * added frontend option lamp-on
824141cc406Sopenharmony_ci
825141cc406Sopenharmony_ci    * forcing calibration_bytespp = 1 for Astra 2200 - quality calibration does work now
826141cc406Sopenharmony_ci
827141cc406Sopenharmony_ci    * for Astra 2200 selection for different x/y resolutions is disabled
828141cc406Sopenharmony_ci
829141cc406Sopenharmony_ci
830141cc406Sopenharmony_cibuild-23 -> build-24 (sane-1.0.4)
831141cc406Sopenharmony_ci--------------------
832141cc406Sopenharmony_ci
833141cc406Sopenharmony_ci    * forcing calibration_bytespp = 1 for Astra 2100S
834141cc406Sopenharmony_ci
835141cc406Sopenharmony_ci    * Added Astra 2100S as supported scanner
836141cc406Sopenharmony_ci
837141cc406Sopenharmony_ci    * enabled lamp control for Astra 2100S
838141cc406Sopenharmony_ci
839141cc406Sopenharmony_ci    * Added warning in sane_control_option if option could not be set
840141cc406Sopenharmony_ci
841141cc406Sopenharmony_ci
842141cc406Sopenharmony_cibuild-24 -> build-25
843141cc406Sopenharmony_ci--------------------
844141cc406Sopenharmony_ci
845141cc406Sopenharmony_ci   * dev->lamp_control_available is preset to 0
846141cc406Sopenharmony_ci
847141cc406Sopenharmony_ci   * dev is erased (0) after it is allocated
848141cc406Sopenharmony_ci
849141cc406Sopenharmony_ci   * added special options for PowerLook 3000:
850141cc406Sopenharmony_ci     - calibration is done for each CCD pixel
851141cc406Sopenharmony_ci     - calibration_bytespp is set to 1
852141cc406Sopenharmony_ci     the scanner still is not listed as supported scanner because
853141cc406Sopenharmony_ci     the changes are not tested
854141cc406Sopenharmony_ci
855141cc406Sopenharmony_ci   * added options that are read from umax.conf:
856141cc406Sopenharmony_ci
857141cc406Sopenharmony_ci     - execute-request-sense:
858141cc406Sopenharmony_ci       values: 0=disabled, 1=enabled, default=0
859141cc406Sopenharmony_ci       If set to 1 umax_do_request_sense is called in umax_do_calibration.
860141cc406Sopenharmony_ci       This can hang the system (but has been enabled until this version)
861141cc406Sopenharmony_ci
862141cc406Sopenharmony_ci     - scsi-buffer-size-min, scsi-buffer-size-max:
863141cc406Sopenharmony_ci       values: 4096-1048576, default min=65536, max=131072
864141cc406Sopenharmony_ci
865141cc406Sopenharmony_ci     - scan-lines, preview-lines:
866141cc406Sopenharmony_ci       values: 1-65535, default scan-lines=40, preview-lines=10
867141cc406Sopenharmony_ci       define the maximum number of lines that are scanned into one buffer
868141cc406Sopenharmony_ci
869141cc406Sopenharmony_ci     - force-preview-bit-rgb:
870141cc406Sopenharmony_ci       values: 0=disabled, 1=enabled, default=0
871141cc406Sopenharmony_ci       set preview bit in rgb real scan
872141cc406Sopenharmony_ci
873141cc406Sopenharmony_ci     - slow-speed, care-about-smearing:
874141cc406Sopenharmony_ci       values: -1=auto, 0=disabled, 1=enabled, default=-1
875141cc406Sopenharmony_ci       dangerous options, needed for some scanners
876141cc406Sopenharmony_ci
877141cc406Sopenharmony_ci     - calibration-full-ccd:
878141cc406Sopenharmony_ci       values: -1=auto, 0=disabled, 1=enabled, default=-1
879141cc406Sopenharmony_ci       do calibration for each pixel of ccd instead of selected image
880141cc406Sopenharmony_ci
881141cc406Sopenharmony_ci     - calibration-width-offset:
882141cc406Sopenharmony_ci       values: -1=disabled, >=0 set value
883141cc406Sopenharmony_ci       add an offset width to the calculated with for image/ccd
884141cc406Sopenharmony_ci
885141cc406Sopenharmony_ci     - calibration-bytes-pixel:
886141cc406Sopenharmony_ci       values: -1=disabled, 0=not set, 1=1 byte/pixel, 2=x bytes/pixel
887141cc406Sopenharmony_ci       use # bytes per pixel for calibration
888141cc406Sopenharmony_ci
889141cc406Sopenharmony_ci     - invert-shading-data:
890141cc406Sopenharmony_ci       values: -1=auto, 0=disabled, 1=enabled, default=-1
891141cc406Sopenharmony_ci       invert shading data before sending it back to the scanner
892141cc406Sopenharmony_ci
893141cc406Sopenharmony_ci     - lamp-control-available:
894141cc406Sopenharmony_ci       values: 0=automatically set by driver - if known, 1=available, default=0
895141cc406Sopenharmony_ci
896141cc406Sopenharmony_ci   * updated html-documentation
897141cc406Sopenharmony_ci
898141cc406Sopenharmony_ci   * updated sane-umax.man
899141cc406Sopenharmony_ci
900141cc406Sopenharmony_ci   * added pre focus options (PowerLook 3000):
901141cc406Sopenharmony_ci     - FP  - fix focus position
902141cc406Sopenharmony_ci     - FDC - lens calibration in doc position
903141cc406Sopenharmony_ci     - PF  - disable pre focus
904141cc406Sopenharmony_ci     - LCL - use 0.6/0.0mm holder focus position
905141cc406Sopenharmony_ci
906141cc406Sopenharmony_ci   * added #define SANE_I18N(text) text to umax.c. This is to mark the backend
907141cc406Sopenharmony_ci     specific texts that shall be translated by the frontend
908141cc406Sopenharmony_ci
909141cc406Sopenharmony_ci
910141cc406Sopenharmony_cibuild-25 -> build-26
911141cc406Sopenharmony_ci--------------------
912141cc406Sopenharmony_ci
913141cc406Sopenharmony_ci   * added umax.conf option handle-bad-sense-error #
914141cc406Sopenharmony_ci
915141cc406Sopenharmony_ci   * added Mirage II as supported scanner
916141cc406Sopenharmony_ci
917141cc406Sopenharmony_ci   * added routine umax_set_max_geometry that defines available surface
918141cc406Sopenharmony_ci     and resolution in dependence of scansource and double optical resolution
919141cc406Sopenharmony_ci     (before this bugfix the change of dor mode overwrote the settings of
920141cc406Sopenharmony_ci      scansource and vice versa)
921141cc406Sopenharmony_ci
922141cc406Sopenharmony_ci   * added ESCORT Galleria 600S as supported scanner, is an Astra 600S
923141cc406Sopenharmony_ci
924141cc406Sopenharmony_ci   * removed if (config_line[len - 1] == '\n')... while reading config file
925141cc406Sopenharmony_ci
926141cc406Sopenharmony_ci   * changed some static unsigned int to static int
927141cc406Sopenharmony_ci
928141cc406Sopenharmony_ci   * sane_exit does free devlist
929141cc406Sopenharmony_ci
930141cc406Sopenharmony_ci   * added some options for Powerlook 3000 - still is not completely supported
931141cc406Sopenharmony_ci
932141cc406Sopenharmony_ci
933141cc406Sopenharmony_cibuild-26 -> build-27
934141cc406Sopenharmony_ci--------------------
935141cc406Sopenharmony_ci
936141cc406Sopenharmony_ci   * added Linotype Saphir4 as supported scanner (is a Powerlook III)
937141cc406Sopenharmony_ci
938141cc406Sopenharmony_ci   * increased length of vendor, product and version by 1 to make sure the
939141cc406Sopenharmony_ci     string always ends with '\0'
940141cc406Sopenharmony_ci
941141cc406Sopenharmony_ci   * changed default minimum scsi buffer size from 64KB to 32 KB
942141cc406Sopenharmony_ci
943141cc406Sopenharmony_ci
944141cc406Sopenharmony_cibuild-27 -> build-28
945141cc406Sopenharmony_ci--------------------
946141cc406Sopenharmony_ci
947141cc406Sopenharmony_ci   * removed "#include <assert.h>" from umax.c, assert() is never called
948141cc406Sopenharmony_ci
949141cc406Sopenharmony_ci   * added UMAX Powerlook 3000 as supported scanner
950141cc406Sopenharmony_ci
951141cc406Sopenharmony_ci   * bugfix for 3 pass scanning:
952141cc406Sopenharmony_ci     reposition_scanner is called in sane_start for 2nd and 3rd pass of 3 pass scan
953141cc406Sopenharmony_ci
954141cc406Sopenharmony_ci
955141cc406Sopenharmony_ci   * bugfix for UTA and DOR geometry offsets:
956141cc406Sopenharmony_ci     - added inquiry_uta_x_off and inquiry_uta_y_off
957141cc406Sopenharmony_ci     - geometry ranges are defined from xoff..xoff+dx, yoff..yoff+dx now
958141cc406Sopenharmony_ci     - check_values also does test for this range
959141cc406Sopenharmony_ci     - removed dev->maxwidth and dev->maxlength, values are calculated in place now
960141cc406Sopenharmony_ci
961141cc406Sopenharmony_ci   * bugfix for DOR:
962141cc406Sopenharmony_ci     - bottom-right edge keeps in position if possible when DOR is switched on
963141cc406Sopenharmony_ci
964141cc406Sopenharmony_ci   * bugfix for Astra 600S and 610S color mode:
965141cc406Sopenharmony_ci     - scale_y is set to 0.5 if y_resolutions is smaller than optical_res/2
966141cc406Sopenharmony_ci     this does fix the color scan problems for Astra 610S.
967141cc406Sopenharmony_ci
968141cc406Sopenharmony_ci   * added Heidelberg Linoscan 1400 "HDM LS4H1S" as supported scanner
969141cc406Sopenharmony_ci
970141cc406Sopenharmony_ci
971141cc406Sopenharmony_cibuild-28 -> build-29
972141cc406Sopenharmony_ci--------------------
973141cc406Sopenharmony_ci
974141cc406Sopenharmony_ci   * removed bug in umax_set_max_geomentry: now left y keeps in position when possible
975141cc406Sopenharmony_ci
976141cc406Sopenharmony_ci   * rgb bind keeps unchanged when scanmode != color (only gray selection active in this case)
977141cc406Sopenharmony_ci
978141cc406Sopenharmony_ci   * in function static int umax_give_scanner(Umax_Device *dev) moved umax_reposition_scanner(dev);
979141cc406Sopenharmony_ci     to the end of the function
980141cc406Sopenharmony_ci
981141cc406Sopenharmony_ci   * set calibration area for astra 2200 to full ccd and calibration_bytespp to 2
982141cc406Sopenharmony_ci
983141cc406Sopenharmony_ci   * UC840 does wait in reposition_scanner until scan head stops moving
984141cc406Sopenharmony_ci
985141cc406Sopenharmony_ci   * set minimum resolution to 5 (was 1 before what could make problems)
986141cc406Sopenharmony_ci
987141cc406Sopenharmony_ci
988141cc406Sopenharmony_cibuild-29 -> build-30
989141cc406Sopenharmony_ci--------------------
990141cc406Sopenharmony_ci
991141cc406Sopenharmony_ci  * added EDGE KTX-9600US as supported scanner
992141cc406Sopenharmony_ci
993141cc406Sopenharmony_ci  * Changing scansource does not change lower left selection edge
994141cc406Sopenharmony_ci    if not necessary
995141cc406Sopenharmony_ci
996141cc406Sopenharmony_ci
997141cc406Sopenharmony_cibuild-30 -> build-31 (sane-1.0.6)
998141cc406Sopenharmony_ci---------------------------------
999141cc406Sopenharmony_ci
1000141cc406Sopenharmony_ci  * sane-umax.man uses @LIBDIR@ and @CONFIGFIR@
1001141cc406Sopenharmony_ci
1002141cc406Sopenharmony_ci  * changed automatic calibration_width_offset marker from -1 to -99999
1003141cc406Sopenharmony_ci
1004141cc406Sopenharmony_ci  * changed
1005141cc406Sopenharmony_ci      dev->calibration_area to 1 and
1006141cc406Sopenharmony_ci      calibration_width_offset to -1 and
1007141cc406Sopenharmony_ci      inquiry_max_calibration_data_lines to 66
1008141cc406Sopenharmony_ci   for UMAX Supervista S-12, LinoHell Office and LinHell JADE
1009141cc406Sopenharmony_ci
1010141cc406Sopenharmony_ci
1011141cc406Sopenharmony_cibuild-31 -> build-32 (sane-1.0.7)
1012141cc406Sopenharmony_ci---------------------------------
1013141cc406Sopenharmony_ci
1014141cc406Sopenharmony_ci  * added Nikon AX-110 as supported scanner (Vista S6E)
1015141cc406Sopenharmony_ci
1016141cc406Sopenharmony_ci  * added umax.conf option "gamma-lsb-padded" with options:
1017141cc406Sopenharmony_ci    -1 = auto
1018141cc406Sopenharmony_ci    0 = inactive (msb padded)
1019141cc406Sopenharmony_ci    1 = active (lsb padded)
1020141cc406Sopenharmony_ci    activated for astra 1220s, internal 12 bit gamma correction does work now
1021141cc406Sopenharmony_ci
1022141cc406Sopenharmony_ci
1023141cc406Sopenharmony_cibuild-32 -> build-33
1024141cc406Sopenharmony_ci--------------------
1025141cc406Sopenharmony_ci
1026141cc406Sopenharmony_ci  * added USB support for Astra 2200
1027141cc406Sopenharmony_ci    thanks to Frank Zago <fzago@greshamstorage.com>
1028141cc406Sopenharmony_ci    for creating umax-usb.c and suggesting several changes to umax.c
1029141cc406Sopenharmony_ci
1030141cc406Sopenharmony_ci  * added umax.conf option "connection-type", values: 1=scsi, 2=usb
1031141cc406Sopenharmony_ci
1032141cc406Sopenharmony_ci  * added umax.conf device selection "usb 0x1606 0x0230" (usb vendor_id product_id)
1033141cc406Sopenharmony_ci
1034141cc406Sopenharmony_ci  * removed #ifdef HAVE_SANEI_IPC parts (SANEI_IPC was never defined)
1035141cc406Sopenharmony_ci
1036141cc406Sopenharmony_ci
1037141cc406Sopenharmony_cibuild-33 -> build-34 (sane-backends-1.0.8)
1038141cc406Sopenharmony_ci--------------------
1039141cc406Sopenharmony_ci
1040141cc406Sopenharmony_ci  * removed bug in reader_process / umax_queue_read_image_data:
1041141cc406Sopenharmony_ci    - the integer value that keeps the length information is kept valid
1042141cc406Sopenharmony_ci      as long a queued scsi command is still running now
1043141cc406Sopenharmony_ci    - when the scsi command returns with less data than requested
1044141cc406Sopenharmony_ci      then the routine does handle this correct now
1045141cc406Sopenharmony_ci      (before the routine handled this as if the requested amount of
1046141cc406Sopenharmony_ci       data was returned)
1047141cc406Sopenharmony_ci
1048141cc406Sopenharmony_ci  * backend waits until scanhead has repositioned after scan for UMAX UC1260
1049141cc406Sopenharmony_ci
1050141cc406Sopenharmony_ci  * y_dpi quanitsation is set to 5 (same as x_dpi quantisation - was 1)
1051141cc406Sopenharmony_ci
1052141cc406Sopenharmony_ci
1053141cc406Sopenharmony_cibuild-34 -> build-35
1054141cc406Sopenharmony_ci--------------------
1055141cc406Sopenharmony_ci
1056141cc406Sopenharmony_ci  * changed ID string "LS4H1S  " to "LS4H1S " (remove one space)
1057141cc406Sopenharmony_ci
1058141cc406Sopenharmony_ci  * activated lamp control for Astra 1220S V1.5
1059141cc406Sopenharmony_ci
1060141cc406Sopenharmony_ci
1061141cc406Sopenharmony_cibuild-35 -> build-36
1062141cc406Sopenharmony_ci--------------------
1063141cc406Sopenharmony_ci
1064141cc406Sopenharmony_ci  * added PowerLook 2100XL as supported scanner
1065141cc406Sopenharmony_ci
1066141cc406Sopenharmony_ci  * settings for PowerLook 2100XL:
1067141cc406Sopenharmony_ci    calibration_width_offest = 52
1068141cc406Sopenharmony_ci    (calibration_bytespp = 2, default)
1069141cc406Sopenharmony_ci    (calibration area = image, default)
1070141cc406Sopenharmony_ci
1071141cc406Sopenharmony_ci  * force_quality_calibration defined for PowerLook 2100XL:
1072141cc406Sopenharmony_ci    (normal calibration mode expects different calibration_width_offsets
1073141cc406Sopenharmony_ci     for PowerLook 2100XL, so it is not possible to calculate the correct
1074141cc406Sopenharmony_ci     number of calibration pixels in normal calibration mode)
1075141cc406Sopenharmony_ci    - disable quality calibration option for frontend
1076141cc406Sopenharmony_ci    - always set quality calibration bit when scanning
1077141cc406Sopenharmony_ci
1078141cc406Sopenharmony_ci  * changes for exposure times:
1079141cc406Sopenharmony_ci    - Inquiry does print correct maximum value now
1080141cc406Sopenharmony_ci    - changed variable type from SANE_FIXED to SANE_INT
1081141cc406Sopenharmony_ci    - exposure times setting for colormode does work correct now
1082141cc406Sopenharmony_ci    - as default there is only one common setting for exposure times in rgb mode,
1083141cc406Sopenharmony_ci      added umax.conf option exposure-time-rgb-bind to enable different settings
1084141cc406Sopenharmony_ci      for each color
1085141cc406Sopenharmony_ci    - added option select-calibration-exposure-time, disabled by default.
1086141cc406Sopenharmony_ci      if disabled then the calibration expousre times are the same as the scan exposure times
1087141cc406Sopenharmony_ci
1088141cc406Sopenharmony_ci  * added UMAX PS-2400X as supported device
1089141cc406Sopenharmony_ci
1090141cc406Sopenharmony_ci  * added batch scanning support:
1091141cc406Sopenharmony_ci    Options:
1092141cc406Sopenharmony_ci    --batch-scan-start:		calibration, scan, scanhead is not moved into home position
1093141cc406Sopenharmony_ci    --batch-scan-loop:		no calibration, scan, scanhead is not moved into home position
1094141cc406Sopenharmony_ci    --batch-scan-end:		no calibration, scan, scanhead is moved into home position
1095141cc406Sopenharmony_ci    --batch-next-tl-y:		defines the y start position of the bext batch scan
1096141cc406Sopenharmony_ci
1097141cc406Sopenharmony_ci    - calibration for batch scan needs a different offset and always is done for full ccd.
1098141cc406Sopenharmony_ci      PowerLook 2100XL: calibration_width_offset_batch = 1052
1099141cc406Sopenharmony_ci      Powerlook III:	calibration_width_offset_batch = 828
1100141cc406Sopenharmony_ci
1101141cc406Sopenharmony_ci
1102141cc406Sopenharmony_cibuild-36 -> build-37
1103141cc406Sopenharmony_ci--------------------
1104141cc406Sopenharmony_ci
1105141cc406Sopenharmony_ci  * added Linotype Hell SAPHIR3 as supported scanner
1106141cc406Sopenharmony_ci
1107141cc406Sopenharmony_ci  * if batch-next-tl-y is not set then the backend uses br_y
1108141cc406Sopenharmony_ci
1109141cc406Sopenharmony_ci
1110141cc406Sopenharmony_cibuild-37 -> build-38 (sane-backends-1.0.9)
1111141cc406Sopenharmony_ci--------------------
1112141cc406Sopenharmony_ci
1113141cc406Sopenharmony_ci  * added Power Look 2000 as supported scanner
1114141cc406Sopenharmony_ci
1115141cc406Sopenharmony_ci
1116141cc406Sopenharmony_cibuild-38 -> build-39 (sane-backends-1.0.10)
1117141cc406Sopenharmony_ci--------------------
1118141cc406Sopenharmony_ci
1119141cc406Sopenharmony_ci  * Power Look 2000: corrected wrong calibration-width-offset from 52 to 22
1120141cc406Sopenharmony_ci    and added calibration-width-offset-batch to 24
1121141cc406Sopenharmony_ci
1122141cc406Sopenharmony_ci  * initialized some global pointers and num_devices in sane_init
1123141cc406Sopenharmony_ci
1124141cc406Sopenharmony_ci  * replaced fork() by thread for OS2
1125141cc406Sopenharmony_ci
1126141cc406Sopenharmony_cibuild-39 -> build-40 (sane-backends-1.0.12)
1127141cc406Sopenharmony_ci--------------------
1128141cc406Sopenharmony_ci
1129141cc406Sopenharmony_ci  * UC630: dev->pause_after_reposition = 0
1130141cc406Sopenharmony_ci
1131141cc406Sopenharmony_ci
1132141cc406Sopenharmony_cibuild-40 -> build-41 (sane-backends-1.0.13)
1133141cc406Sopenharmony_ci--------------------
1134141cc406Sopenharmony_ci
1135141cc406Sopenharmony_ci  * Astra 2200 SU via USB connection: quality calibration is reset and not selectable
1136141cc406Sopenharmony_ci
1137141cc406Sopenharmony_ci
1138141cc406Sopenharmony_cibuild-41 -> build-42
1139141cc406Sopenharmony_ci--------------------
1140141cc406Sopenharmony_ci
1141141cc406Sopenharmony_ci  * replaced fork() routines by sanei_thread routines
1142141cc406Sopenharmony_ci
1143141cc406Sopenharmony_ci  * added call sanei_scsi_req_flush_all(); to do_cancel - in threaded case this is not done when reader_process is canceled
1144141cc406Sopenharmony_ci
1145141cc406Sopenharmony_ci  * in reader_process: marked freed scsi buffers as freed(NULL). This is necessary when reader_process is run as thread!
1146141cc406Sopenharmony_ci
1147141cc406Sopenharmony_ci  * Backend is compatible to Mac OS-X now.
1148141cc406Sopenharmony_ci
1149141cc406Sopenharmony_ci
1150141cc406Sopenharmony_cibuild-42 -> build-43
1151141cc406Sopenharmony_ci--------------------
1152141cc406Sopenharmony_ci
1153141cc406Sopenharmony_ci  * DOR mode does test for non negative upper_left_x values, set to 0 if negative
1154141cc406Sopenharmony_ci
1155141cc406Sopenharmony_ci
1156141cc406Sopenharmony_cibuild-43 -> build-44
1157141cc406Sopenharmony_ci--------------------
1158141cc406Sopenharmony_ci
1159141cc406Sopenharmony_ci  * the sense_handler stores the sense data in buffer[0] when valid sense data is available
1160141cc406Sopenharmony_ci
1161141cc406Sopenharmony_ci  * do_calibration:
1162141cc406Sopenharmony_ci	- corrected bug in reading calibration width from scanner (added /bytespp)
1163141cc406Sopenharmony_ci	- when additional request sense is not called then the buffer is not erased,
1164141cc406Sopenharmony_ci	  the sense data from the sense_handler is used
1165141cc406Sopenharmony_ci	- when additional request sense is called then the buffer is erased at first
1166141cc406Sopenharmony_ci
1167141cc406Sopenharmony_cibuild-44 -> build-45
1168141cc406Sopenharmony_ci--------------------
1169141cc406Sopenharmony_ci
1170141cc406Sopenharmony_ci   * added default options for Linotype Opal2
1171141cc406Sopenharmony_ci   * changed bug in highlight-blue function (using green value)
1172