Wykres commitów

97 Commity (master)

Autor SHA1 Wiadomość Data
Henning Geinitz b8cbd336da Fixed the xcam code related to the GdkImage data buffer filling. I've resorted
to the RGB shift values contained in the GdkVisual associated to the image. It
seems to work pretty well now, and should be more portable among different
platforms and X11 visuals. Only 24/32 bit was fixed, 15/16 bit may need more
work.  Patch from Andrea Suatoni <a.suatoni@telefonica.net>.
2003-01-24 14:58:11 +00:00
Henning Geinitz 5e54c087cf Some platforms/compilers don't define u_int8_t so we must do that ourselves. 2003-01-18 22:03:08 +00:00
Henning Geinitz 46be2934fd Create $(DESTDIR)$(sanedatadir) before installing sane-style.rc. 2003-01-14 20:55:47 +00:00
Henning Geinitz 22d3313359 Removed already defined Preferences variable. 2003-01-12 20:09:18 +00:00
Henning Geinitz f75fcf6d17 Install sane-style.rc to $(sanedatadir) where it can be found by the frontends
(from Andrea Suatoni <a.suatoni@telefonica.net>).
2003-01-05 18:45:39 +00:00
Henning Geinitz 6e352478f6 Use a scrollbar if the options dialog gets too big. Make output filname
dialog modal. Add check marks for unit menu.  All patches from Julien BLACHE
<jblache@debian.org>.
2002-12-30 14:32:32 +00:00
Henning Geinitz 988a002348 Added 16 bit support for stand-alone mode SANE_FRAME_GRAY and SANE_FRAME_RGB
(from Sergey Vlasov <vsu@altlinux.ru>.). Call scan_done if an error occurs
during scan_start. Run sane_cancel even if sane_read wasn't called once.
2002-11-14 16:49:45 +00:00
Henning Geinitz 32586c1b7b Disable "Scan" and "Acquire Preview" buttons while scanning, and "Acquire
Preview" while acquiring a preview. Avoids error messages and/or
lockups. Patch from Aurelien Jarno <ml@aurel32.net>.
2002-10-17 18:49:22 +00:00
Henning Geinitz a4bcb6edea Added malloc that got lost in previous commit. 2002-10-15 15:06:47 +00:00
Henning Geinitz 1247dc65b8 Avoid unaligned 1 bit previews. Fixed 1 bit color mode (also three-pass).
Changed 1 bit color modes to most significant bit is first pixel.
2002-09-30 13:48:46 +00:00
Matto Marjanovic 84a3d61f3e Added a couple of GTK mainloop calls so that the UI is updated in
a more timely fashion.  Helps with backends which have potentially
 slow sane_start() and sane_read() commands (e.g. microtek).
2002-09-02 21:53:52 +00:00
Henning Geinitz f782c326bd Really use only guint types instead of u_int??_t.
Henning Meier-Geinitz <henning@meier-geinitz.de>
2002-04-13 18:51:19 +00:00
Henning Geinitz f5b92b13df Don't remove imput tags that haven't been added. Don't hang when EOF and
non-blocking.
Henning Meier-Geinitz <henning@meier-geinitz.de>
2002-04-06 10:31:23 +00:00
Henning Geinitz fd73a53e6a Set order of pixels in 1 bit color mode to least significant -> most significant. That's the same as in three-pass mode.
Henning Meier-Geinitz <henning@meier-geinitz.de>
2002-04-02 21:42:48 +00:00
Henning Geinitz 99691b8785 Used guint types instead of u_int.
Henning Meier-Geinitz <henning@meier-geinitz.de>
2002-04-02 17:15:56 +00:00
Henning Geinitz ec89da2212 Fixed 1 bit color three-pass mode. Added 16 bit modes. Added 1 bit color
mode.
Henning Meier-Geinitz <henning@meier-geinitz.de>
2002-04-01 20:55:27 +00:00
Henning Geinitz 1621c05f59 Add DESTDIR variable to allow installing to a temporary directory. Actually
print the names of the installed files, not only their path.
Henning Meier-Geinitz <henning@meier-geinitz.de>
2002-03-28 19:26:00 +00:00
Henning Geinitz 58cb957f7b Actually print what we are installing where.
Henning Meier-Geinitz <henning@meier-geinitz.de>
2002-03-15 22:14:16 +00:00
Henning Geinitz 4abee080d8 OS/2 compatibility fixes.
Henning Meier-Geinitz <henning@meier-geinitz.de>
2002-01-16 21:16:29 +00:00
Tom Martone 260ae6bb24 2002-01-11 Tom Martone <tom@martoneconsulting.com>
* src/scanadf.c (new)
	* doc/scanadf.man (new)
	* ./configure.in
	* src/Makefile.in
	* doc/Makefile.in
	* AUTHORS
	  added scanadf program
2002-01-12 00:45:20 +00:00
Henning Geinitz 8c52b3ae5b Fixed .PHONY. Added target "dist".
Henning Meier-Geinitz <henning@meier-geinitz.de>
2002-01-08 18:18:47 +00:00
Oliver Schwartz e6e433cea0 Check for width==0 in restore_preview_image() to avoid floating point exception 2001-11-29 18:15:33 +00:00
Henning Geinitz a2af61540c Don't send gimp images with more then 8 bits/color. Patches from
mh <crapsite@gmx.net>. Changed name of find-scanner
to sane-find-scanner.
Henning Meier-Geinitz <henning@meier-geinitz.de>
2001-10-13 15:54:38 +00:00
Henning Geinitz 65fefb3ccc Use "xscanimage" as program name consistantly (instead of "xscan").
Henning Meier-Geinitz <henning@meier-geinitz.de>
2001-08-03 20:57:50 +00:00
Oliver Rauch 539a0d563d 2001-07-02 Oliver Rauch <Oliver.Rauch@Rauch-Domain.DE>
* configure/configure.in: added check for os2.h

        * src/xscanimage.c: added set_gimp_PLUG_IN_INFO(&PLUG_IN_INFO);
          before result = gimp_main (argc, argv); for os2
2001-07-02 23:08:51 +00:00
Oliver Rauch e3ddda1684 2001-06-12 Oliver Rauch <Oliver.Rauch@Rauch-Domain.DE>
* changed "#ifdef OS2" to "#ifdef HAVE_OS2_H" in gtkglue.c
2001-06-12 18:37:01 +00:00
Oliver Rauch a93f46aebb 2001-06-09 Oliver Rauch <Oliver.Rauch@Rauch-Domain.DE>
* src/gtkglue.c: gsg_make_path(): colons ":" in dev_name
          are replaced by "+_" for OS2
2001-06-09 07:41:36 +00:00
Henning Geinitz 5c0a1b1a68 Used #include "../include/..." for internal headers.
Henning Meier-Geinitz <henning@meier-geinitz.de>
2001-05-28 21:39:54 +00:00
Henning Geinitz 5746b2921f Added target "make uninstall".
Henning Meier-Geinitz <henning@meier-geinitz.de>
2001-05-28 21:36:42 +00:00
Henning Geinitz 634270d81a Fixed problems with old gimp versions. 2001-05-05 11:47:37 +00:00
Henning Geinitz 6d8b30446d Missing quotation marks seem to cause problems with some shells. 2001-04-29 21:07:55 +00:00
Henning Geinitz 9b79ce28a8 2001-04-28 Henning Meier-Geinitz <henning@meier-geinitz.de>
* TODO: Removed entries about >8bit support for xscanimage, xcam doc
	  strings, and hand-scanner mode in xscanimage.
	* src/xscanimage.c: Print an error when hand-scanner mode is requested.
	  Don't try to calculate image size in this case.
2001-04-28 16:12:22 +00:00
Henning Geinitz 20a007a0a2 2001-04-27 Henning Meier-Geinitz <henning@meier-geinitz.de>
* doc/xscanimage.man src/xscanimage.c src/xscanimage-gimp-1_0-compat.h:
	  Implemented (again) support for SANE_DEFAULT_DEVICE. If set, the
	  suitable backend is preselected in the device dialog. Use new Gimp
	  API, added compatibility file for old Gimp API (from xsane).
	* TODO: Removed entry about SANE_DEFAULT_DEVICE and new Gimp API.
2001-04-27 21:34:44 +00:00
Henning Geinitz 5bfab6c747 2001-04-22 Henning Meier-Geinitz <henning@meier-geinitz.de>
* INSTALL: Clarified that /usr/local/lib/sane in ld.so.conf is only
	  needed for SANE 1.0.1 and /usr/local/lib for 1.0.2 and later.
	* NEWS: Made the message shorter. Now the status output of configure
	  should fit onto one screen. Updated Oliver's email address.
	* src/Makefile.in: Added message if no programs can be installed
	  (usually if gtk wasn't found).
2001-04-22 18:28:53 +00:00
Henning Geinitz 5aa7427df8 Forgot to commit src/xscanimage.c.
Henning Meier-Geinitz <hmg@gmx.de>
2000-12-23 15:49:36 +00:00
Henning Geinitz 6b48e9ca88 2000-12-08 Henning Meier-Geinitz <hmg@gmx.de>
* TODO: Updated. Removed entry about --without-x.
	* src/xscanimage.c: Fixed bux: When closing "select device" dialog
	  with the window manager xscanimage wasn't exited.
2000-12-08 22:12:43 +00:00
Oliver Rauch 91b59478b2 removed XSCAN from src/Makefile.in (already in Changelog)
Oliver Rauch
2000-11-30 19:58:05 +00:00
Henning Geinitz 9f0798e2c5 2000-11-19 Henning Meier-Geinitz <hmg@gmx.de>
* TODO: Removed entry about stiff.*

	* src/xscanimage.c: Removed support for SANE_DEFAULT_DEVICE. Using
	  only this device without giving the user the ability to change to
	  other devices isn't the intended behaviour.
2000-11-19 18:46:26 +00:00
Oliver Rauch 71427c94f0 Suppresed gimp warning at startup of xscanimage
Oliver Rauch
2000-11-19 12:23:04 +00:00
Oliver Rauch a8f212cfd0 Removed SCAN_OBJ=stiff.o from src/Makefile.in and src/stiff.[ch]
Oliver Raucg
2000-11-19 12:09:30 +00:00
Oliver Rauch 1f31c820cc Removed stiff.[ch]
Oliver Rauch
2000-11-19 12:07:24 +00:00
Henning Geinitz 99895077e4 2000-11-18 Henning Meier-Geinitz <hmg@gmx.de>
* src/xscanimage.c: Moved Defines for DBG_* outside the
	  #ifdef HAVE_LIBGIMP_GIMP_H block.
2000-11-18 12:03:17 +00:00
Henning Geinitz 9c335a5d02 2000-11-16 Henning Meier-Geinitz <hmg@gmx.de>
* TODO: Entries about SANE_DEFAULT_DEVICE and DBG output.

	* src/xscanimage.c: Added suport for DBG messages. Added only a
	  few messages including a more verbose output when xscanimage
	  can't find any devices. Added support for SANE_DEFAULT_DEVICE.

	* doc/xscanimage.man: Documented support for SANE_DEFAULT_DEVICE and
	  SANE_DEBUG_XSCANIMAGE.
2000-11-17 17:58:20 +00:00
Oliver Rauch bca9b3026a Changed src/Makefile.in, SANE_LDFLAGS is used now 2000-11-14 17:51:57 +00:00
Oliver Rauch fb72ceeefa Updatede Makefile to use returned data by
sane-config --cflags
and
gtk-config --cflags

Oliver Rauch
2000-11-12 22:52:01 +00:00
Henning Geinitz 526e45af99 2000-11-12 Henning Meier-Geinitz <hmg@gmx.de>
* README: Added information for developers and link to SANE website.
	* TODO: Updated.
	* INSTALL: Added link to GIMP website.
	* src/xcam.c: Application is exited when window is closed (by
	  window manager)
2000-11-12 17:10:55 +00:00
Oliver Rauch 1c07f937d7 *** empty log message *** 2000-11-10 06:47:25 +00:00