* plug-ins/common/plugindetails.c: clean up the code (use
gimp_table_attach_aligned() where needed).
* plug-ins/dbbrowser/dbbrowser.c:
* plug-ins/dbbrowser/dbbrowser_utils.c: changed tabs to spaces.
2004-01-12 Sven Neumann <sven@gimp.org>
* plug-ins/common/CML_explorer.c (parse_line_to_gdouble): use
g_ascii_strtod() instead of the locale-dependant atof().
2004-01-12 Sven Neumann <sven@gimp.org>
* plug-ins/common/CML_explorer.c: render a grayscale preview when
the plug-in is run on a grayscale drawable (fixes bug #82465).
Fixed some memory leaks while I was at it.
Please note that this is a work in progress.
This plug-in was very broken, and still needs some work to be useful and less ugly.
2004-01-09 Sven Neumann <sven@gimp.org>
* plug-ins/common/tiff.c (load_image): applied a patch from
Pablo d'Angelo that fixes layer offsets for multipage TIFF files
(bug #131016).
2004-01-08 Raphaël Quinet <quinet@gamers.org>
* plug-ins/common/jpeg.c: applied a (slightly modified) patch from
keith@goatman.me.uk, fixing a problem with the save dialog for
grayscale images and a small rounding error in the JPEG quality
level. Fixes bug #130912.
2004-01-06 Sven Neumann <sven@gimp.org>
* plug-ins/common/png.c: use a global parasite to store the default
values. Such uglyness doesn't belong into gimprc.
* devel-docs/parasites.txt: document the parasite used by the PNG
plug-in.
2004-01-06 Manish Singh <yosh@gimp.org>
* plug-ins/common/png.c: Implemented default settings, for both
the UI and the PDB. Settings are stored in gimprc, but right now
saving is broken since gimp_gimprc_set is broken right now.
There are 3 new PDB entry points: file_png_save_defaults, which is
a save function that only takes drawable and filename info, and
uses the stored gimprc settings for the rest of the parameters.
This is hooked up to the save magic, so using gimp_file_save to
save as png now won't make big files anymore. The other two are
file_png_get_defaults and file_png_set_defaults, which query
and set the gimprc setting respectively.
I also did some cleanup, and added a comment boolean to the
file_png_save2 interface. The string serialization to the gimprc
is sort of dumb, but it works.
Next step is to do similar for jpeg and gif.
2004-01-05 Sven Neumann <sven@gimp.org>
* plug-ins/common/png.c: applied a modified patch provided by
Joao S. O. Bueno and Dave Neary. The user can now specify whether
color values for transparent pixels should be saved or nullified
(bug #129472).
2004-01-02 Michael Natterer <mitch@gimp.org>
* plug-ins/common/animationplay.c (build_dialog): NULL-terminate
the list of strings passed to g_strconcat().
2003-12-27 Pedro Gimeno <pggimeno@wanadoo.es>
* plug-ins/common/jigsaw.c (jigsaw): actually don't crash when
layer previews are disabled. Fixes the crash reported in bug
#112012, but not the bug itself.
2003-12-26 Sven Neumann <sven@gimp.org>
* plug-ins/common/edge.c: forgot to change
gimp_pixel_fetcher_set_edgemode to gimp_pixel_fetcher_set_edge_mode
here.
2003-12-26 Sven Neumann <sven@gimp.org>
* libgimp/gimpmisc.[ch]: applied a modified version of a patch
from Maurits Rijk that cleans up the remaining API (bug #125141).
* plug-ins/common/curve_bend.c
* plug-ins/common/displace.c
* plug-ins/common/edge.c
* plug-ins/common/illusion.c
* plug-ins/common/shift.c
* plug-ins/gflare/gflare.c: changed accordingly.
2003-12-17 Dave Neary <bolsh@gimp.org>
* libgimpwidgets/gimpwidgets.[ch]: Change signature of
gimp_random_seed_new() to allow caller to specify that he wants to
use a random seed rather than the specified seed. Previously it was
up to the caller to initialise the seed.
* plug-ins/gflare/gflare.c
* plug-ins/maze/maze_face.c
* plug-ins/common/
* plug-ins/common/plasma.c
* plug-ins/common/sinus.c
* plug-ins/common/snoise.c: Trivial modifications of call to
gimp_random_seed_new() with FALSE.
* plug-ins/common/blur.c
* plug-ins/common/randomize.c: Modify PDB routines and tool options
to allow a random seed to be specified. Useful for scripts. Reverts
PDB to 1.2 state. Fixes bug #129529.
2003-12-12 Manish Singh <yosh@gimp.org>
* Makefile.am
* app/composite/Makefile.am
* themes/Default/images/Makefile.am: comestics.
* app/gui/color-notebook.c (color_notebook_new): no need to cast to G_OBJECT for g_signal_connect.
* plug-ins/common/mkgen.pl
* plug-ins/common/plugin-defs.pl: properly handle the libgimpoldpreview
stuff.
* plug-ins/common/Makefile.am: regenerated.
* plug-ins/common/decompose.c: cbrt() is in C99, so check for that
in addition to GNU libc.
2003-12-12 Hans Breuer <hans@breuer.org>
[
I've postponed my reservations against pangoft2/fontconfig/freetype2
usage, so The Gimp should now build with msvc without patching it.
]
* app/makefile.msc app/text/makefile.msc : use $(PANGOFT2_CFLAGS) etc.
* libgimpthumb/makefile.msc : (new file)
* makefile.msc : added libgimpthumb
* libgimpthumb/gimpthumbnail.c : include gimpwin32-io.h
* libgimpthumb/gimpthumb-utils.c : don't compare size pointer
with GIMP_THUMB_SIZE_FAIL but *size
* plug-ins/makefile.msc : handle libgimpoldpreview
* plug-ins/common/decompose.c : define cbrt() if not __GLIBC__
* plug-ins/common/winclipboard.c : make it compile without gimpcompat.h
* plug-ins/imagemap/imagemap_csim_lex.c : its a generated file
but still win32/msvc has no unistd.h
* plug-ins/pygimp/makefile.msc : (new file) to use the binary you
need to patch glib, see bug #98737
* plug-ins/libgimpoldpreview.c : use <libgimp/gimp.h> instead of "gimp.h"
* **/Makefile.am : added makefile.msc to EXTRA_DIST
2003-12-12 Michael Natterer <mitch@gimp.org>
* libgimp/gimplayer.h: removed preserve_transparency #defines.
This is the last of the #defines we added before 1.2 to create a
saner libgimp API (this time, removed the function names that were
planned to be the new ones, because this one is just nitpicky and
overly long).
* libgimp/gimpcompat.h: added them here.
* plug-ins/common/iwarp.c
* plug-ins/common/psd.c
* plug-ins/common/psd_save.c
* plug-ins/common/psp.c
* plug-ins/common/rotate.c
* plug-ins/common/threshold_alpha.c
* plug-ins/common/vpropagate.c
* plug-ins/xjt/xjt.c: changed accordingly.
2003-12-12 Michael Natterer <mitch@gimp.org>
* libgimp/libgimp-sections.txt
* libgimp/tmpl/gimplayer.sgml: follow preserve_transparency removal.
* plug-ins/common/psd.c: GIMP 1.3/2.0 needs its layer/channel
names to be UTF8 or it fails wackily, so convert the strings from
the PSD file to UTF8 instead of using them raw.
2003-12-03 Michael Natterer <mitch@gimp.org>
* plug-ins/common/channel_mixer.c: changed float (de)serialization
to use locale independent g_ascii_* functions (fixes bug #113901).
Cleaned up the GUI a lot (scale entries and stuff). Some more
general cleanup.
2003-12-03 Sven Neumann <sven@gimp.org>
* plug-ins/common/ccanalyze.c: use gimp_memsize_to_string() to
display the memory and file size of the image. Minor cleanups.
2003-12-02 Sven Neumann <sven@gimp.org>
* plug-ins/common/tiff.c: applied a modified version of a patch
submitted by Andrey Kiselev. Implements loading of TIFF files with
multiple pages (bug #66886).
2003-11-29 Sven Neumann <sven@gimp.org>
* plug-ins/common/AlienMap.c
* plug-ins/common/AlienMap2.c: fix it properly. There's really no
need to pass the same pointer twice.
2003-11-28 Sven Neumann <sven@gimp.org>
* plug-ins/common/gifload.c: applied a patch from Adam D. Moss
that does some minor message cleanups (bug #128061).
2003-11-27 Michael Natterer <mitch@gimp.org>
* plug-ins/common/ps.c (create_new_image): don't add the page
number to the filename of the image corresponsing to the
postscript file's first page. Enables thumbnail generation
for PS files.
Indented function prototypes.
* app/file/file-open.c (file_open_with_proc_and_display): create a
thumbnail of the opened image only if the image's uri matches the
passed uri.
2003-11-27 Michael Natterer <mitch@gimp.org>
* plug-ins/common/animationplay.c (is_ms_tag): more
s/toupper/g_ascii_toupper/.
* plug-ins/common/gee_zoom.c: #include <stdlib.h> for abs().
2003-11-23 Raphaël Quinet <quinet@gamers.org>
* plug-ins/common/animoptimize.c: Allow the plug-in to register
itself twice: once for the old mode (difference only) and once for
the new mode that improves the 'combine' frames by trying to
maximize the number of adjacent pixels of the same color. This
gives a better compression for GIF, MNG and other formats that
work on a line-by-line basis (bug #66367).
2003-11-18 Sven Neumann <sven@gimp.org>
* plug-ins/common/png.c (load_image): inform the user when a PNG
file specifies an offset that causes the layer to be positioned
outside the image area. Fixes "bug" #127307.
2003-11-17 Sven Neumann <sven@gimp.org>
* libgimpcolor/gimprgb.h (GIMP_RGB_INTENSITY): removed the
addition of 0.001 that isn't correct for use with integers (should
be 0.5 then) and just plain wrong for use with floats/doubles.
* app/base/temp-buf.c
* app/core/gimpdrawable.c
* app/core/gimpimage-convert.c
* app/core/gimpimage.c
* plug-ins/common/aa.c
* plug-ins/common/engrave.c
* plug-ins/common/gradmap.c
* plug-ins/common/newsprint.c
* plug-ins/gflare/gflare.c
* plug-ins/gfli/gfli.c
* plug-ins/pagecurl/pagecurl.c: add 0.5 to the result of
GIMP_RGB_INTENSITY() in all places that use it with integers.
2003-11-15 Michael Natterer <mitch@gimp.org>
* libgimp/gimpexport.[ch]: added new export capabilities
GIMP_EXPORT_CAN_HANDLE_BITMAP and _CAN_HANDLE_LAYER_MASKS and
export the image accordingly. Code cleanup.
* plug-ins/common/xbm.c (run): replaced _CAN_HANDLE_INDEXED by
_CAN_HANDLE_BITMAP. Fixes bug #65788.
* plug-ins/common/psd_save.c (run): added export stuff so
layer masks are applied before saving. Fixes bug #119732.
* plug-ins/common/Makefile.am
* plug-ins/common/plugin-defs.pl: link psd_save against GTK+
and libgimpui.
2003-11-15 Sven Neumann <sven@gimp.org>
* plug-ins/common/gih.c (gih_load_one_brush): add an alpha channel
to grayscale layers created from brush pipes.
2003-11-15 Henrik Brix Andersen <brix@gimp.org>
* plug-ins/common/screenshot.c: added an optional time out before
selecting the window to be grabbed. This fixes bug #121783.
2003-11-14 Manish Singh <yosh@gimp.org>
* libgimpwidgets/gimpwidgets.[ch]: implementedgimp_int_option_menu_new
and gimp_int_radio_group_new, which are the same as
gimp_option_menu_new2 and gimp_radio_group_new2, but they take
integers as values to map instead of gpointers, which avoids casts
in pretty much all uses of it in the tree.
* app/gui/image-commands.c
* app/gui/offset-dialog.c
* app/widgets/gimppropwidgets.c
* app/widgets/gimpwidgets-constructors.c
* libgimpwidgets/gimpmemsizeentry.c
* modules/cdisplay_colorblind.c
* plug-ins/FractalExplorer/Dialogs.c
* plug-ins/Lighting/lighting_ui.c
* plug-ins/MapObject/mapobject_ui.c
* plug-ins/common/AlienMap.c
* plug-ins/common/AlienMap2.c
* plug-ins/common/CML_explorer.c
* plug-ins/common/align_layers.c
* plug-ins/common/blinds.c
* plug-ins/common/borderaverage.c
* plug-ins/common/bumpmap.c
* plug-ins/common/curve_bend.c
* plug-ins/common/deinterlace.c
* plug-ins/common/edge.c
* plug-ins/common/emboss.c
* plug-ins/common/fractaltrace.c
* plug-ins/common/gif.c
* plug-ins/common/hot.c
* plug-ins/common/iwarp.c
* plug-ins/common/jigsaw.c
* plug-ins/common/jpeg.c
* plug-ins/common/lic.c
* plug-ins/common/mail.c
* plug-ins/common/max_rgb.c
* plug-ins/common/mblur.c
* plug-ins/common/mng.c
* plug-ins/common/mosaic.c
* plug-ins/common/nlfilt.c
* plug-ins/common/papertile.c
* plug-ins/common/pnm.c
* plug-ins/common/ps.c
* plug-ins/common/psp.c
* plug-ins/common/ripple.c
* plug-ins/common/shift.c
* plug-ins/common/sinus.c
* plug-ins/common/sparkle.c
* plug-ins/common/struc.c
* plug-ins/common/sunras.c
* plug-ins/common/tiff.c
* plug-ins/common/waves.c
* plug-ins/common/wind.c
* plug-ins/fits/fits.c
* plug-ins/flame/flame.c
* plug-ins/gfig/gfig.c
* plug-ins/gimpressionist/color.c
* plug-ins/gimpressionist/orientmap.c
* plug-ins/gimpressionist/placement.c
* plug-ins/maze/maze_face.c
* plug-ins/sgi/sgi.c: Use gimp_int_option_menu_new and
gimp_int_radio_group_new.
* plug-ins/common/CML_explorer.c: make function_graph_new take a
gpointer *data instead of a gpointer data, and properly pass an
int through it.
* plug-ins/common/mng.c: mark menu strings for translation.
* plug-ins/rcm/rcm.c: remove initialization for Success member
in RcmParams, since it's gone now.
2003-11-11 Michael Natterer <mitch@gimp.org>
* libgimpwidgets/gimpdialog.[ch] (gimp_dialog_run): new function
which does the same as gtk_dialog_run() except it does not make
the dialog modal.
* app/gui/resolution-calibrate-dialog.c
* libgimp/gimpexport.c
* plug-ins/*/*.c: use gimp_dialog_run() instead of gtk_dialog_run().
* plug-ins/common/grid.c: set update_continuous to TRUE for
the GimpColorButtons so this feature gets some testing.
2003-11-11 Michael Natterer <mitch@gimp.org>
* plug-ins/common/dicom.c: removed doubly pasted code. Changed
error/progress messages to use the "standard" string many plug-ins
use. Added error message if opening for wriring fails. Minor
cleanups.
2003-11-09 Sven Neumann <sven@gimp.org>
* app/core/gimpbrush.c (gimp_brush_load_brush)
* plug-ins/common/gbr.c (load_image): use proper conversion from
16bit float to 8bit integer.
2003-11-09 Sven Neumann <sven@gimp.org>
* plug-ins/common/svg.c: removed redundant calls to gimp_get_data().
* plug-ins/common/wmf.c: fixed parameter handling and limits and
initial value of the logarithmic scale entry.
2003-11-09 Sven Neumann <sven@gimp.org>
* configure.in: check for libwmf >= 0.2.8 and build the WMF
plug-in conditionally.
* plug-ins/common/Makefile.am
* plug-ins/common/mkgen.pl
* plug-ins/common/plugin-defs.pl
* plug-ins/common/wmf.c: replaced the WMF plug-in with a plug-in
using libwmf written by Dom Lachowicz and Francis James
Franklin. Converted the plug-in to to new GimpDialog API and GIMP
coding style. Fixes bug #108653.
2003-11-05 Sven Neumann <sven@gimp.org>
* app/core/gimpbrush.c
* plug-ins/common/gbr.c: added support for loading cinepaint
brushes (GIMP brush version 3).