xsane-0.97 -> 0.98:
-------------------
- void xsane_batch_scan_scan_list(void):
added if (gtk_events_pending()) in while (xsane.scanning)
(this was removed in xsane-0.97 what made a lot of trouble)
- corrected bad <Toolbox/...> italian transations for gimp plugin
- added Postscript Zlib-Compression and Ascii-85 compression
(patch by Julien BLACHE)
- added (single page) PDF saving routine
(patch by Julien BLACHE)
- added PDF and Postscript to mail-mode. PDF and Postscript documents can not
be displayed inline in html mails. I also do not know a way to display a
link to a document that is integrated in the mail. So the <IMAGE> tag
has no effect for pdf and postscript documents in html mode.
- --print-filenames prints the filenames after conversion, so it is
safe that the file exists and is complete
- selected medium definition is stored in preferences now
- BUGFIX for scanners that do not allow to set all resolutions.
In fax mode an possibly also in copy mode the created pages
had a wrong scaling when the scanner did not support the
desired resolution:
- xsane_set_resolution returns bestdpi = selected resolution
- xsane_set_all_resolutions stores bestdpi as used resolution
- when option 0 (num_options) has not defined SANE_CAP_SOFT_DETECT
then xsane prints a warning but does try to read the option value
- added xsane_mode (VIEWER/SAVE/EMAIL/FAX/etc) to preferences
- po/*: all po files are in UTF-8 code now
to transform non-UTF-8 po files to UTF-8 put the po file
into the IMPORT_PO_DIR directory and call in the po directory
"make import-po-files"
- rename xsane-logo2.jpg to xsane-logo.jpg and changed all
html files to xsane-logo.jpg
- viewer uses preferences.filetype instead of "by ext"
- localedir for sane-backends is set by sane-prefix instead of xsane-prefix
- replaced printf by g_print to get correct output on non-utf-8 terminals
- question mark '?' and asterisk '*' in filenames are replaced by underscore '_'
- translations: U=updated, N=not updated, A=added/new
cs da de es fr hu it ja nl pl pt pt_BR ro ru sk sl sr sv tr vi zh
U U U N N U U N N N N N N U U N N N N N N
xsane-0.98 -> 0.98a:
--------------------
- corrected gimp_plugin bug:
xsane_mode now is hold in xsane.xsane_mode like bevore xsane-0.98,
additionally preferences.xsane_mode is used to store the user
selection
the user selection is loaded at program start when nothing else is predefined
xsane-0.98a -> 0.98b:
---------------------
- changed bug in header file due to conficting types in xsane-front-gtk.h
from: int xsane_set_resolution(int well_known_option, double resolution);
to: double xsane_set_resolution(int well_known_option, double resolution);
xsane-0.96 -> 0.97:
-------------------
- write_smtp_footer(): changed ".\r\n" by "\r\n.\r\n", this
solves problems with microsoft exchange servers.
- translations: U=updated, N=not updated, A=added/new
cs da de es fr hu it ja nl pl pt pt_BR ro ru sk sl sr sv tr vi zh
N N N N N N U N N A N N N N N N N N N N U
- xsane-save.c: xsane_copy_file(): removed fclose(infile) and
fclose(outfile)
this bug caused the error "*** glibc detected *** double free
or corruption (!prev): 0x........ ***" with new gelibc versions
xsane-save.c: xsane_copy_file_by_name(): added fclose(infile)
and fclose(outfile)
- rmoved gtk_events_pending() from the waiting loop in
xsane_back_gtk_get_filename, it looks like gtk_events_pending()
increases CPU load very much.
- xsane-scan.c: function xsane_reduce_to_lineart(): corrected
order of filenames in xsane_save_image_as_lineart()
- xsane_device_dialog(...): uses sane_control_option instead of
xsane_control_option to read option number 0. This means that
it is not needed that SANE_CAP_SOFT_DETECT is set for option
number 0
Several changes are involved since they are all interrelated. These
changes affect about 1000 files.
The first major change is rewriting bsd.builtin.mk as well as all of
the builtin.mk files to follow the new example in bsd.builtin.mk.
The loop to include all of the builtin.mk files needed by the package
is moved from bsd.builtin.mk and into bsd.buildlink3.mk. bsd.builtin.mk
is now included by each of the individual builtin.mk files and provides
some common logic for all of the builtin.mk files. Currently, this
includes the computation for whether the native or pkgsrc version of
the package is preferred. This causes USE_BUILTIN.* to be correctly
set when one builtin.mk file includes another.
The second major change is teach the builtin.mk files to consider
files under ${LOCALBASE} to be from pkgsrc-controlled packages. Most
of the builtin.mk files test for the presence of built-in software by
checking for the existence of certain files, e.g. <pthread.h>, and we
now assume that if that file is under ${LOCALBASE}, then it must be
from pkgsrc. This modification is a nod toward LOCALBASE=/usr. The
exceptions to this new check are the X11 distribution packages, which
are handled specially as noted below.
The third major change is providing builtin.mk and version.mk files
for each of the X11 distribution packages in pkgsrc. The builtin.mk
file can detect whether the native X11 distribution is the same as
the one provided by pkgsrc, and the version.mk file computes the
version of the X11 distribution package, whether it's built-in or not.
The fourth major change is that the buildlink3.mk files for X11 packages
that install parts which are part of X11 distribution packages, e.g.
Xpm, Xcursor, etc., now use imake to query the X11 distribution for
whether the software is already provided by the X11 distribution.
This is more accurate than grepping for a symbol name in the imake
config files. Using imake required sprinkling various builtin-imake.mk
helper files into pkgsrc directories. These files are used as input
to imake since imake can't use stdin for that purpose.
The fifth major change is in how packages note that they use X11.
Instead of setting USE_X11, package Makefiles should now include
x11.buildlink3.mk instead. This causes the X11 package buildlink3
and builtin logic to be executed at the correct place for buildlink3.mk
and builtin.mk files that previously set USE_X11, and fixes packages
that relied on buildlink3.mk files to implicitly note that X11 is
needed. Package buildlink3.mk should also include x11.buildlink3.mk
when linking against the package libraries requires also linking
against the X11 libraries. Where it was obvious, redundant inclusions
of x11.buildlink3.mk have been removed.
- changed "µs" to UTF8 codeset
- added test and warning message if option is defined without name (NULL)
to xsane_panel_build
- added handling for options with of SANE_TYPE_INT and SANE_TYPE FIXED
with CONSTRAINT_TYPE_NONE , uses spinbutton, no sliders
- changed default medium definition of Slide from highlight=30% to highlight=40%
- xsane_[back_gtk_]option_menu_new: added empty element to end of list
xsane_[back_gtk_]option_menu_lookup: test for existing element before comparision
- moved media defintions from xsane.rc to xsane.mdf
- preview: preset area: added definition name to context menu items
- preview: add preset area: you can change the suggested name now
- medium definitions: added same context menue like in preset area menu,
removed buttons "add medium" and "delete medium", they are in the
contect menu now
- added documentation how to use a medium and how to define a medium
- improved documentation how to edit the preset area definitions
- in edit medium definition mode autmatic scanarea selection and automatic
color correction is disbaled
- docs: replaced www.mostang.com/sane by www.sane-project.org
and sane-devel@mostang.com by sane-devel@lists.alioth.debian.org
- batch_scan default list is loaded at program startup
- added test for BUGGY_GDK_INPUT_EXECEPTION in xsane.c and xsane-preview.c
when gdk_input_add shall be used
- changed order in xsane.h: system includes are moved to the beginning of
the file. This way it is possible to test for operating system header files
to decide how some #defines are made
- added m4 makro test for msnative struct for windows
- BUGGY_GDK_INPUT_EXCEPTION is defined for windows
- src/Makefile.in: removed both "\" in
-DPATH_XSANE_DOC_DIR=\$(xsanedocdir) -DPATH_SANE_DATA_DIR=\$(sanedatadir)
- created new xsane-WIN32-compilation.txt
- for windows the GTK1 version of xsane_window_get_position is used
- xsane_back_gtk_get_filename: directory is prepared with ending SLASH
instead of ending "/.", this does work with windows now when SLASH is \
xsane-0.94 -> 0.95:
- For xsane-win32 the xsane icon is added to the windows ressource of xsane.exe:
added definition of XSANE_ICON=xsane-icon.opc to configure[.in]
added creation rule of xsane-icon.opc to src/Makefile[.in]
added @XSANE_ICON@ to XSANE_OBJS
- in xsane_back_gtk_value_update: removed rounding (+ 0.5) in case SANE_TYPE_INT
- changed menues in the xsane main dialog:
- added new menu "Window"
- moved Window menue entries form "View" to "Window"
- moved "Show resolution list" entry from menu "Preferences" to "View"
- moved "Update policy" entry from menu "Preferences" to "View"
- moved "Length unit" entry from menu "Preferences" to "View"
- added test if resolution list is displayed or scale is displayed in
xsane_resolution_timer_callback(). Without this test it sometimes
happened that pressing CTRL+L (Swap show resolution list) caused a
segfault because the timer callback was executed in a moment where the
adjustment is not valid
- added: if (???->window)
before each: gdk_window_process_updates(???->window)
in xsane-gamma.c, this made problems with gtk+2.x
- when a postscript file is added to a faxproject then the original name of the
file is also used in the faxproject now. The pagecounter is still increased!
- fax fine mode selection is stored in preferences now
- handling of viewer filenames changed:
- when an image is saved in the viewer then the viewer shows the filename in
the window title and the viewer remembers the filename
- when the image has been changed after it has been saved then the filename
in the window title is shown in brackets
- when the filename ends with a number (counter) then the number is automatically
increased when the file is saved
- when a saved image is cloned then the suggested filename of the cloned image is
clone-of-"old-filename"
- viewer: added support for different modification restrictions
- VIEWER_NO_MODIFICATION (only view)
- VIEWER_NO_NAME_AND_SIZE_MODIFICATION (some filters allowed but keep size, e.g. fax)
- VIEWER_NO_NAME_MODIFICATION (use given name, e.g. fax, mail)
- VIEWER_FULL_MODIFICATION (normal mode)
- added undo function (1 step) to viewer
- changed menues in the xsane viewer dialog:
- added menu "Edit"
- added menu "Geometry"
- moved Scale function from menu "File" to menu "Geometry"
- added rotation and mirror functions to menu "Geometry"
- added undo function to menu "Edit"
- changed button boxes/icons in the xsane viewer dialog:
- added button boxes equal to menus: file, edit, filters, geometry
- added undo icon to edit box
- moved blur uand despeckle icon to filter box
- moved scale, rotation and mirrir icons to geometry box
- replaced several "char buf[???];" by "char filename[PATH_MAX];"
- changed fax mode:
- scanned images are stored in pnm format
- for each list entry there is a data and a type information now
- internal viewer is used now for pnm-fax files
- faxviewer is used for ps files
- before sending the fax pnm images are converted into ps images
- after sending the fax ps images are erased
- changed e-mail mode:
- scanned images are stored in pnm format
- for each list entry there is a data and a type information now
- internal viewer is used now for pnm-mail files
- before sending the mail pnm images are converted into png images
- after sending the mail the png images are erased
- mail project status is translated now
- BUFIX: end of email text is marked with 0 byte
- added function xsane_viewer_set_sensitivity()
- moved all gtk_widget_set_sensitive(GTK_WIDGET(v->button_box), TRUE/FALSE); to it
- added several gtk_widget_set_sensitive(???_menu, TRUE/FALSE); commands to it
- moved almost all v->block_actions to it
- now it should not be possible any more to crash xsane by closing the viewer
while it is saving something
- added info "reduce to lineart" to image_info + xsane-pnm-header
- renamed viewer v->reduce_to_lineart to v->allow_reduction_to_lineart
- save_image_as() now automatically reduces lineart images to pbm before saving
- new translations: hu
- updated translations: de, es, ja, pt, pt_BR, sk
xsane-0.95 -> 0.96:
- fax progress bar does not change it's height any more when the fax dialog is resized
- mail progress bar does not change it's height any more when the mail dialog is resized
- added lockfile to mail project. The lockfile contains status and progress information
from the mail_send_process and is used to display a progress_bar
- mail status is only translated when it is displayed via gtk, in the data structures
the untranslated texts are used
- changed mail_attach_image_png to mail_attach_image, mime type is defined by parameter
- added filetype menu to mail dialog with filetypes PNG, JPEG and TIFF
- bugfix: viewer saves lineart PNM images again as lineart (bug in xsane-0.95)
- when image is saved as pnm and it is not reduced to lineart then the input file
is copied with xsane_copy_file => much faster
- xsane-save.c: reordered function parameters for saving/conversion functions to
(outfile, infile,...) or (output_filename, input_filename, ...)
(before we had sometimes infile at first and sometimes outfile at first)
- xsane_set_sensitivity: mail_dialog and fax_dialog:
the sensitivity off all but the progress_bar is set
- While mail is prepared (images are converted) the xsane sensitivity is set to
FALSE to make sure that the xsane mode is not changed in this case.
while sending the mail (after preparation) the xsane sensitivity is set to
TRUE and the project entry sensitivity is also TRUE, it is allowed to
changed xsane mode and to change the mailproject, because the
sending of the mail is done in a separate process, so there is no
influence by changing the mail project name.
- Comment:
When xsane is closed while sending one or more mails then xsane is closed
but the mail sending subprocesses are not terminated.
- added SMTP (HELO/FROM/RCPT/DATA) errors to mail status
- added xsane.fax_status, it is saved in the first line of the xsane-fax-list
this means that the fax project directories are incompatible to earlier versions!
- added mail_status and fax_status = ..._CHANGED when a new page is added to
the project
- updated images in documentation
- updated email modus in documentation
- email images are named "image-1" instead of "page-1"
- fax_dialog_delete() and mail_dialog_delete() return TRUE now.
In windows it was possible to delete the dialogs what caused
a crash when the window should be used or closed.
- translations: U=updated, N=not updated
cs da de es fr hu it ja nl pt pt_BR ro ru sk sl sr sv tr vi zh
U U U U U N N U U U U U U N N N N U U N
- xsane-preferences.c: when identifier is unknown or not a string then
the parser does not abort or crash any more.
XSane now should not have any problems with old config files.
in the process. (More information on tech-pkg.)
Bump PKGREVISION and BUILDLINK_DEPENDS of all packages using libtool and
installing .la files.
Bump PKGREVISION (only) of all packages depending directly on the above
via a buildlink3 include.
-------------------
[portability fixes elided]
- always set position of outputfilename_entry to the right
- added test for (pid_status < 0) in xsane_fax_send in routine
waiting for child process. The program does continue now
when the fax is sent.
- fax setup: added "set program defaults" buttons for efax, hylafax and mgetty+sendfax
- set codeset for backend textdomain to "UTF-8"
- xsane-preview.c: motion_notify_event_handler: added
if (p->selection_xedge != -1) and if (p->selection_yedge != -1)
before setting new coordinates
- xsane-preview.c: added aspect_ratio function to motion_event_handler
- added aspect_ratio menu to preview window
- xsane-save.c: save_scaled_image: added " 0.5" to round image width and height
- xsane-viewer.c: added widgets to scale dialog that allow defining image size
- added romanian (ro.po), vietnamese (vi.po) and danish (da.po) translation
- updated translation based on xsane-0.89 texts: es, it, ru
- updated translations: cs, de, fr, nl, sk, tr
- replaced some signals for spinbutton by signals for adjustments in xsane-viewer.c
- xsane_mail_dialog_close() and xsane_fax_dialog_close():
removed gtk_window_remove_accel_group(GTK_WINDOW(xsane.mail_dialog), xsane.accelerator_group);
- xsane-scan.c/xsane_read_image_data() and xsane-preview.c/preview_read_image_data:
when we have no select_fd then we don't leave the scanloop with break; but
we do a gtk_main_loop and continue;
- preview: added output of RGB values of the pixel under the pointer in the preview
- xsane_create_preview_gamma_curve: replaced 255 by 255.99999 to create correct preview gamma table
- several bugfixes
- improved copy mode
- improved 3 pass color mode
- creates standard conform 16 bit pnm files now
- gamma, brightness and contrast values are stored correct now in some file
formats
- new translations: pt
all dependencies on packages depending on "png" which contain shared
libraries, all for the (imminent) update to the "png" package.
[List courtesy of John Darrow, courtesy of "bulk-build".]
Change the Makefile to use the x11/gtk buildlink.mk.
xsane-0.79 -> 0.80:
-------------------
- moved setting of medium gamma correction values from xsane_set_medium_callback in xsane.c
to xsane_set_medium in xsane-gamma.c
- xsane_set_medium is called in xsane_scan_dialog and in preview_scan
- replaced predefined areas 10x14 cm and 14x10 cm by 10x15 cm and 15x10 cm
- updated documentation (partly)
- correcting image height when canceling conversion to jpeg format,
program does not crash any more
- added russian translation - thanks to John Profic <profic@lrn.ru>
- solved problem with lineart image saved as png (wrong byte width)
- moved medium selection menue from preferences menu to xsane main dialog
- inactive backend options are not saved to the device-rc file
- added progress_bar to the paramter list of xsane_save_*
- added xsane-viewer.c and xsane-viewer.h to the src directory
- added fflush(outfile); to end of rotation routine, this seems to
solve a problem of incomplete files when rotating the image file
- added routine xsane_read_pnm_header to get correct header offset
and read geometrie values
- for saving routines now the header offset and geometrie values of
xsane_load_pnm_header are used instead of xsane´s internal values
- changed handling of color identification:
old: xsane_color == 0 => grayscale/lineart
new: xsane_colors == 1 => grayscale/lineart
- when image is saved as postscript file (not copy mode etc)
then the bounding box exactly surrounds the image now.
Removed psfile parts from setup and preferences.
- xsane_widget_test_uposition(gtk_window) does wait now until
gtk_window is realized before gtk_widget_set/get_uposition
test is done
- for hpux added include of alloca.h to sane.h
- added function xsane_debug_message that is used for DBG when
gcc is not used because defines with variable arguments is
not ANSI.
- updated translations: cs, de, fr, ja, ru, tr
foo-* to foo-[0-9]*. This is to cause the dependencies to match only the
packages whose base package name is "foo", and not those named "foo-bar".
A concrete example is p5-Net-* matching p5-Net-DNS as well as p5-Net. Also
change dependency examples in Packages.txt to reflect this.
first component is now a package name+version/pattern, no more
executable/patchname/whatnot.
While there, introduce BUILD_USES_MSGFMT as shorthand to pull in
devel/gettext unless /usr/bin/msgfmt exists (i.e. on post-1.5 -current).
Patch by Alistair Crooks <agc@netbsd.org>
using the newest PNG library won't work on system with an older one. To
prevent such problems with precompiled binary packages require at least
"png-1.0.9nb1" in all dependences.
xsane-0.64 -> 0.65:
-------------------
- src/Makefile.in: added usage of SANE_CFLAGS and GTK_CFLAGS
- added secure password transmission for authorisation (md5digest)
- ~/.sane/pass is used for reading user:password:resource from file before asking the user
- configure: removed test for X (AC_PATH_X), this is done in GTK (gtk-config)
gtk includes and libs are used for png test (because png often is in X directories)
- changed xsane_*_with_pixmap:
old status: routines used xsane.histogram_dialog->window as window for gdk_pixmap_create_from_xpm_d()
this made problems with preview window if X default color depth differd from X color depth
new status: routines are called with parameter GdkWindow *window now.
xsane-0.65 -> 0.66:
-------------------
- added setup menu for Automatic Document Feeder Scansource
(ADF-Scansource name was predefined to "Automatic Document Feeder" before,
now it can be defined for each device (is saved in decice settings))
- changed setup for lineart->grayscale scanmode from entry to menu with available scanmodes
- updated xsane.WIN32-compilation and src/Makefile.in.WIN32
I compiled a pre version of xsane-0.66 with the cygwin snapshot from 2000-12-10 and
gtk+-dev-20001023.zip, glib-dev-20001023.zip, libiconv-dev-20001007.zip
with the way described in xsane.WIN32-compilation without any problems.
The problem with the fork() seems to be solved in this cygwin version.
- updated aclocal.m4 and configure (gimp test)
xsane-0.66 -> 0.67:
-------------------
- added test if (xsane.adf_scansource) before usage of xsane.adf_scansource
(caused segfault when no ADF Scanmode was defined in setup)
xsane-0.67 -> 0.68:
-------------------
- changed src/Makefile.in.WIN32 so that the installation directory can
be selected by configure --prefix=... and the used paths are more
common to the one on unix (/usr/local => c:\sane)
- changed src/Makefile.in.WIN32 for gimp support (uncomment GIMP_LIBS)
- WIN32+gimp-support: set_gimp_PLUG_IN_INFO_PTR(&PLUG_IN_INFO) is called
- added extern GimpPlugIn PLUG_IN_INFO to xsane.h (needed in xsane.c for win32)
- replaced free(xsane.tile) by g_free(xsane.tile)
(the free(...) caused a crash on win32)
- changed aclocal.m4: gimp test does work with gimp-1.0.x version again
- renamed xsane.WIN32 and xsane.WIN32-compilation to xsane-WIN32.txt
and xsane-WIN32-compilation.txt (it is easer to use on windows)
- removed (#ifndef _WIN32) gtk_set_locale() from xsane.c for win32
(when it was called gimp plugin created transparent images)
- saved xsane-style.rc in DOS mode (\n\r)
xsane-0.68 -> 0.69:
-------------------
- some changes in aclocal.m4 for gimp test:
- When gimp-config is not found, the output of gtk-config is used
- GTK_CFLAGS or GIMP_CFLAGS are added to CPPFLAGS for test for gimp.h and gimpfeatures.h
- GTK_CFLAGS and GTK_LIBS are erased when gimp_config is available
- changed src/Makefile.in: GIMP_CFLAGS is used now
- saved xsane-style.rc in unix mode (\n) because DOS mode (\n\r) made problems
- added new way to call netscape remote command:
at first xsane tries to find out if netscape is running, for this it tries to
find out if there is a link "~/.netscape/lock". If this link exists netscape should
be running and xsane calls "netscape -remote openFile(...)". Otherwise xsane calls
"netscape ..."
- changed keywork "netscape-remote" as docviewer to "netscape"
- changed way to find out home directory in xsane-back-gtk.c:
now getenv(ENVIRONMENT_HOME_DIR_NAME) is used instead of getpwuid(...)->pw_dir.
(getenv is usable for Win32 and unix, getpwuid makes problems on Win32)
xsane-0.69 -> 0.70:
-------------------
- removed some bugs in text for pipette in sane-xsane-preview-doc.html
- changed acloacal.m4: when gimp-config is not found we look for gimptool
- for WIN32 the filetypes listed in the filetype menu are ".jpg" and ".tif"
instead of ".jpeg" and ".tiff"
- added manufacturer image to bottom of standard and advanced options window.
The name of the image is "vendor"-logo.xpm" or "sane-"backend"-logo.xpm",
the size of the image should be 256x48 pixels with a transparent background.
- changed src/Makfile.in: *-logo.xpm are installed (make install) and
uninstalled (make uninstall) now
- changed src/Makfile.in.WIN32: *-logo.xpm are installed (make install)now
- several changes in xsane-preview.c for rotating preview by 0/90/180/270 degree
the preview rotation is ready now
- added new routine xsane_save_rotate_image to xsane-save.c
- added new routine xsane_save_grayscale_image_as_lineart to xsane-save.c
- lineart images are saved in grayscale mode at first if transformation has to be done
- xsane_save_rotate_image is called beween scanning and saving image
- xsane_save_grayscale_image_as_lineart is called beween rotating and saving image
- aclocal.m4/configure: changed sane_major_version etc to SANE_CURRENT_MAJOR
- fileheader of raw format changed. This format is not defined, but some programs
can read it as 16 bit pnm binary data, so we use a compatible header now:
P5
# This file is in a not public defined data format.
# It is a 16 bit gray binary format.
# Some programs can read this as pnm/pgm format.
# SANE data follows.
100 100
65535
xsane-0.70 -> 0.71:
-------------------
- corrected aspect ratio in xsane-preview.c in routine that calculates preview resolution
- corrected user definition of maximum scanner surface
- added translation of preview menu maximum surface(preset area)
- added tooltip for maximum surface(preset area) menu and rotation menu
- finished preview_autoselect_scanarea()
- added autoselect scanarea button to preview window
- changed automaitic increase of filename counter:
- the step direction and length is not forced to +1,
the user can select one of the values -2/-1/0/+1/+2.
It is defined by preferences.filename_counter_step.
This way it is possible to scan double sided papers
with correct automatic page number generation.
- the digits are not increased by a loop any more,
the number is read, the new number is calculated
and the new filename is generated. The user can
select a minimum filename counter length now,
it is defined in preferences.filename_counter_len
and can be selected by the user in setup/saving options
- when the number of digits are not enough the number is
automatically increased now.
- a message comes up when counter gets smaller than 0
- pipette the color is averaged on a square, the size of the
square can be defined by the user
- updated html doc (not complete)
- added tooltips to permission buttons (r,w,x)
permission texts: user, group, all, read, write, execute can be translated now.
- added japanese translation (thanks to Kimizuka Tomokazu <sgtom@pluto.dti.ne.jp>)
- renamed oldgimp.h to gimp-1_0-compat.h
xsane-0.71 -> 0.72:
-------------------
- changed default postscript viewer from xv to gv
- moved int i, select = 1; in static void xsane_saving_notebook() out of #ifdef HAVE_LIBTIFF block
- filename counter length correction is only done in sane_start when there is a user selectable filename
- if external filename is given the counter len is not touched when not necessary
- added "insert file" function to fax mode
- added output of gamma, brightness and contrast settings to pnm headers
- updated xsane online-documentation (html)
- added license dialog, it is shown when it was not already accepted for this xsane version
(tested in local xsane.rc)
- about and about translation dialogs do not set XSane´s sensitivity to false any more
- copyright sign is now always defined as "(c)", can be translated with \251 if character is available
- device preferences are not saved/loaded any more when file selection is aborted
- in xsane_info_dialog the scanner type is translated now
- added accelerator keys to device selection dialog:
Escape -> Cancel
F1,F2,.. -> select device number 1,2,...
- added usleep(100ms) in device selection dialog before scanning for devices, this way we make
sure that the text "scanning for devices" is displayed
- added some accelarator keys to the preview window:
Alt ESC Cancel Preview Scan
Alt KP+ Zoom in
Alt KP- Zoom out
Alt KP* Zoom not
Alt KP/ Zoom undo
Alt A Autoselect scanarea
Alt V Select visible scanarea
- added accelerator key Escape to file-selection-dialog, about-dialog and about-translation-dialog
attached to cancel/close button
- updated translations:
- german translation
- czech translation - thanks to Stanislav Brabec <utx@penguin.cz>
- turkish translation - thanks to Togan Muftuoglo <toganm@yahoo.com>
- japanese translation - thanks to Kimizuka Tomokazu <sgtom@pluto.dti.ne.jp>
- french translation - thanks to Laurent Grawet <laurent.grawet@ibelgique.com>
x_include. Now, we find sane/sane.h if you use xpkgwedge.
Maybe this should just use X11PREFIX, but there was allready a line which
does the x_include and LOCALBASE one.
xsane-0.51 -> 0.52:
-------------------
- changed gimp_install_procedure(...) for specified device: "RGB, GRAY"
-> 0
- in xsane-scan.c and xsane-preview.c added " | GDK_INPUT_EXCEPTION" to
gdk_input_add(fd, GDK_INPUT_READ | GDK_INPUT_EXCEPTION,
preview_read_image_data, p);
- added static int xsane_set_modus_defaults(void)
zoomfactor is set to 1.0 if copy mode is selected
full preview area is selected if copy or fax mode is selected
- removed a second xsane_device_preferences_restore(); in static void
xsane_device_dialog(void)
- zoom factor keeps unchanged when printer is changed
- added psfile-geometry to setup/saving options, it is used when saving
postscript in scanmode
- moved exisiting routines to open functions to xsane-front-gtk.c:
void xsane_define_output_filename(void);
void xsane_identify_output_format(char **ext);
- define_maximum_output_size is called in each routine that changes
filename or fileextension because the output frame is also drawn in
scanmode with filetype postscript now
- included Stanislav Brabec's <utx@penguin.cz> sed-scripts and changes
for Makefile.in in xsane-*/po
- added creation of newlanguage.po in po/Makefile.in
- updated german translation file de.po
- updated czech translation file cs.po - thanks to Stanislav Brabec
<utx@k332.feld.cvut.cz>
- updated french translation file fr.po
xsane-0.52 -> 0.53:
-------------------
- added test if vendor, model and type strings do exists (pointer != 0)
otherwise "no vendor",... is printed
- changed
ext = &extension;
to
if (extension)
{
*ext = strdup(extension);
}
else
{
*ext = 0;
}
in xsane_identify_output_format - bad thing, I get old ;-)
- added new routine xsane_find_best_resolution that makes sure that the
selected resolution fits into range/quantization given by backend.
This is used by xsane_set_resolution and when resolution_list is
created.
- added xsane_set_all_resolutions to xsane_set_modus_defaults
- xsane resolution can be changed by backend now
xsane-0.53 -> 0.54:
-------------------
- updated french translation table
- updated german translation table
- changed type of umask in preferences from mode_t to int because
sizeof(mode_t) is on some machines only 2 bytes what cause problems.
all calls of umask(foo) are changed to umask((mode_t) foo)
- changed preferences update_policy from GtkUpdateType to int.
- selection box can not be moved out of the preview window, the
size of the selection keeps unchanged in that case now.
- removed some gtk_main_iteration and reordered some selection drawing
routines.
- removed unused files/directories from package:
sanei, include/sane/sanei_(some).h, po_old
xsane-0.54 -> 0.55:
-------------------
- added preview support for 16 bpp (transformed to 8bpp)
- added copyright line in devcie selection dialog
- preview selection frame is only active when backend supports coordinate
selection
- added preview oversampling factor (multiplier for calculated preview
resolution)
- added lineart enhancement: preview can be done in grayscale now,
threshold value change is displayed without a new preview scan.
- added "device options" to setup dialog:
- Scanner dependant options for grayscale->lineart conversion have
to be entered there.
- a color preview is now displayed gray when grayscale mode is selected
- updated de.po, cs.po, fr.po
- updated po/xsane-pot.sed
xsane-0.55 -> 0.56:
-------------------
- added hold timer to preview (update-policy=delayed)
- added hold timer to xsane_slider (update-policy=delayed)
- moved help menu from file to help
- added swedish (sv) translation - thanks to Johan Bengtsson
<johanb@lls.se>
- removed bug in xsane_rc_io_w_string, it returns EINVAL now each time
when the string does not begin with "
xsane-0.56 -> 0.57:
-------------------
- made xsane_choose_device return type to void (was gint32)
- arranged device-preferences in struct xsane in the order they are used
as device preferences, made sure that all variable types are correct:
- changed type of xsane.mode from gint32 to int
- changed type of xsane.lineart_mode from gint32 to int
- changed type of xsane.show_preview from SANE_Bool to int
- changed type of xsane.enhancement_rgb_default from SANE_Bool to int
- changed type of xsane.fax_finemode from SANE_Bool to int
- added mask for *_lock in preview motion_notify_event handling
Preview selection can be done with locks activated now
- histogram is cleared before/redrawn after saving/loading device settings
- added xsane_control_option() that tests if option >= 0 and returns
SANE_STATUS_INVAL if not
- added xsane_get_option_descriptor() that tests if option >= 0 and
returns NULL if not
- changed parameters of preview_area_resize and added
preview_area_resize_handler
- removed a lot of gtk_main_iterations from xsane_preview.c
they make problems in the redrawing order and can cause display
problems
xsane-0.57 -> 0.58:
-------------------
- split the preview_event_handler into
- preview_press_button_event_handler
- preview_motion_event_handler
- preview_release_button_event_handler
- the preview_expose_event_handler now is called twice,
the second call has been placed in the preview_event_handler_before
- reactivated gtk_main_iteration after at the end of motion_event
- added warning window when xsane is started as root
- added selection of temporary directory in preferences/setup/saving
options
- added gdk_input_remove(xsane.input_tag); before xsane_start_scan is
called in 3-pass scanning mode (suggestion from
Heiko_Schroeder@t-online.de)
- changed output of "xsane -v"
- in xsane_scan_done moved xsane.header_size = 0; before test for ADF
Thanks to Russell Coggrave for the info about it.
- added gtk_set_locale() before gtk_init()
- added copyright sign "(c)" to translated texts because it is not
available on all charsets
- temporary filenames are created random and unique (mktemp + random
number) due to security problems with fixed/calculateable tempfiles.
- the preview-files are created (empty) at program startup now
- when program exits the previews are erased
there is no way to store the preview images any more when the program
is closed
- preview_restore_image() creates the xsane-startimage if no preview is
stored
- renamed directory frontend to src
- create xsane-help script that opens online helpfile
xsane-0.58 -> 0.59:
-------------------
- preview_do_gamma_correction does test for 3 pass scanner color mode
- changed fax x-resolution and standard resolution from 98 ppi to 204 ppi
and with of faxpage from 210.0 to 215.7 (so we get 1728 pixels in
x direction, hylafax-faq says that is the correct size)
- split preferences.printer[..].resolution -> lineart, grayscale and
color_resolution
- added setlocale(LC_NUMERIC, "C"); in xsane_init() and #include
<locale.h> in xsane.h this should solve the problems with empty
images (100%transparent) with gimp and other problems that were caused
by local settings (1.3 <=> 1,3).
- added setup-option "disable gimp preview gamma"
- added selection (preferences/setup/enhancement options) if
autoenhancement changes gamma value
- renamed Preferences/Setup/"Device options" to "Enhancement options"
- removed xsane internal callbacks from dialog struct, the functions are
called directly now
- changed the reading of the preview image header. The last newline
character before the image data starts again made some problems, this
seems to depend on the data that follows. So I added a fgets() command
to skip the newline character - this seems to work.
- changed increase_filename_in_counter, does work now if the only
character of the base-filename is the counter
- reduced size of src/xsane-startimage.pnm (1MB => 0.6MB)
xsane-0.59 -> 0.60:
-------------------
- after filename counter is increased the cursor in the outputfilename
entry is moved to the right
- in preview_read_image_data when image is complete:
preview_update_surface(p, 0);
is called before
preview_display_image(p);
this way the geometry of the first preview scan is correct.
- moved xsane_set_all_resolutions in xsane_update_xsane_callback(),
it now also is called when the backend only uses one reesolution
- added calibration image (xsane-calibration.pnm) that is loaded when
setup window is created.
The xsane enhancement functions are disabled in calibration mode, the
image can not be resized (xscale = yscale = 1.0).
The previsous image is reloaded when the setup window is closed again.
- enviornment variable SANE_DEFAULT_DEVICE is used to activate the
radiobutton in the device selection menu
- removed unused item "custom" from preview surface menu
- changed preview surface menu items:
A3 -> A3P (portrait)
A4 -> A4P (portrait)
A4H -> A4L (landscape)
A5 -> A5P (portrait)
A5H -> A5L (landscape)
- removed script xsane-help, necessary command now is listed in
xsane.PROBLEMS
- after filename counter is increased the cursor in the outputfilename entry is moved to the right
xsane-0.60 -> 0.61:
-------------------
- added debug output function and messages
- moved all global variables and struct GSGdialog to global struct xsane
- cleaned up some variable names
- added free gamma curve dialog (not ready)
- prepared xsane for win32:
- when BUGGY_GDK_INPUT_EXCEPTION is defined only blocking mode is used
(needed because GDK input exception does not work on win32)
- on win32 you cannot get a homedirectory, for this
XSANE_FIXED_HOME_PATH has to be set to the path that shall be
used as homedirectory
- replaced all gtk_dialog_new by gtk_window_new and added hbox and
vbox to the window (gtk_dialog_new does not work on WIN32)
- added xsane.WIN32 and xsane.WIN32-compilation that describes how xsane
is build on WIN32 with CYGWIN
- replaced "/" in all paths, added label SLASH that is predefined to
'/' if it is not defined by compiler option. For WIN32 it is set to
'\' by compiler option
- all fopen functions use argument "rb" or "wb" now (b=binary). This
is needed for WIN32 and the b is ignored on unix systems.
- published binary version xsane-win32-0v01 and xsane-win32-0v02 based
on xsane-pre0.61 versions
- removed an ugly bug: in struct Preferences there was predefined a
string ("/tmp/") that caused a bad memory state when the string memory
was freed, instead the string is defined in xsane_pref_restore now
- changes for tiff format:
- added support for 16 bit tiff format.
- predefined tiff-compression is changed from 5 to PACKBITS(16bit),
JPEG(8bit), FAXG3(1bit).
- add resoultion-tags and datetime-tag to tiff files.
- added "change directory" entry to preferences menu
- added "scanning for devices" dialog
Add a new USE_LIBTOOL definition that uses the libtool package instead of
pkglibtool which is now considered outdated.
USE_PKGLIBTOOL is available for backwards compatibility with old packages
but is deprecated for new packages.