Subject: CVS commit: pkgsrc/graphics/xsane
To: None <pkgsrc-changes@NetBSD.org>
From: Adam Ciarcinski <adam@netbsd.org>
List: pkgsrc-changes
Date: 11/05/2004 13:54:03
Module Name:	pkgsrc
Committed By:	adam
Date:		Fri Nov  5 13:54:03 UTC 2004

Modified Files:
	pkgsrc/graphics/xsane: Makefile PLIST distinfo

Log Message:
xsane-0.93 -> 0.94:
 - 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.


To generate a diff of this commit:
cvs rdiff -r1.47 -r1.48 pkgsrc/graphics/xsane/Makefile
cvs rdiff -r1.6 -r1.7 pkgsrc/graphics/xsane/PLIST
cvs rdiff -r1.8 -r1.9 pkgsrc/graphics/xsane/distinfo

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.