mirror of https://github.com/GNOME/gimp.git
parent
ef9bef7d25
commit
199c43272d
|
@ -36,362 +36,7 @@
|
|||
*
|
||||
* Revision History:
|
||||
*
|
||||
* $Log$
|
||||
* Revision 1.19 1999/05/29 16:35:23 yosh
|
||||
* * configure.in
|
||||
* * Makefile.am: removed tips files, AC_SUBST GIMP_PLUGINS and
|
||||
* GIMP_MODULES so you can easily skip those parts of the build
|
||||
*
|
||||
* * acinclude.m4
|
||||
* * config.sub
|
||||
* * config.guess
|
||||
* * ltconfig
|
||||
* * ltmain.sh: libtool 1.3.2
|
||||
*
|
||||
* * app/fileops.c: shuffle #includes to avoid warning about MIN and
|
||||
* MAX
|
||||
*
|
||||
* [ The following is a big i18n patch from David Monniaux
|
||||
* <david.monniaux@ens.fr> ]
|
||||
*
|
||||
* * tips/gimp_conseils.fr.txt
|
||||
* * tips/gimp_tips.txt
|
||||
* * tips/Makefile.am
|
||||
* * configure.in: moved tips to separate dir
|
||||
*
|
||||
* * po-plugins: new dir for plug-in translation files
|
||||
*
|
||||
* * configure.in: add po-plugins dir and POTFILES processing
|
||||
*
|
||||
* * app/boundary.c
|
||||
* * app/brightness_contrast.c
|
||||
* * app/by_color_select.c
|
||||
* * app/color_balance.c
|
||||
* * app/convert.c
|
||||
* * app/curves.c
|
||||
* * app/free_select.c
|
||||
* * app/gdisplay.c
|
||||
* * app/gimpimage.c
|
||||
* * app/gimpunit.c
|
||||
* * app/gradient.c
|
||||
* * app/gradient_select.c
|
||||
* * app/install.c
|
||||
* * app/session.c: various i18n tweaks
|
||||
*
|
||||
* * app/tips_dialog.c: localize tips filename
|
||||
*
|
||||
* * libgimp/gimpunit.c
|
||||
* * libgimp/gimpunitmenu.c: #include "config.h"
|
||||
*
|
||||
* * plug-ins/CEL
|
||||
* * plug-ins/CML_explorer
|
||||
* * plug-ins/Lighting
|
||||
* * plug-ins/apply_lens
|
||||
* * plug-ins/autostretch_hsv
|
||||
* * plug-ins/blur
|
||||
* * plug-ins/bmp
|
||||
* * plug-ins/borderaverage
|
||||
* * plug-ins/bumpmap
|
||||
* * plug-ins/bz2
|
||||
* * plug-ins/checkerboard
|
||||
* * plug-ins/colorify
|
||||
* * plug-ins/compose
|
||||
* * plug-ins/convmatrix
|
||||
* * plug-ins/cubism
|
||||
* * plug-ins/depthmerge
|
||||
* * plug-ins/destripe
|
||||
* * plug-ins/gif
|
||||
* * plug-ins/gifload
|
||||
* * plug-ins/jpeg
|
||||
* * plug-ins/mail
|
||||
* * plug-ins/oilify
|
||||
* * plug-ins/png
|
||||
* * plug-ins/print
|
||||
* * plug-ins/ps
|
||||
* * plug-ins/xbm
|
||||
* * plug-ins/xpm
|
||||
* * plug-ins/xwd: plug-in i18n stuff
|
||||
*
|
||||
* -Yosh
|
||||
*
|
||||
* Revision 1.18 1999/05/22 17:56:32 mitch
|
||||
* 1999-05-22 Michael Natterer <mitschel@cs.tu-berlin.de>
|
||||
*
|
||||
* * app/[all files with resolution info]
|
||||
* * libgimp/gimp.h
|
||||
* * libgimp/gimpimage.c
|
||||
* * libgimp/gimpsizeentry.[ch]
|
||||
* * libgimp/gimpunit.[ch]
|
||||
* * plug-ins/newsprint/newsprint.c
|
||||
* * plug-ins/pgn/png.c
|
||||
* * plug-ins/tiff/tiff.c: double instead of float for all resolution
|
||||
* and unit-factor variables.
|
||||
*
|
||||
* * app/commands.c
|
||||
* * app/crop.c
|
||||
* * app/interface.c
|
||||
* * app/layers_dialog.c
|
||||
* * app/move_tool.c
|
||||
* * app/resize.c
|
||||
* * app/rotate_tool.c
|
||||
* * app/scale_tool.c: pass the image's unit *and* gdisp->dot_for_dot
|
||||
* to all functions which create sizeentries. Never create a
|
||||
* sizeentry with UNIT_PIXEL but with the image's unit and set it's
|
||||
* unit to UNIT_PIXEL after creation if dot_for_dot is on.
|
||||
* This way the image's unit can always be picked from the menu
|
||||
* without selecting "More...".
|
||||
*
|
||||
* * app/interface.c: made the query_*_box() functions use the
|
||||
* ActionArea.
|
||||
*
|
||||
* * plug-ins/gimpunitmenu.c: GTK_WIN_POS_MOUSE for the unit
|
||||
* selection dialog.
|
||||
*
|
||||
* Revision 1.17 1999/05/04 17:20:05 mitch
|
||||
* 1999-05-02 Michael Natterer <mitschel@cs.tu-berlin.de>
|
||||
*
|
||||
* * app/commands.c: call gdisplays_resize_cursor_label(gimage)
|
||||
* after changing the image's unit.
|
||||
*
|
||||
* * app/gdisplay.c: update the cursor label after resizing it's
|
||||
* frame, so the old (wrong) value gets overwritten.
|
||||
*
|
||||
* * app/resize.c: it makes more sense to take the image's unit from
|
||||
* the "print size" frame rather than from "pixel dimensions".
|
||||
* Set reasonable boundaries to avoid over/underflows with crazy
|
||||
* resolutions. Code and gui cleanup.
|
||||
* The constants for min/max image size/resolution should probably go
|
||||
* to a central place.
|
||||
*
|
||||
* * app/text_tool.c: set the resolution in the X font spec only if
|
||||
* the size is specified in points (reported by Austin).
|
||||
*
|
||||
* * libgimp/gimpsizeentry.c: fixed a bad bug in the boundary and
|
||||
* resolution setting code (was not noticable before the new
|
||||
* resize/scale ui).
|
||||
*
|
||||
* * plug-ins/gdyntext/*: version 1.4.3
|
||||
*
|
||||
* * plug-ins/png/png.c: gcc suggested parentheses.
|
||||
*
|
||||
* Revision 1.16 1999/04/23 06:33:13 asbjoer
|
||||
* use MAIN macro
|
||||
*
|
||||
* Revision 1.15 1999/04/19 00:17:49 mitch
|
||||
* 1999-04-19 Michael Natterer <mitschel@cs.tu-berlin.de>
|
||||
*
|
||||
* * plug-ins/png/png.c: applied gimp-ruth-990413-0.patch. Modified
|
||||
* it to leave the image's unit untouched because png has only
|
||||
* resolution and no unit info. Fixed some unrelated warnings.
|
||||
*
|
||||
* Revision 1.14 1999/04/15 21:48:59 yosh
|
||||
* * applied gimp-lecorfec-99041[02]-0, changes follow
|
||||
*
|
||||
* * plug-ins/FractalExplorer/Dialogs.h (make_color_map):
|
||||
* replaced free with g_free to fix segfault.
|
||||
*
|
||||
* * plug-ins/Lighting/lighting_preview.c (compute_preview):
|
||||
* allocate xpostab and ypostab only when needed (it could also be
|
||||
* allocated on stack with a compilation-fixed size like MapObject).
|
||||
* It avoids to lose some Kb on each preview :)
|
||||
* Also reindented (unfortunate C-c C-q) some other lines.
|
||||
*
|
||||
* * plug-ins/Lighting/lighting_main.c (run):
|
||||
* release allocated postabs.
|
||||
*
|
||||
* * plug-ins/Lighting/lighting_ui.c:
|
||||
* callbacks now have only one argument because gck widget use
|
||||
* gtk_signal_connect_object. Caused segfault for scale widget.
|
||||
*
|
||||
* * plug-ins/autocrop/autocrop.c (doit):
|
||||
* return if image has only background (thus fixing a segfault).
|
||||
*
|
||||
* * plug-ins/emboss/emboss.c (pluginCore, emboss_do_preview):
|
||||
* replaced malloc/free with g_malloc/g_free (unneeded, but
|
||||
* shouldn't everyone use glib calls ? :)
|
||||
*
|
||||
* * plug-ins/flame/flame.c :
|
||||
* replaced a segfaulting free, and several harmless malloc/free pairs.
|
||||
*
|
||||
* * plug-ins/flame/megawidget.c (mw_preview_build):
|
||||
* replaced harmless malloc/free pair.
|
||||
* Note : mwp->bits is malloc'ed but seems to be never freed.
|
||||
*
|
||||
* * plug-ins/fractaltrace/fractaltrace.c (pixels_free):
|
||||
* replaced a bunch of segfaulting free.
|
||||
* (pixels_get, dialog_show): replaced gtk_signal_connect_object
|
||||
* with gtk_signal_connect to accomodate callbacks (caused STRANGE
|
||||
* dialog behaviour, coz you destroyed buttons one by one).
|
||||
*
|
||||
* * plug-ins/illusion/illusion.c (dialog):
|
||||
* same gtk_signal_connect_object replacement for same reasons.
|
||||
*
|
||||
* * plug-ins/libgck/gck/gckcolor.c :
|
||||
* changed all gck_rgb_to_color* functions to use a static GdkColor
|
||||
* instead of a malloc'ed area. Provided reentrant functions with
|
||||
* the old behaviour (gck_rgb_to_color*_r). Made some private functions
|
||||
* static, too.
|
||||
* gck_rgb_to_gdkcolor now use the new functions while
|
||||
* gck_rgb_to_gdkcolor_r is the reentrant version.
|
||||
* Also affected by this change: gck_gc_set_foreground and
|
||||
* gck_gc_set_background (no more free(color)).
|
||||
*
|
||||
* * plug-ins/libgck/gck/gckcolor.h :
|
||||
* added the gck_rgb_to_gdkcolor_r proto.
|
||||
*
|
||||
* * plug-ins/lic/lic.c (ok_button_clicked, cancel_button_clicked) :
|
||||
* segfault on gtk_widget_destroy, now calls gtk_main_quit.
|
||||
* (dialog_destroy) : segfault on window closure when called by
|
||||
* "destroy" event. Now called by "delete_event".
|
||||
*
|
||||
* * plug-ins/megawidget/megawidget.c (mw_preview_build):
|
||||
* replaced harmless malloc/free pair.
|
||||
* Note : mwp->bits is malloc'ed but seems to be never freed.
|
||||
*
|
||||
* * plug-ins/png/png.c (load_image):
|
||||
* replaced 2 segfaulting free.
|
||||
*
|
||||
* * plug-ins/print/print-ps.c (ps_print):
|
||||
* replaced a segfaulting free (called many times :).
|
||||
*
|
||||
* * plug-ins/sgi/sgi.c (load_image, save_image):
|
||||
* replaced a bunch of segfaulting free, and did some harmless
|
||||
* inits to avoid a few gcc warnings.
|
||||
*
|
||||
* * plug-ins/wind/wind.c (render_wind):
|
||||
* replaced a segfaulting free.
|
||||
* (render_blast): replaced harmless malloc/free pair.
|
||||
*
|
||||
* * plug-ins/bmp/bmpread.c (ReadImage):
|
||||
* yet another free()/g_free() problem fixed.
|
||||
*
|
||||
* * plug-ins/exchange/exchange.c (real_exchange):
|
||||
* ditto.
|
||||
*
|
||||
* * plug-ins/fp/fp.h: added Frames_Check_Button_In_A_Box proto.
|
||||
* * plug-ins/fp/fp_gtk.c: closing subdialogs via window manager
|
||||
* wasn't handled, thus leading to errors and crashes.
|
||||
* Now delete_event signals the dialog control button
|
||||
* to close a dialog with the good way.
|
||||
*
|
||||
* * plug-ins/ifscompose/ifscompose.c (value_pair_create):
|
||||
* tried to set events mask on scale widget (a NO_WINDOW widget).
|
||||
*
|
||||
* * plug-ins/png/png.c (save_image):
|
||||
* Replaced 2 free() with g_free() for g_malloc'ed memory.
|
||||
* Mysteriously I corrected the loading bug but not the saving one :)
|
||||
*
|
||||
* -Yosh
|
||||
*
|
||||
* Revision 1.13 1999/01/15 17:34:20 unammx
|
||||
* 1999-01-15 Federico Mena Quintero <federico@nuclecu.unam.mx>
|
||||
*
|
||||
* * Updated gtk_toggle_button_set_state() to
|
||||
* gtk_toggle_button_set_active() in all the files.
|
||||
*
|
||||
* Revision 1.12 1999/01/02 23:47:48 yosh
|
||||
* Doh, thinko.
|
||||
*
|
||||
* -Yosh
|
||||
*
|
||||
* Revision 1.11 1999/01/02 23:27:58 yosh
|
||||
* * app/Makefile.am
|
||||
* * plug-ins/script-fu/scripts/Makefile.am: use -DREGEX_MALLOC,
|
||||
* seems to be more portable
|
||||
*
|
||||
* * plug-ins/png/png.c: use a default gamma of 2.2 when gamma
|
||||
* correction isn't enabled
|
||||
*
|
||||
* -Yosh
|
||||
*
|
||||
* Revision 1.10 1998/11/09 02:04:34 yosh
|
||||
* * Makefile.am
|
||||
* * README.i18n: new file, explains i18n stuff
|
||||
*
|
||||
* * plug-ins/script-fu/scripts/(lots of files): applied
|
||||
* gimp-ruth-981108-0, use nice SF-FONT and SF-FILENAME stuff
|
||||
*
|
||||
* * plug-ins/png/png.c: applied gimp-ruth-981108-1, fixes loader for
|
||||
* some indexed pngs. Also default to level 6 compression, level 9
|
||||
* compression is cpu hungry and isn't much of a win compared to 6.
|
||||
*
|
||||
* * plug-ins/tiff/tiff.c: applied gimp-ruth-981108-2, major tiff
|
||||
* rework
|
||||
*
|
||||
* -Yosh
|
||||
*
|
||||
* Revision 1.9 1998/07/20 18:19:20 neo
|
||||
* The new "Fixed Size" option now works with
|
||||
* ellipse_select too. Made the entries use spinbuttons. Minor change
|
||||
* to the selection_size indicator in the status-bar.
|
||||
*
|
||||
* Made fopen() use "rb" and "wb" instead if "r" and "w" since the OS/2
|
||||
* port needs it.
|
||||
*
|
||||
*
|
||||
* --Sven
|
||||
*
|
||||
* Revision 1.8 1998/06/06 23:22:17 yosh
|
||||
* * adding Lighting plugin
|
||||
*
|
||||
* * updated despeckle, png, sgi, and sharpen
|
||||
*
|
||||
* -Yosh
|
||||
*
|
||||
* Revision 1.14 1998/05/17 15:54:15 mike
|
||||
* Added gtk_rc_parse(), removed unnecessary variables.
|
||||
*
|
||||
* Revision 1.13 1998/04/02 16:00:13 mike
|
||||
* Fixed bug in run() - was looking for 6 arguments and not 7 as advertised.
|
||||
*
|
||||
* Revision 1.12 1998/01/04 14:10:09 mike
|
||||
* Fixed paletted image saving bug - wasn't correctly storing the number of
|
||||
* colors and didn't flag the palette as valid.
|
||||
* Removed INDEXEDA support since the current PNG library doesn't support it.
|
||||
*
|
||||
* Revision 1.11 1997/11/14 17:17:59 mike
|
||||
* Updated to dynamically allocate return params in the run() function.
|
||||
*
|
||||
* Revision 1.10 1997/10/17 13:55:55 mike
|
||||
* Updated author/contact info.
|
||||
* Added typecast for palette information.
|
||||
*
|
||||
* Revision 1.9 1997/09/29 19:18:59 mike
|
||||
* Now check for return value of fopen() in case the user picks a file that
|
||||
* doesn't exist or isn't writable.
|
||||
*
|
||||
* Revision 1.8 1997/09/29 13:42:13 mike
|
||||
* Updated "magic" string for PNG detection (thanks to Nicholas Lamb)
|
||||
*
|
||||
* Revision 1.7 1997/07/25 20:45:24 mike
|
||||
* Fixed image_load_sgi load error bug (causes GIMP hang/crash).
|
||||
*
|
||||
* Revision 1.6 1997/06/11 17:49:07 mike
|
||||
* Updated docos for release.
|
||||
*
|
||||
* Revision 1.5 1997/06/11 17:39:28 mike
|
||||
* Fixed a few memory leaks - not critical, since this plug-in isn't running
|
||||
* all the time...
|
||||
*
|
||||
* Merged with work done by Daniel Skarda - now support compression level
|
||||
* and interlacing on saves.
|
||||
*
|
||||
* Fixed indexed image handling (whoops, image types and drawable types are
|
||||
* not the same... d'oh!)
|
||||
*
|
||||
* Revision 1.4 1997/06/08 19:34:43 mike
|
||||
* Fixed bug in load_image() and save_image() - would crash if filename
|
||||
* didn't have a '/' in it...
|
||||
*
|
||||
* Revision 1.3 1997/06/08 16:34:33 mike
|
||||
* Added actual code to save_image().
|
||||
* Updated docos.
|
||||
*
|
||||
* Revision 1.2 1997/06/08 16:02:52 mike
|
||||
* Updated registration to get rid of load handler errors.
|
||||
*
|
||||
* Revision 1.1 1997/06/08 15:10:08 mike
|
||||
* Initial revision
|
||||
* see ChangeLog
|
||||
*/
|
||||
|
||||
#include <stdio.h>
|
||||
|
|
|
@ -38,217 +38,7 @@
|
|||
*
|
||||
* Revision History:
|
||||
*
|
||||
* $Log$
|
||||
* Revision 1.14 1999/06/28 17:54:12 tml
|
||||
* * */makefile.msc: Use the DEBUG nmake variable to determine
|
||||
* whether to build for debugging or not.
|
||||
*
|
||||
* * libgimp/gimp.def: Add some missing entry points.
|
||||
*
|
||||
* * plug-ins/makefile.msc: Redo as to Yosh's reorg of the
|
||||
* sources. Add some plug-ins missing earlier. (For instance print,
|
||||
* which only prints to files on Win32. We still need a real Win32
|
||||
* print plug-in. Much code probably could be lifted from the bmp
|
||||
* plug-in.)
|
||||
*
|
||||
* * plug-ins/MapObject/arcball.c: Change Qt_ToMatrix() to void,
|
||||
* instead of returning the address of its parameter (dubious
|
||||
* practise), as its value is never used anyway.
|
||||
*
|
||||
* For the following changes, thanks to Hans Breuer:
|
||||
*
|
||||
* * plug-ins/FractalExplorer/Dialogs.h: Check for feof, not to get
|
||||
* into an endless loop on malformed files.
|
||||
*
|
||||
* * plug-ins/common/header.c: Support indexed images.
|
||||
*
|
||||
* * plug-ins/common/sunras.c
|
||||
* * plug-ins/common/xwd.c
|
||||
* * plug-ins/print/print.h
|
||||
* * plug-ins/sgi/sgi.h: Include config.h, guard inclusion of
|
||||
* unistd.h.
|
||||
*
|
||||
* * plug-ins/print/print.c: Guard for SIGBUS being undefined. Open
|
||||
* output file in binary mode.
|
||||
*
|
||||
* * po/makefile.msc: Add no.
|
||||
*
|
||||
* Revision 1.13 1999/05/29 16:35:30 yosh
|
||||
* * configure.in
|
||||
* * Makefile.am: removed tips files, AC_SUBST GIMP_PLUGINS and
|
||||
* GIMP_MODULES so you can easily skip those parts of the build
|
||||
*
|
||||
* * acinclude.m4
|
||||
* * config.sub
|
||||
* * config.guess
|
||||
* * ltconfig
|
||||
* * ltmain.sh: libtool 1.3.2
|
||||
*
|
||||
* * app/fileops.c: shuffle #includes to avoid warning about MIN and
|
||||
* MAX
|
||||
*
|
||||
* [ The following is a big i18n patch from David Monniaux
|
||||
* <david.monniaux@ens.fr> ]
|
||||
*
|
||||
* * tips/gimp_conseils.fr.txt
|
||||
* * tips/gimp_tips.txt
|
||||
* * tips/Makefile.am
|
||||
* * configure.in: moved tips to separate dir
|
||||
*
|
||||
* * po-plugins: new dir for plug-in translation files
|
||||
*
|
||||
* * configure.in: add po-plugins dir and POTFILES processing
|
||||
*
|
||||
* * app/boundary.c
|
||||
* * app/brightness_contrast.c
|
||||
* * app/by_color_select.c
|
||||
* * app/color_balance.c
|
||||
* * app/convert.c
|
||||
* * app/curves.c
|
||||
* * app/free_select.c
|
||||
* * app/gdisplay.c
|
||||
* * app/gimpimage.c
|
||||
* * app/gimpunit.c
|
||||
* * app/gradient.c
|
||||
* * app/gradient_select.c
|
||||
* * app/install.c
|
||||
* * app/session.c: various i18n tweaks
|
||||
*
|
||||
* * app/tips_dialog.c: localize tips filename
|
||||
*
|
||||
* * libgimp/gimpunit.c
|
||||
* * libgimp/gimpunitmenu.c: #include "config.h"
|
||||
*
|
||||
* * plug-ins/CEL
|
||||
* * plug-ins/CML_explorer
|
||||
* * plug-ins/Lighting
|
||||
* * plug-ins/apply_lens
|
||||
* * plug-ins/autostretch_hsv
|
||||
* * plug-ins/blur
|
||||
* * plug-ins/bmp
|
||||
* * plug-ins/borderaverage
|
||||
* * plug-ins/bumpmap
|
||||
* * plug-ins/bz2
|
||||
* * plug-ins/checkerboard
|
||||
* * plug-ins/colorify
|
||||
* * plug-ins/compose
|
||||
* * plug-ins/convmatrix
|
||||
* * plug-ins/cubism
|
||||
* * plug-ins/depthmerge
|
||||
* * plug-ins/destripe
|
||||
* * plug-ins/gif
|
||||
* * plug-ins/gifload
|
||||
* * plug-ins/jpeg
|
||||
* * plug-ins/mail
|
||||
* * plug-ins/oilify
|
||||
* * plug-ins/png
|
||||
* * plug-ins/print
|
||||
* * plug-ins/ps
|
||||
* * plug-ins/xbm
|
||||
* * plug-ins/xpm
|
||||
* * plug-ins/xwd: plug-in i18n stuff
|
||||
*
|
||||
* -Yosh
|
||||
*
|
||||
* Revision 1.12 1999/05/01 17:53:52 asbjoer
|
||||
* os2 printing
|
||||
*
|
||||
* Revision 1.11 1999/01/15 17:34:25 unammx
|
||||
* 1999-01-15 Federico Mena Quintero <federico@nuclecu.unam.mx>
|
||||
*
|
||||
* * Updated gtk_toggle_button_set_state() to
|
||||
* gtk_toggle_button_set_active() in all the files.
|
||||
*
|
||||
* Revision 1.10 1998/05/17 07:16:50 yosh
|
||||
* 0.99.31 fun
|
||||
*
|
||||
* updated print plugin
|
||||
*
|
||||
* -Yosh
|
||||
*
|
||||
* Revision 1.21 1998/05/16 18:51:16 mike
|
||||
* Updated LaserJet and PostScript profiles.
|
||||
*
|
||||
* Revision 1.20 1998/05/16 18:27:59 mike
|
||||
* Updated brightness LUT generation for correct calibration values.
|
||||
* Updated Stylus Color density - a little too high.
|
||||
*
|
||||
* Revision 1.19 1998/05/16 16:45:24 mike
|
||||
* Added RGB/Grayscale gamma correction using the brightness (as well as the
|
||||
* CMY[K] gamma correction for each printer)
|
||||
*
|
||||
* Revision 1.18 1998/05/15 21:01:51 mike
|
||||
* Top/left need to be in points.
|
||||
* All code in preview_motion_callback() was still commented out...
|
||||
* Updated DeskJet and Stylus color calibration values.
|
||||
*
|
||||
* Revision 1.17 1998/05/11 23:56:05 mike
|
||||
* Miscellaneous portability changes.
|
||||
*
|
||||
* Revision 1.16 1998/05/08 20:52:55 mike
|
||||
* Whoops, wasn't showing/hiding PPD file browse button.
|
||||
*
|
||||
* Revision 1.15 1998/05/08 19:20:50 mike
|
||||
* Updated for new driver interface.
|
||||
* Added GUI for printer driver setup, PPD files.
|
||||
* Now display file chooser when user selects "print to file"
|
||||
* Added PPI/percent-of-page toggle for scaling.
|
||||
* Added options for media type, resolution, and media source.
|
||||
*
|
||||
* Revision 1.14 1998/03/01 17:29:42 mike
|
||||
* Added LPC/LPR/LP/LPSTAT_COMMAND definitions for portability.
|
||||
*
|
||||
* Revision 1.13 1998/01/22 15:06:31 mike
|
||||
* Added "file" printer for printing to file.
|
||||
* Now you don't need the "|" in front of print commands.
|
||||
* Now "remembers" last selected printer.
|
||||
*
|
||||
* Revision 1.12 1998/01/21 21:33:47 mike
|
||||
* Added Level 2 PostScript driver.
|
||||
* Fixed bug in dialog - didn't display correct output file/command
|
||||
* and driver for the default printer.
|
||||
*
|
||||
* Revision 1.11 1997/11/14 17:17:59 mike
|
||||
* Updated to dynamically allocate return params in the run() function.
|
||||
*
|
||||
* Revision 1.10 1997/11/12 15:57:48 mike
|
||||
* Minor changes for clean compiles under Digital UNIX.
|
||||
*
|
||||
* Revision 1.9 1997/10/22 13:07:20 mike
|
||||
* Fixed typo in run() return status (thanks Michael Schubart!)
|
||||
*
|
||||
* Revision 1.8 1997/10/02 17:57:26 mike
|
||||
* Added printrc support.
|
||||
* Added printer list (spooler support).
|
||||
* Added gamma/dot gain correction values for all printers.
|
||||
*
|
||||
* Revision 1.8 1997/10/02 17:57:26 mike
|
||||
* Added printrc support.
|
||||
* Added printer list (spooler support).
|
||||
* Added gamma/dot gain correction values for all printers.
|
||||
*
|
||||
* Revision 1.7 1997/07/30 20:33:05 mike
|
||||
* Final changes for 1.1 release.
|
||||
*
|
||||
* Revision 1.6 1997/07/30 18:47:39 mike
|
||||
* Added scaling, orientation, and offset options.
|
||||
* Added first cut at preview window.
|
||||
*
|
||||
* Revision 1.5 1997/07/26 18:38:23 mike
|
||||
* Whoops - wasn't grabbing the colormap for indexed images properly...
|
||||
*
|
||||
* Revision 1.4 1997/07/03 13:13:26 mike
|
||||
* Updated documentation for 1.0 release.
|
||||
*
|
||||
* Revision 1.3 1997/07/03 13:07:05 mike
|
||||
* Updated EPSON driver short names.
|
||||
* Changed brightness lut formula for better control.
|
||||
*
|
||||
* Revision 1.2 1997/07/02 15:22:17 mike
|
||||
* Added GUI with printer/media/output selection controls.
|
||||
*
|
||||
* Revision 1.1 1997/07/02 13:51:53 mike
|
||||
* Initial revision
|
||||
* See ChangeLog
|
||||
*/
|
||||
|
||||
#include "print.h"
|
||||
|
|
|
@ -21,105 +21,7 @@
|
|||
*
|
||||
* Revision History:
|
||||
*
|
||||
* $Log$
|
||||
* Revision 1.8 1999/06/28 17:54:14 tml
|
||||
* * */makefile.msc: Use the DEBUG nmake variable to determine
|
||||
* whether to build for debugging or not.
|
||||
*
|
||||
* * libgimp/gimp.def: Add some missing entry points.
|
||||
*
|
||||
* * plug-ins/makefile.msc: Redo as to Yosh's reorg of the
|
||||
* sources. Add some plug-ins missing earlier. (For instance print,
|
||||
* which only prints to files on Win32. We still need a real Win32
|
||||
* print plug-in. Much code probably could be lifted from the bmp
|
||||
* plug-in.)
|
||||
*
|
||||
* * plug-ins/MapObject/arcball.c: Change Qt_ToMatrix() to void,
|
||||
* instead of returning the address of its parameter (dubious
|
||||
* practise), as its value is never used anyway.
|
||||
*
|
||||
* For the following changes, thanks to Hans Breuer:
|
||||
*
|
||||
* * plug-ins/FractalExplorer/Dialogs.h: Check for feof, not to get
|
||||
* into an endless loop on malformed files.
|
||||
*
|
||||
* * plug-ins/common/header.c: Support indexed images.
|
||||
*
|
||||
* * plug-ins/common/sunras.c
|
||||
* * plug-ins/common/xwd.c
|
||||
* * plug-ins/print/print.h
|
||||
* * plug-ins/sgi/sgi.h: Include config.h, guard inclusion of
|
||||
* unistd.h.
|
||||
*
|
||||
* * plug-ins/print/print.c: Guard for SIGBUS being undefined. Open
|
||||
* output file in binary mode.
|
||||
*
|
||||
* * po/makefile.msc: Add no.
|
||||
*
|
||||
* Revision 1.7 1998/05/31 06:49:17 yosh
|
||||
* * app/interface.c: plug mem leak in message_box
|
||||
*
|
||||
* * plug-ins/mail/mail.c: use g_message
|
||||
*
|
||||
* * plug-ins/script-fu/scripts/carve-it.scm: fix for gimp-layer-new params from
|
||||
* Kevin Cozens <kcozens@interlog.com>
|
||||
*
|
||||
* * plug-ins/CEL/CEL.c
|
||||
* * plug-ins/pcx/pcx.c
|
||||
* * plug-ins/tiff/tiff.c: updates from author
|
||||
*
|
||||
* * plug-ins/png/png.c: correct copyright
|
||||
*
|
||||
* * plug-ins/print/print.h: use correct version
|
||||
*
|
||||
* -Yosh
|
||||
*
|
||||
* Revision 1.12 1998/05/16 14:25:51 mike
|
||||
* Updated for v2.0.2.
|
||||
*
|
||||
* Revision 1.11 1998/05/08 19:20:50 mike
|
||||
* Updated for new driver interface.
|
||||
* Added media size, imageable area, and parameter functions.
|
||||
*
|
||||
* Revision 1.10 1998/03/01 17:20:48 mike
|
||||
* Updated version number & date.
|
||||
*
|
||||
* Revision 1.9 1998/01/21 21:33:47 mike
|
||||
* Added Level 2 PostScript driver.
|
||||
* Replaced Burkes dither with stochastic (random) dither.
|
||||
* Now use Level 2 ASCII85 filter for Level 2 printers.
|
||||
*
|
||||
* Revision 1.8 1997/11/14 17:17:59 mike
|
||||
* Updated to dynamically allocate return params in the run() function.
|
||||
*
|
||||
* Revision 1.7 1997/10/02 17:57:26 mike
|
||||
* Added gamma/dot gain correction values for all printers.
|
||||
*
|
||||
* Revision 1.7 1997/10/02 17:57:26 mike
|
||||
* Added gamma/dot gain correction values for all printers.
|
||||
*
|
||||
* Revision 1.6 1997/07/30 20:33:05 mike
|
||||
* Final changes for 1.1 release.
|
||||
*
|
||||
* Revision 1.5 1997/07/30 18:47:39 mike
|
||||
* Added scaling, orientation, and offset options.
|
||||
*
|
||||
* Revision 1.4 1997/07/26 18:43:04 mike
|
||||
* Updated version number to 1.1.
|
||||
*
|
||||
* Revision 1.3 1997/07/03 13:26:46 mike
|
||||
* Updated documentation for 1.0 release.
|
||||
*
|
||||
* Revision 1.2 1997/07/02 13:51:53 mike
|
||||
* Added rgb_to_rgb and gray_to_gray conversion functions.
|
||||
* Standardized calling args to conversion functions.
|
||||
*
|
||||
* Revision 1.2 1997/07/02 13:51:53 mike
|
||||
* Added rgb_to_rgb and gray_to_gray conversion functions.
|
||||
* Standardized calling args to conversion functions.
|
||||
*
|
||||
* Revision 1.1 1997/06/19 02:18:15 mike
|
||||
* Initial revision
|
||||
* See ChangeLog
|
||||
*/
|
||||
|
||||
/*
|
||||
|
|
|
@ -21,63 +21,7 @@
|
|||
*
|
||||
* Revision History:
|
||||
*
|
||||
* $Log$
|
||||
* Revision 1.9 1999/06/28 17:54:16 tml
|
||||
* * */makefile.msc: Use the DEBUG nmake variable to determine
|
||||
* whether to build for debugging or not.
|
||||
*
|
||||
* * libgimp/gimp.def: Add some missing entry points.
|
||||
*
|
||||
* * plug-ins/makefile.msc: Redo as to Yosh's reorg of the
|
||||
* sources. Add some plug-ins missing earlier. (For instance print,
|
||||
* which only prints to files on Win32. We still need a real Win32
|
||||
* print plug-in. Much code probably could be lifted from the bmp
|
||||
* plug-in.)
|
||||
*
|
||||
* * plug-ins/MapObject/arcball.c: Change Qt_ToMatrix() to void,
|
||||
* instead of returning the address of its parameter (dubious
|
||||
* practise), as its value is never used anyway.
|
||||
*
|
||||
* For the following changes, thanks to Hans Breuer:
|
||||
*
|
||||
* * plug-ins/FractalExplorer/Dialogs.h: Check for feof, not to get
|
||||
* into an endless loop on malformed files.
|
||||
*
|
||||
* * plug-ins/common/header.c: Support indexed images.
|
||||
*
|
||||
* * plug-ins/common/sunras.c
|
||||
* * plug-ins/common/xwd.c
|
||||
* * plug-ins/print/print.h
|
||||
* * plug-ins/sgi/sgi.h: Include config.h, guard inclusion of
|
||||
* unistd.h.
|
||||
*
|
||||
* * plug-ins/print/print.c: Guard for SIGBUS being undefined. Open
|
||||
* output file in binary mode.
|
||||
*
|
||||
* * po/makefile.msc: Add no.
|
||||
*
|
||||
* Revision 1.8 1998/06/06 23:22:20 yosh
|
||||
* * adding Lighting plugin
|
||||
*
|
||||
* * updated despeckle, png, sgi, and sharpen
|
||||
*
|
||||
* -Yosh
|
||||
*
|
||||
* Revision 1.5 1998/05/17 16:01:33 mike
|
||||
* Added <unistd.h> header file.
|
||||
*
|
||||
* Revision 1.4 1998/04/23 17:40:49 mike
|
||||
* Updated to support 16-bit <unsigned> image data.
|
||||
*
|
||||
* Revision 1.3 1998/02/05 17:10:58 mike
|
||||
* Added sgiOpenFile() function for opening an existing file pointer.
|
||||
*
|
||||
* Revision 1.2 1997/06/18 00:55:28 mike
|
||||
* Updated to hold length table when writing.
|
||||
* Updated to hold current length when doing ARLE.
|
||||
*
|
||||
* Revision 1.1 1997/06/15 03:37:19 mike
|
||||
* Initial revision
|
||||
* see ChangeLog
|
||||
*/
|
||||
|
||||
#ifndef _SGI_H_
|
||||
|
|
Loading…
Reference in New Issue