-
Notifications
You must be signed in to change notification settings - Fork 0
/
ChangeLog-1.0.0
4309 lines (3038 loc) · 143 KB
/
ChangeLog-1.0.0
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
1998-11-21 David Mosberger-Tang <[email protected]>
* Version 1.0 released
* From Brian J. Murrell:
* backend/dll.conf: Mention dc210.
* backend/cderror.h: New file.
* backend/jinclude.h: Ditto.
* backend/djpeg.c: Ditto.
* backend/dc210.desc: Ditto.
* backend/dc210.h: Ditto.
* backend/dc210.c: Ditto.
* backend/cdjpeg.h: Ditto.
* doc/Makefile.in (SECT5): Mention sane-abaton.5.
* doc/sane-abaton.man: New file.
* backend/abaton.c: Ditto.
(wait_ready): Explicitly cost tv_sec member to (long) in order
to print it (avoids warning on platforms where tv_sec is not a long).
* backend/abaton.h: Ditto.
* backend/abaton.conf: Ditto.
* backend/abaton.desc: Ditto.
* backend/dll.conf: Mention abaton.
* Apollo/DomainOS fixes by Paul Walker:
* sanei/sanei_DomainOS.h: Add this missing file.
* sanei/sanei_config2.c: Include <sane/config.h> to get
u_char defined if necessary.
* sanei/sanei_DomainOS.c (upper_string): Delete.
(do_help): Ditto.
* include/sane/config.h.in: Add #undef HAVE_SYS_TIME_H.
* lib/usleep.c [HAVE_SYS_TIME_H]: Include <sys/time.h> only if
we have it.
* configure.in (CPPFLAGS): Check for sys/time.h.
* frontend/gtkglue.c: Move include of <sys/types.h> in front
of include of <sys/stat.h>.
* config.sub: Apply patch to recognize -sys5.3.
* backend/microtek.c: Applied Matto's latest patch to upgrade
backend from v0.9 to v0.10.
1998-11-04 David Mosberger-Tang <[email protected]>
* backend/microtek2.desc: Mention ScanMaker X6 and Phantom 636.
* backend/microtek2.c (check_inquiry): Mention Phantom 636 in
model string.
1998-11-03 David Mosberger-Tang <[email protected]>
* backend/microtek2.c (check_inquiry): Added patch by Sebastian
Erdmann <[email protected]> to recognize ScanMaker X6.
1998-11-02 David Mosberger-Tang <[email protected]>
* backend/artec.c: Print size_t as recommended in backend/GUIDE.
1998-11-02 Chris Pinkham <[email protected]>
* backend/artec.c: changes to correct bugs when using AT12.
(sense_handler): New function (by Dick Bruijn).
(wait_ready): Ditto (by Dick Bruijn).
(abort_scan): Ditto (by Dick Bruijn).
Support added to read capability data from scanner if the model.
Supports this command (by Dick Bruijn).
Added call to sanei_scsi_close() if detected scanner is not
a Artec/Ultima model (by Francois Ouellet).
Added Negative option. Added Halftone Pattern option.
Added Filter Type option for mono scans.
Added Quality Calibration option.
Moved test_unit_ready command till AFTER we check for ULTIMA scanner.
1998-11-02 David Mosberger-Tang <[email protected]>
* config.guess: Upgrade to libtool v1.2.
* config.sub: Ditto.
* ltconfig: Ditto.
* ltmain.sh: Ditto.
1998-10-29 David Mosberger-Tang <[email protected]>
* backend/mustek.c (encode_resolution): If MUSTEK_FLAG_DOUBLE_RES
is set, use resultion encoding reported by
(attach): Set MUSTEK_FLAG_DOUBLE_RES for MSF-06000CZ. Do other
models need this, too?
(calibration): Declare NUM as size_t, not int. #ifdef out this
unused routine.
(reader_process): Print size_t values as %lu with explicit cast
to u_long.
* backend/mustek.h (MUSTEK_FLAG_DOUBLE_RES): New flag.
* backend/mustek.c (init_options): Initialize resolution with 18
dpi, not 100dpi so that "scanimage" without options gives a
preview-quality image that doesn't take much space or time.
* backend/mustek.c: Updated with Andreas Bolsch's version (adds
support for SE models).
* backend/mustek.h: Ditto.
* backend/mustek.spec: Ditto.
* backend/pnm.c (sane_read): Replace C++ comment with C comment.
* backend/microtek2.c: Updated with Bernd's v0.5.
* backend/microtek2.h: Ditto.
* backend/microtek2.conf: Ditto.
* backend/umax.c: Updated with Oliver's latest version.
* backend/umax.h: Ditto.
* backend/umax-scsidef.h: Ditto.
* backend/umax-scanner.h: Ditto.
* backend/umax-uc630.h: Ditto.
* backend/umax-uc840.h: Ditto.
* backend/umax-ug630.h: Ditto.
* backend/umax-ug80.h: Ditto.
* backend/umax-uc1200s.h: Ditto.
* backend/umax-uc1200se.h: Ditto.
* backend/umax-uc1260.h: Ditto.
* backend/umax.conf: Ditto.
* include/sane/saneopts.h: Ditto.
* doc/sane-umax-doc.html: Ditto.
* doc/sane-umax-doc.tex: Ditto.
* doc/sane-umax.man: Ditto.
1998-10-28 David Mosberger-Tang <[email protected]>
* doc/sane.tex (subsection{sane_control_option}): Clarify that
paramter "v" is ignored for SET_AUTO calls.
* frontend/saned.c (init): Initialize w->version.
* backend/net.c (connect_dev): Accept version code 2 and
set peer's version code in dev->wire.version.
* include/sane/sanei_wire.h: New member "version".
* sanei/sanei_net.c (sanei_w_control_option_req): Encode
option value only if peer_version is < 3 or if action is
not SANE_ACTION_SET_AUTO.
* include/sane/sanei_net.h (SANEI_NET_PROTOCOL_VERSION): Up
protocol version to version 3.
* sanei/sanei_net.c (sanei_w_control_option_req): Transcode
value_type, value_size, and value only if req->action !=
SANE_ACTION_SET_AUTO. Reported by Petter Reinholdtsen.
Patches by Petter Reinholdtsen <[email protected]>:
* backend/dmc.c (attach_one): Don't use C++-style comments.
* backend/dc25.h (DEFAULT_TTY_BAUD): New macro. Move SPEEDS macro
to dc25.c.
* backend/dc25.c: Initialize tty_baud to DEFAULT_TTY_BAUD. Use
B57600 and B115200 only if defined.
* doc/saned.man: Mention that hostname matching no longer is case
significant.
* configure.in
(lib/Makefile.in,lib/strcasecmp.c,frontend/saned.c): Use
strcasecmp() instead of strcmp to compare DNS hostnames. Case is
irrelevant when using DNS.
* backend/dll.c: Add support for HP-UX 10.xx style shared
libs.
* configure.in include/sane/config.h.in backends/dll.c:
Use dhl_load() family for DLL support on HP/UX.
* backend/snapscan.c (sane_snapscan_open): Don't cast lvalue
(illegal according to ANSI C, I think).
* backend/apple.c (init_options): Add explicit "break" after
"default:" to make HP-UX compiler happy (?).
(sane_read): Make stuff after #endif a comment.
* backend/agfafocus.c: New file (by Karl Anders Oygard
* backend/agfafocus.h: Ditto.
* doc/sane-agfafocus.man: Ditto.
* doc/sane-net.man: Fix typo: network service is called "sane",
not "saned" (by Andreas Dilger <[email protected]>).
* backend/hp-scl.c (sanei_hp_scsi_pipeout): Use SIGPWR only if its
defined (by Peter Kirchgessner).
* frontend/Makefile.in (INCLUDES): Mention @GTK_CFLAGS@ as part of
INCLUDES macro instead of CFLAGS. Despite its name, @GTK_CFLAGS@
is guaranteed to contain CPP include directives only. (Reported
by Kevin Dalley <[email protected]>.)
1998-10-27 David Mosberger-Tang <[email protected]>
* sanei/sanei_scsi.c (sanei_scsi_open): Return
SANE_STATUS_ACCESS_DENIED if open() fails with errno==EACCES.
* backend/ricoh-scsi.c: #ifdef out unused code and print values of
type size_t as prescribed in the file backend/GUIDE.
* backend/dll.conf: Mention Ricoh backend.
* backend/ricoh.c: New file (by Ricoh Dillema).
* backend/ricoh.h: Ditto..
* backend/ricoh-scsi.c: Ditto..
* backend/microtek.c: Apply Aug 7 patch by Matto Marjanovic.
* backend/dc25.c: Apply patch by Peter Fales (v1.1).
* backend/dc25.desc: Ditto.
* doc/sane-dc25.man: Ditto.
* backend/pnm.c: Applied patch by Goran Thyni <[email protected]>
that allows scanning parts of a PNM image.
* backend/GUIDE: Add Matto's comment on .desc files.
* backend/hp.c: New file from Peter Kirch (formerly known as xhp).
* backend/hp.h: Ditto.
* backend/hp-accessor.h: Ditto.
* backend/hp-device.h: Ditto.
* backend/hp-handle.h: Ditto.
* backend/hp-option.h: Ditto.
* backend/hp-scl.h: Ditto.
* backend/hp-scsi.h: Ditto.
* backend/hp-accessor.c: Ditto.
* backend/hp-device.c: Ditto.
* backend/hp-handle.c: Ditto.
* backend/hp-hpmem.c: Ditto.
* backend/hp-option.c: Ditto.
* backend/hp-scl.c: Ditto.
* backend/Makefile.in (libsane-hp.la): Make libsane-hp.la
dependent upon hp-accessor.lo, hp-device.lo, hp-handle.lo,
hp-hpmem.lo, hp-option.lo, and hp-scl.lo.
1998-10-22 David Mosberger-Tang <[email protected]>
* doc/sane-hp.man (Model): Mention HP6200 as per report by Tom
Martone <[email protected]>.
1998-07-30 David Mosberger-Tang <[email protected]>
* include/sane/config.h.in: Apply Cory Kempf's
<[email protected]> FreeBSD CAM support patch.
* sanei/sanei_scsi.c: Ditto.
* tools/find-scanner.c: Ditto.
* configure.in: Ditto.
1998-07-27 David Mosberger-Tang <[email protected]>
* Version 0.74 released.
* configure.in (CPPFLAGS): Save old CPPFLAGS in saved_CPPFLAGS and
then set CPPFLAGS (not saved_CPPFLAGS!) to include GTK_CFLAGS.
This should get GIMP detected again.
* frontend/xscanimage.c (init): Add missing newline.
* backend/net.c (sane_init): Look for service "sane", not "saned".
* configure.in (V_MINOR): Make it 74.
* tools/sane-desc.el: Hack a bit so sane-backends.html can be
generated some place other than the working directory
(which may not be writable).
* tools/sane-desc.el: New file by Matto.
* doc/Makefile.in (sane-backends-html): New rule to generate
sane-backends.html.
* backend/apple.desc: List sane-apple man page.
* backend/umax.c: Updated with Oliver's latest version (with Irix
4MB workaround).
* backend/microtek.c: Updated with Matto's v0.9.
* backend/microtek.h: Ditto.
* backend/microtek.conf: Ditto.
* backend/microtek.desc: Ditto.
* doc/sane-microtek.man: Ditto.
* backend/apple.h: Updated with Milon's v0.3.
* backend/apple.c: Ditto.
* doc/sane-apple.man: New file (contributed by Milon Firirkis).
1998-07-23 David Mosberger-Tang <[email protected]>
* backend/canon-scsi.c (reserve_unit): Don't compile unused
reserve_unit().
* sanei/sanei_scsi.c: Apply Yuri's patch to add
sanei_scsi_find_devices() support to OS/2.
* sanei/sanei_pio.c: Include <sane/sanei_backend.h> instead of
just <sanei/sanei_debug.h> so we pick up #define's for inb and
out.
* include/sane/config.h.in: Mention HAVE_OS2_H and
HAVE_SYS_TYPES_H.
* configure.in (AC_CHECK_HEADERS): Mention sys/hw.h and
sys/types.h.
(AC_CHECK_LIB): Check for syslog.
(AC_CHECK_FUNCS): Check for _portaccess.
(CPPFLAGS): Don't disable qcam backend if we have _portaccess.
These patches contributed by Yuri for the benefit of OS/2.
* backend/qcam.c (qc_unlock) [!F_SETLK]: Fall back to convention
UNIX-style locking using O_EXCL (not ideal, but better than
nothing at all).
(qc_lock_wait): Ditto.
* sanei/sanei_scsi.c (KillDomainServer): Add missing paren.
* lib/usleep.c [HAVE_SYS_SELECT_H]: Include <sys/select.h>.
* include/sane/sanei_backend.h: Define i/o-port access
compatibility macros (by Yuri Dario).
* backend/Makefile.in (CONFIGS): Mention dummy saned.conf
(this really ought to go in frontend/Makefile, but I'm too lazy to
add a configuration-install rule there...).
* backend/coolscan.c: Update with Didier's latest version.
(send_one_LUT): Merge in alloca() fix from 1998-04-04.
1998-07-22 David Mosberger-Tang <[email protected]>
* backend/dll.conf: Mention artec backend.
* backend/mustek.c (sane_start): Remove duplicate status test.
1998-07-21 David Mosberger-Tang <[email protected]>
* frontend/saned.c (main): Look for service name "sane", not
"saned".
1998-07-20 David Mosberger-Tang <[email protected]>
* backend/epson.c (epson_cmd): Add patch by Holger Frahm
<[email protected]> to support GT9500.
* backend/microtek.c: Update with latest version (v0.8).
* backend/artec.c (PREFER_PIXEL_MODE): Apply Chris Pinkham's
6/4/98 patch to add preliminary support for AT6 and AT12 scanner
models.
* backend/epson.c: Apply Christian Bucher's patch.
* backend/dc25.h: New file (by Peter Fales <[email protected]>)
* backend/dc25.c: Ditto.
* backend/dc25.conf: Ditto.
* doc/sane-dc25.man: Ditto.
* backend/microtek2.c: Replace dynamically sized array with
alloca() to be ANSI C compliant.
* backend/epson.c: Replace zero-sized byte arrays with 1 byte
arrays to be ANSI C compliant.
* doc/sane-hp.man: Mention ScanJet 3P (reported by Patrick Debois
* backend/umax.c: Updated with Oliver's 5/7/98 patch.
1998-07-20 Chris Pinkham <[email protected]>
* backend/artec.c: Added code to default to using millimeters
instead of pixels for measurements, can revert to pixels by
defining PREFER_PIXEL_MODE at compilation time.
Added code to cause sane_read to block until data available to return,
also buffers as much data as possible before returning.
Added code to cause sane_read to read as much data from scanner as
possible for each call, previously would read 1 line max from
scanner.
Added code to attempt to detect scanner capabilities from scanner
if scanner supports this command, it not program has defaults
coded in for certain scanner models.
Separated horizontal and vertical resolution settings with ability
to bind them together. This still has a bug, so the option is is
disabled by default until I can get it working correctly.
Bug-fixes to get backend working properly with xscanimage.
Added preview mode option.
Added threshold option.
* backend/artec.h: Added options codes to go along with options
added in artec.c file.
1998-07-20 David Mosberger-Tang <[email protected]>
* backend/epson.c (scsi_write): Apply patch by Thomas Bogendoerfer
<[email protected]> to get Epson backend to work for SCSI
scanners again.
1998-06-05 David Mosberger-Tang <[email protected]>
* backend/mustek.c (attach): Move dev_wait_ready() after the check
for a Mustek scanner. This is to make sure we don't issue any
command other than INQUIRY to SCSI devices that are not known to
be Mustek scanners.
1998-05-22 David Mosberger-Tang <[email protected]>
* backend/dmc.c: Updated with David Skoll's latest patch.
* sanei/sanei_scsi.c (sanei_scsi_find_devices): Declare missing
findtype arg for dummy sanei_scsi_find_devices().
1998-05-16 David Mosberger-Tang <[email protected]>
* backend/hp.c (attach): Return right after INQUIRY if the device
doesn't look like an HP scanner.
1998-05-15 David Mosberger-Tang <[email protected]>
* Version 0.73 released.
* backend/mustek.c (attach): Initialize *devp to 0.
* configure.in: Use AM_PATH_GTK to figure out if/how to compile
with gtk libs.
* aclocal.m4: Include gtk.m4 from gtk-1.0.1 distribution.
* backend/Makefile.in (install): Change install rule so there is
guaranteed to be a (symlink) of the form
libsane-$(BACKEND).so.$(V_MAJOR) pointing to the right version
of a dll.
* backend/dll.c (load): Get rid of .la parsing non-sense. Instead,
always attempt to open libsane-$(BACKEND).so.$(V_MAJOR).
* backend/mustek.c (sane_init): Make sure empty lines really
are ignored.
1998-05-13 David Mosberger-Tang <[email protected]>
* backend/microtek2.conf: Add line "scsi * * Scanner".
* backend/microtek.conf: Ditto.
* sanei/sanei_scsi.c (get_devicename): New function.
* sanei/sanei_config2.c: New file.
* sanei/Makefile.in (LIBSANEI_OBJS): Mention sanei_config2.
(LIBSANEI_LTOBJS): Ditto.
* sanei/sanei_scsi.c (sanei_scsi_find_devices): New function
(comes in two flavors: one for Linux, one for the remaining
platforms).
* include/sane/sanei_scsi.h: New function.
* doc/sane-dll.man: Fix to make it work with man2html (use
\- instead of -).
* doc/sane-dmc.man: Ditto.
* doc/sane-epson.man: Ditto.
* doc/sane-hp.man: Ditto.
* doc/sane-microtek.man: Ditto.
* doc/sane-microtek2.man: Ditto.
* doc/sane-mustek.man: Ditto.
* doc/sane-pint.man: Ditto.
* doc/sane-scsi.man: Ditto.
* doc/sane-umax.man: Ditto.
* doc/saned.man: Ditto.
* doc/scanimage.man: Ditto.
* doc/xscanimage.man: Ditto.
* doc/Makefile.in (MAN2HTML): New macro.
(html-man): New rule to generate HTML version of man-pages.
* configure.in (V_MINOR): Up to 73.
* backend/umax.conf: Add lines "scsi UMAX" and "scsi LinoHell
Office".
* backend/microtek2.h: New file (by Bernd Schroeder
* backend/microtek2.c: Ditto.
* backend/microtek2.conf: Ditto.
* backend/dll.conf: Mention "microtek2".
* backend/apple.conf: Add line "scsi APPLE".
* backend/mustek.conf: Add lines for "scsi MUSTEK" and "scsi
SCANNER".
* backend/apple.c (attach_one): New function.
(sane_init): Use sanei_config_attach_matching_devices().
* backend/artec.c: Like for apple.c.
* backend/canon.c: Ditto.
* backend/coolscan.c: Ditto.
* backend/dmc.c: Ditto.
* backend/epson.c: Ditto.
* backend/hp.c: Ditto.
* backend/microtek.c: Ditto.
* backend/mustek.c: Ditto.
* backend/s9036.c: Ditto.
* backend/snapscan.c: Ditto.
* backend/tamarack.c: Ditto.
1998-05-11 David Mosberger-Tang <[email protected]>
* backend/snapscan.c (sane_snapscan_get_parameters): Always set
depth of 8.
* configure.in: Check for gtk_tooltips_set_tips _after_ gtk
libraries have been located. (Patch by Jake E. Hamby
1998-05-09 David Mosberger-Tang <[email protected]>
* sanei/Makefile.in (.c.o): Patch by Kaz Sasayama
<[email protected]>: invoke $(COMPILE) if libtool
doesn't give us a regular .o file.
* lib/Makefile.in (.c.o): Ditto.
* frontend/preview.c (preview_update): Call update_selection() so
selection is updated when scanwindow geometry changes. The patch
from 1998/4/2 never worked satisfactorily (and indeed was never
enabled in any of the SANE releases).
1998-05-06 David Mosberger-Tang <[email protected]>
* backend/mustek.c (sane_init): Use sanei_config_skip_whitespace()
to skip whitespace.
1998-05-05 David Mosberger-Tang <[email protected]>
* frontend/xscanimage.c (init): Allow -g as an option.
* sanei/sanei_config.c (sanei_config_get_string): New function.
(sanei_config_skip_whitespace): Ditto.
* backend/umax.c: Updated with Oliver's latest patch.
* Makefile.in (INSTALLED_INCLUDES): Mention sanei_readproc.h.
* backend/microtek.h: Updated with Matto's 0.7 patch.
* doc/sane-microtek.man: Ditto.
* backend/microtek.c: Ditto.
Added precalibration code: tries to intelligently have scanner
run a calibration only once when necessary --- this shaves a solid
six seconds off every scan!
Added model code/vendor name for ScanMaker 600ZS.
Added model codes/vendor name for Agfa Arcus II, StudioScan,
StudioScan II.
Patched up 3-pass scanning (forgot to switch color planes).
Corrected IIHR to 600dpi base resolution.
Check so that 0x0 regions are recognized as invalid.
Fixed subtle buffering bug in color scans.
Fixed-up active/inactive dependencies among options.
Make sure shadow <= midtone <= highlight.
Let shadow/midtone/hightlight be active during LineArt and Halftone.
"Halftoning" option moved into Scan Mode Group (from Enhancement).
Removed some illegal "TEST_UNIT_READY" commands (during scan).
Removed "MODE_SENSE_1", since it didn't quite work anyway.
1998-05-03 David Mosberger-Tang <[email protected]>
* frontend/xscanimage.c (scan_preview): Don't register
preview_window_destroyed as a delete_event handler.
1998-05-02 David Mosberger-Tang <[email protected]>
* backend/Makefile.in: Remove unused LIBLIB macro.
1998-04-30 David Mosberger-Tang <[email protected]>
Patches by Matto Marjanovic:
* frontend/gtkglue.c (gsg_close_dialog_callback): Remove
client_data pointer arg.
* frontend/xscanimage.c (scan_win_delete): Remove GdkEvent arg.
(preview_window_destroyed): Ditto.
(input_available): Include bad_depth handling code only if
HAVE_LIBGIMP_GIMP_H is defined.
(scan_dialog): Remove client_data pointer arg.
1998-04-29 David Mosberger-Tang <[email protected]>
* frontend/gtkglue.c (gsg_get_filename): Use gtk_events_pending()
instead of gdk_events_pending().
* frontend/preview.c (input_available): Ditto.
* frontend/xscanimage.c (quit_xscan): Ditto.
(input_available): Ditto.
1998-04-08 David Mosberger-Tang <[email protected]>
* sanei/sanei_pio.c (sanei_pio_open): Fix prototype.
1998-04-07 David Mosberger-Tang <[email protected]>
* Version 0.72 released.
* backend/epson.c (sane_init): Fix up config file reading
to be more like that of other backends.
(PATH_MAX): Use PATH_MAX instead of FILENAME_MAX.
* backend/canon.c (sane_init): Read & process canon.conf (patch by
Yuri Dario <[email protected]>).
1998-04-06 David Mosberger-Tang <[email protected]>
* sanei/sanei_init_debug.c (sanei_init_debug): Move up #endif
so NULL-test works for OS/2, too.
* frontend/saned.c: Include <sys/types.h>.
* backend/snapscan.c: Don't include non-ANSI <values.h>.
(sane_snapscan_start): Use INT_MAX instead of MAXINT.
(PATH_MAX): Define PATH_MAX as 1024 if not defined otherwise.
1998-04-05 David Mosberger-Tang <[email protected]>
* backend/umax.c: Updated with Oliver's latest version
(0.72pre-a).
1998-04-04 David Mosberger-Tang <[email protected]>
* backend/coolscan.c: Do lalloca.h spiel instead of including
alloca.h.
* configure.in: Look for glib/include directory in /usr/local/lib
and /usr/lib. Add $C_SWITCH_X_SITE to CPPFLAGS, not DEFS.
* doc/sane-mustek.man: Mention MFS-1200SP v1.07 as working as
reported by [email protected] (Edmund H. Ramm).
1998-04-03 David Mosberger-Tang <[email protected]>
* backend/canon-scsi.c (request_sense): ifdef out to quiet down
gcc.
* backend/artec.c (read_data): Print size_t as (u_long) to make it
work right and without compiler warning both on 32 and 64 bit
platforms.
(artec_get_status): Ditto.
(init_and_start_scan): Ditto.
(sane_start): Ditto.
(sane_read): Ditto.
(artec_buffer_line_offset): Declare LEN as size_t.
* backend/epson.c (sane_read): Ditto.
* sanei/sanei_pio.c (pio_wait): Initialize STAT with 0 to quiet
down gcc.
* backend/Makefile.in (libsane-epson.la): Mention sanei_pio.lo.
(libsane-dll.la libsane.la): Ditto.
* sanei/Makefile.in (LIBSANEI_OBJS): Mention sanei_pio.o.
(LIBSANEI_LTOBJS): Mention sanei_pio.lo.
* frontend/xcam.c (input_available): Undo braindamage regarding
break out of scan loop (the SANE docs _do_ specify that in
blocking mode, *len==0 implies end of scan).
* frontend/xscanimage.c: Ditto.
* doc/sane-dmc.man: New file by David Skoll.
* sanei/sanei_DomainOS.c: New file by Paul Walker.
* backend/snapscan.c (DL_INFO, DL_MAJOR_ERROR): Up error code to 1
to avoid printing anything unless the user specifically asked
for this.
* include/sane/sanei_debug.h (DBG_LEVEL): Define debug level
variable as macro DBG_LEVEL.
* README.solaris (NOTE): Emphasize that generic scsi driver
needs to be installed before running configure.
* backend/s9036.c: Don't depend on GNU C dynamically sized arrays.
* backend/coolscan.c (send_one_LUT): Use alloca() instead of
depending on GNU C dynamically sized arrays.
Include <alloca.h>.
* frontend/xscanimage.c (input_available): Break out of the
loop only if LEN==0 _and_ we have a non-negative input tag.
* frontend/xcam.c (input_available): Ditto.
* backend/microtek.c (parse_inquiry): Handle for ScanMaker 35t+.
(id_microtek): Ditto.
1998-04-02 David Mosberger-Tang <[email protected]>
* configure.in (CPPFLAGS): Check for libXi.
* frontend/gtkglue.c (panel_destroy): Clear dialog elements
after destroying the panel.
Patches by Christian Bucher <[email protected]>:
* include/sane/sanei_pio.h: New file.
* sanei/sanei_pio.c: Ditto.
* backend/epson.c, backend/epson.h, backend/epson.conf: Updated
with Christian's version adds support for parallel port interface.
* sanei/sanei_scsi.c (sanei_scsi_req_wait): Patch by Matto to let
sense-handler decide whether a non-zero sense_buffer[0] really
should be considered an error (needed for Microtek backend).
* doc/sane.tex (\subsubsection{Option Value Unit}): Document new
unit SANE_UNIT_MICROSECOND.
Patches by Oliver Rauch:
* frontend/gtkglue.c (unit_string): Handle SANE_UNIT_MICROSECOND.
* frontend/scanimage.c (print_unit): Ditto.
(parse_scalar): Ditto.
* include/sane/sane.h: Add SANE_UNIT_MICROSECOND.
* Upgrade to Kevin's latest SnapScan backend (0.4).
* doc/sane-hp.man: Mention ScanJet IIp C1790A as working (reported
by [email protected]).
* frontend/xscanimage.c (init): Issue an error message when we see
option -g as this is most likely due to someone invoking
xscanimage through GIMP when GIMP support is missing.
(scan_done): Add sanity check.
(scan_start): Ditto.
* Upgraded to Matto's latest Microtek backend (0.6).
* Upgraded to Oliver's latest UMAX backend (0.71h).
* frontend/preview.c (draw_selection): Fix so that selection is
updated when sliders are moved. Patch by Mikko Tyo"la"ja"rvi.
* backend/snapscan.c (DL_INFO): Increase from 0 to 1.
(DL_MAJOR_ERROR): Ditto. This avoids printing error messages
unless the user specifically requests them.
* frontend/gtkglue.c: Include <sys/types.h>.
* include/sane/config.h.in: Ignore HAVE_USLEEP under Apollo
Domain.
Patches by Paul Walker:
* sanei/sanei_scsi.c: New Domain OS code.
* tools/find-scanner.c: Include <sane/config.h>.
* lib/usleep.c (usleep): Use time_$wait() to avoid broken usleep()
implementation in Domain Sys5.3 environment.
* config.sub: Translate sys5.3 into sysv3 for the benefit
of Apollo Domain/OS.
* sanei/sanei_init_debug.c (sanei_init_debug): Use DosScanEnv()
instead of getenv() under OS/2. (Patch by Yuri Dario
1998-03-02 David Mosberger-Tang <[email protected]>
* frontend/xcam.c (main): Remove obsolete call to
gdk_set_debug_level (0).
* backend/mustek.c (attach): Print debug message when discovering
unknown model.
* doc/sane-scsi.man: Mention Adaptec 1505.
* tools/find-scanner.c (main): List FreeBSD specific device names.
* tools/Makefile.in (LIBS): Define.
(find-scanner): Mention $(LIBS).
* backend/epson.conf: New file.
Patches by Yuri Dario <[email protected]>:
* backend/epson.c (sane_init): Support config file.
* sanei/sanei_ab306.c (outb): Add missing parens.
* backend/snapscan.c: Don't include <values.h>
* backend/net.c: Include netdb.h after in.h to appease OS/2.
Include <sys/types.h>.
* sane-0.71.spec (%files): Mention sane-dmc.5.
* doc/Makefile.in (SECT5): Ditto.
* backend/dmc.c, backend/dmc.h: Update with Feb 26 patch from
David Skoll.
* doc/dmc.man: New file by David Skoll.
1998-02-25 David Mosberger-Tang <[email protected]>
* backend/dmc.c (DMCSetMode): Add missing field name (patch by
Martin Huber).
* tools/find-scanner.c (main) [__sun]: Add missing command (patch
by Martin Huber.
* sanei/sanei_scsi.c (sanei_scsi_cmd): Fix typo: fd_Info->fd_info
(patch by Jeff Freedman).
* configure.os2: Update with patch by Jeff Freedman.
* backend/snapscan.c (sane_snapscan_start): Replace non-standard
MAXINT by INT_MAX from <limits.h>.
(PATH_MAX): Define PATH_MAX as 1024 if not defined by headers.
1998-02-23 David Mosberger-Tang <[email protected]>
* Version 0.71 released.
* backend/dmc.c (DMCAttach): Close scsi fd before returning.
* backend/microtek.c: Default to no_dump.
(sane_init): Change "nodump" into "dump" option.
* doc/sane-microtek.man: Document this change.
* backend/snapscan.c: Include <sane/sanei_config.h>.
(sane_snapscan_init): Use sanei_config_open() instead of fopen().
* backend/snapscan.c: Upgrade to latest version (0.3 patch 7).
* backend/snapscan.h: Ditto.
* configure.in (V_MINOR): Up version to 0.71.
* sanei/sanei_scsi.c (scsi_cmd) [USE == SOLARIS_INTERFACE]: "or"
in lun instead of overwriting cdb[1] (patch by Martin Huber
* backend/snapscan.c: Replace <posix1_lim.h> with <limits.h>.
* backend/mustek.c (fix_line_distance_mfs): Add back missing
multiplication by bpl (patch by Stefano Garavaglia
* backend/coolscan.c: Updated with Didier's latest version.
(COOLSCAN_CONFIG_FILE): Rename from PATH_COOLSCAN_CONFIG and
define as "coolscan.conf". Include <sane/sanei_config.h>.
(sanei_init): Use sanei_config_open() instead of fopen().
* backend/coolscan-scsidef.h: Ditto.
* backend/coolscan.h: Ditto.
* backend/hp.c (sane_close): Change s to s->next (patch by David
Skoll <[email protected]>).
1998-02-17 David Mosberger-Tang <[email protected]>
* backend/Makefile.in (PRELOADABLE_BACKENDS): Mention apple &
coolscan.
* backend/coolscan.c: New file (by Didier Carlier
<[email protected]>)..
* backend/coolscan.h: Ditto.
* backend/coolscan-scsidef.h: Ditto.
* backend/apple.c: Include <sane/sanei_config.h>
(APPLE_CONFIG_FILE): Rename from PATH_APPLE_CONFIG.
(sane_init): Use sanei_config_open().
* backend/apple.conf: New file.
* backend/dll.conf: Mention apple & coolscan backends.
* backend/apple.c: New file (by Milon Firikis
* backend/apple.h: Ditto.
* sane-0.70.spec: Make symlink for libsane.so.0.
* doc/sane-epson.man: Mention GT-5500 scanner as working (as
reported by Umberto Zanatta <[email protected]>).
1998-02-12 David Mosberger-Tang <[email protected]>
* sanei/sanei_scsi.c (DOMAINOS_INTERFACE): Define. Add
Apollo Domain/OS support contributed by Paul Walker.
* configure.in (AC_CHECK_HEADERS): Mention apollo/scsi.h.
Add #undef of HAVE_APOLLO_SCSI_H. Add type checks for u_char,
u_int, u_long (DomainOS reportedly needs these).
* sanei/sanei_scsi.c (sanei_scsi_req_wait) [USE ==
LINUX_INTERFACE]: Always check for a non-zero error code in the
sense-buffer. The Linux sg driver guarantees that the sense
buffer is clear to zero when no sense code has been requested, so
this is safe.
1998-01-28 David Mosberger-Tang <[email protected]>
* Version 0.7 released.
1998-01-27 David Mosberger-Tang <[email protected]>
* frontend/xscanimage.c (quit_xscan): Exit with status 0, not 1.
* tools/xerox (scale): Added improvements contributed by Joachim
Woll <[email protected]>.
* Upgrade to Oliver's latest UMAX backend.
* include/Makefile.in (distclean): Add empty all rule. Add
distclean rule to delete Makefile.
* Makefile.in (distclean): Delete japi/Makefile as well (this
command should be removed once japi gets added to SUBDIRS).
* backend/Makefile.in (EXTRA): Remove ../lib/usleep.lo and
../lib/strndup.lo.
(libsane.la): Make dependent on $(LIBOBJS).
* frontend/xscanimage.c (preview_window_destroyed): Declare second
arg (added in some version of gtk?).
* tools/find-scanner.c (main): Change __sgi__ to __sgi.
1998-01-26 David Mosberger-Tang <[email protected]>
* backend/microtek.c: Don't declare strdup()---you're bound to get
it wrong for some platforms!
* doc/sane-scsi.man: Say explicity that generic SCSI support needs
to be enabled.
* doc/sane-hp.man (Problems): Document PhotoSmart problems
as reported Peter Kirchgessner <[email protected]>.
* backend/snapscan.c: Upgrade to v0.3 from
http://www.cs.ualberta.ca/~charter/snapscan.html.
* backend/snapscan.h: Ditto.
1998-01-22 David Mosberger-Tang <[email protected]>
SnapScan backend by Franck Schnefra, Michel Roelofs and
Kevin Charter:
* backend/snapscan.c: New file.
* backend/snapscan.h: Ditto.
* backend/snapscan.conf: Ditto.
* backend/umax-scanner.h (scanner_str): Add missing comma.
* sanei/sanei_scsi.c (sanei_scsi_cmd): Pass sense_handler_arg to
sense handler for BSD_INTERFACE, HPUX_INTERFACE,
OPENSTEP_INTERFACE, DECUNIX_INTERFACE, SCO_OS5_INTERFACE,
OS2_INTERFACE, IRIX_INTERFACE, AIX_GSC_INTERFACE, and
SOLARIS_INTERFACE.
* include/sane/config.h.in: Add missing #undef of
HAVE_SYS_SCSI_TARGETS_SCGIO_H.
Ditto for HAVE_SYS_SCSI_SGDEFS_H.
1998-01-20 David Mosberger-Tang <[email protected]>
* Version 0.69 released.
* doc/sane-scsi.man: Limit ncr810 patch to kernel versions <
2.0.33.
* tools/xerox (HEIGHT): Add A4 paper size as comment.
1998-01-19 David Mosberger-Tang <[email protected]>
* frontend/preview.c (make_preview_image_path): New function.
(preview_destroy): Save scan surface parameters as a comment
in the preview image.
(restore_preview_image): Read scan surface parameters from
preview image file and restore only if the parameters match
the currently selected surface.
(paint_image): Gracefully handle NULL image_data.
(event_handler): Don't call restore_preview_image().
(preview_update): Detect if the scan surface changed. If so,
establish a new preview widget size, preview area size, and
restore a preview image, if available.
* backend/mustek.c (sense_handler): Declare closure argument.
* sanei/sanei_scsi.c (sanei_scsi_open): Fix typos.