2004-11-10 Michael Schumacher <schumaml@cvs.gnome.org>
* plug-ins/winsnap/winsnap.c: applied a patch from Sven Neumann
with some minor modifications. Fixes bug #157612
Removed some unused variables.
* plug-ins/common/psd.c: Skip resources with unknown signatures
instead of quiting. Fixes bug #142468, and bug #152728
* app/core/gimpdrawable.c: in functions gimp_drawable_mask_bounds,
and gimp_drawable_mask_intersect: reinitialize the return values
after calling gimp_channel_bounds because gimp_channel_bounds
overwrites the values even when it returns false. This fixes the
bug where the gimp crashes when running color tools on layers
smaller than the image, and processes only part of the image when
the layer is larger than the image size.
2004-11-10 Michael Natterer <mitch@gimp.org>
* plug-ins/ifscompose/ifscompose.c: use a UI manager created
toolbar instead of two rows of buttons. Added a "dummy-menubar" so
the popup menu shows shortcuts again. Removed "Preview" and "Auto"
buttons since the preview doesn't block the GUI and can always be
updated.
2004-11-09 Manish Singh <yosh@gimp.org>
* plug-ins/common/bmpread.c: if the file has space in the colormap for
more than 256 entries, ignore them instead of failing. Fixes bug
#157775.
2004-11-08 Sven Neumann <sven@gimp.org>
* plug-ins/script-fu/script-fu-interface.c (script_fu_ok):
actually retrieve the value from the GtkEntry for SF-VALUE.
2004-11-08 Michael Natterer <mitch@gimp.org>
* plug-ins/script-fu/scripts/selection-round.scm: removed garbage
from beginning of file. Removed DOS line breaks.
* plug-ins/gflare/gflare.c: removed #undef GTK_DISABLE_DEPRECATED and
use a GtkListStore instead of the long-time deprecated GtkList. Done
some small cleanups, too.
2004-11-05 Michael Natterer <mitch@gimp.org>
* plug-ins/flame/flame.c: removed #undef GTK_DISABLE_DEPRECATED
because it's no longer needed. Cleaned up #defines and
declarations. Removed tabs and trailing whitespace.
2004-11-04 Michael Natterer <mitch@gimp.org>
* plug-ins/common/uniteditor.c: undeprecated by using a
GtkUIManager for creating the toolbar. Some cleanup and code
reordering.
2004-11-04 Michael Natterer <mitch@gimp.org>
* plug-ins/common/uniteditor.c: undeprecated by using a
GtkUIManager for creating the toolbar. Some cleanup and code
reordering.
2004-11-03 Michael Natterer <mitch@gimp.org>
* app/dialogs/module-dialog.c
* plug-ins/dbbrowser/gimpprocbrowser.c
* plug-ins/dbbrowser/plugin-browser.c: use
gtk_tree_model_get_iter_first() instead of the deprecated
_get_iter_root().
* app/display/gimpdisplayshell-callbacks.c: don't include
"widgets/gimpitemfactory.h".
2004-11-02 Michael Natterer <mitch@gimp.org>
* plug-ins/script-fu/script-fu-interface.c (script_fu_interface):
don't silently return when there is already a script running but
show a message instead. Unfortunately introduces two new strings,
but bugs are bugs. Fixes bug #123882.
* plug-ins/gfig/gfig-dobject.c
* plug-ins/gfig/gfig-dobject.h
* plug-ins/gfig/gfig-preview.c
* plug-ins/gfig/gfig-style.h
* plug-ins/gfig/gfig-types.h
* plug-ins/gfig/gfig.h: some more cleanups. The current_style bug is
still there :(
* plug-ins/gfig/gfig-types.h: new file to hold the types gfig uses.
This makes the sources easier to read.
* plug-ins/gfig/Makefile.am: added gfig-types.h
* plug-ins/gfig/gfig.h: removed some types definitions and put them
in gfig-types.h and ...
* plug-ins/gfig/gfig-dobject.h
* plug-ins/gfig/gfig-style.h: ...into these files.
* plug-ins/gfig/gfig-dobject.c
* plug-ins/gfig/gfig-style.c: fixed some annoying popup messages at
the price of a smallish mem-leak that I will fix later.
* plug-ins/gfig/gfig-dialog.c
* plug-ins/gfig/gfig-line.c
* plug-ins/gfig/gfig-line.h
* plug-ins/gfig/gfig-poly.c
* plug-ins/gfig/gfig-preview.c
* plug-ins/gfig/gfig-star.c
* plug-ins/gfig/gfig-style.c
* plug-ins/gfig/gfig-style.h: some more cleanups and UI tweaks. Still
work in progress.
* plug-ins/gfig/pix-data.h: removed this empty, unused file.
2004-10-30 Sven Neumann <sven@gimp.org>
* plug-ins/common/despeckle.c: applied a patch from Geert Jordaens
that improves the Despeckle algorithm. See bug #72862.
2004-10-29 Kevin Cozens <kcozens@cvs.gimp.org>
* plug-ins/script-fu/siod-wrapper.c (init_constants): Updated to
use convert_string() to change name of constant to Scheme format.
2004-10-30 Sven Neumann <sven@gimp.org>
* plug-ins/common/grid.c (run): applied patch by Joao S. O. Bueno
that implements the opacity parameters the way it is documented.
Fixes bug #156750.
2004-10-30 Sven Neumann <sven@gimp.org>
* plug-ins/common/glasstile.c: applied patch from Yeti, updated by
Kevin Cozens and modified by me. Fixes bug #85261.
2004-10-29 Kevin Cozens <kcozens@cvs.gimp.org>
* tinyscheme/scheme.c: Removed some items from here...
* tinyscheme/scheme-private.h ... and added them here so they
could be used in the ts-wrapper.c file.
2004-10-29 Kevin Cozens <kcozens@cvs.gimp.org>
* scripts/carve-it.sct: Removed three lines no longer needed.
* scripts/contactsheet.sct: Use gimp-drawable-fill instead of
gimp-edit-fill.
* scripts/hsv-graph.sct: Backed out some changes made during first
attempts to get the script working. Fixed text for one toggle.
Reformatted the file.
* scripts/test-sphere.sct: Added note about use of SF_PALETTE
2004-10-29 Sven Neumann <sven@gimp.org>
* plug-ins/common/jpeg.c: pass the name to filesystem encoding to
gimp_image_set_filename(). Fixes bug #153751 for the JPEG plug-in.
2004-10-29 Michael Natterer <mitch@gimp.org>
* plug-ins/dbbrowser/gimpprocbrowser.c
* plug-ins/dbbrowser/plugin-browser.c: don't say "1 Procedures" or
"1 Plug-In Interfaces" but use the singular form instead.
2004-10-28 Sven Neumann <sven@gimp.org>
* plug-ins/common/grid.c: fixed a long-standing cut'n'paste bug
which caused the intersection color to be drawn with the wrong
shade of gray when drawing on a grayscale drawable.
2004-10-28 Sven Neumann <sven@gimp.org>
* plug-ins/helpbrowser/dialog.c: only create a "Document not
found" error page if the requested URL was a page to load, not a
supplementary URL like an image. Fixes bug #138275.
2004-10-28 Sven Neumann <sven@gimp.org>
* plug-ins/common/raw.c (query): do not install an extension for
the raw plug-in to avoid confusion with the dcraw formats.
2004-10-28 Sven Neumann <sven@gimp.org>
* plug-ins/script-fu/script-fu-interface.c (script_fu_interface):
use gimp_int_combo_box_connect() so that the initial selection
causes the "changed" callback to be run. Should fix bug #156659.
* plug-ins/gfig/gfig-bezier.[ch]: added a notebook page for the
bezier tool options instead of yet another popup window.
* plug-ins/gfig/gfig-dialog.c: modified accordingly and HIGed a bit.
* plug-ins/gfig/gfig-dialog.[ch]
* plug-ins/gfig/gfig-poly.[ch]
* plug-ins/gfig/gfig-spiral.[ch]
* plug-ins/gfig/gfig-star.[ch]
* plug-ins/gfig/gfig.h: first step of moving all the hidden popup
dialogs for the tool options in a GtkNotebook showing the options
within one page for each tool.
* libgimp/gimpaspectpreview.c: really use the second parameter of
gimp_aspect_preview_new (), so plug-ins can now really remember the
state of the preview between invocations.
* libgimpwidgets/gimpscrolledpreview.c: fix a little typo
* plug-ins/common/channel_mixer.c: fix a warning by using TRUE for a
boolean value (initial state of the preview) instead of a weird NULL.
2004-10-26 Sven Neumann <sven@gimp.org>
Added new drawable transform API to the PDB. Largely based on
patches from Joao S. O. Bueno. Fixes bug #137053.
* app/core/gimpdrawable-transform.[ch]: added missing parameters
to gimp_drawable_transform_flip().
* tools/pdbgen/pdb/transform_tools.pdb: changed accordinly.
* app/base/base-enums.h
* app/core/core-enums.h: removed pdp-skip for GimpInterpolationType
and GimpTransformDirection enums.
* libgimp/gimpenums.h
* plug-ins/pygimp/gimpenums.py
* tools/pdbgen/enums.pl
* tools/pdbgen/groups.pl: regenerated.
* tools/pdbgen/Makefile.am
* tools/pdbgen/pdb/drawable_transform.pdb: added new file defining
the new PDB calls.
* app/pdb/Makefile.am
* app/pdb/drawable_transform_cmds.c
* app/pdb/internal_procs.c
* app/pdb/transform_tools_cmds.c
* libgimp/gimp_pdb.h
* libgimp/gimpdrawabletransform_pdb.[ch]: regenerated.
2004-10-26 Michael Natterer <mitch@gimp.org>
* plug-ins/common/retinex.c: cleaned up the GUI and GIMP-specific
code a bit. Use gimp_drawable_mask_intersect().
2004-10-26 Michael Natterer <mitch@gimp.org>
* plug-ins/script-fu/siod-wrapper.c (marshall_proc_db_call):
my last change removed the sanity check for array_length >= 0.
Put it back.
2004-10-25 Michael Natterer <mitch@gimp.org>
* plug-ins/script-fu/siod-wrapper.c (marshall_proc_db_call):
silently accept arrays which are longer than specified. Nothing
bad can happen and it's common practice to resize arrays in fixed
size chunks so avoid frequent resizing. Fixes bug #155359.
2004-10-25 Michael Natterer <mitch@gimp.org>
* libgimpbase/gimpbaseenums.[ch]: register some missing enums.
* tools/pdbgen/enumcode.pl: removed code to generate
plug-ins/script-fu/script-fu-constants.c, generate code to
explicitely initialize and query all of libgimp*'s enums
and write it to libgimp/gimpenums.c.tail
* libgimp/gimpenums.h: regenerated.
* libgimp/Makefile.am: append gimpenums.c.tail to gimpenums.c
* libgimp/gimp.c (gimp_main): call g_type_init() and
_gimp_enums_init().
* libgimp/gimp.def: added gimp_enums_get_type_names().
* plug-ins/script-fu/Makefile.am
* plug-ins/script-fu/script-fu-constants.[ch]: removed these files.
* plug-ins/script-fu/siod-wrapper.c: dynamically register all
constants using gimp_enums_get_type_names() and introspection.
Also register the built-in unit types.
* plug-ins/script-fu/script-fu.c: changed accordingly.
2004-10-25 Sven Neumann <sven@gimp.org>
* plug-ins/imagemap/imap_cmd_gimp_guides.c
* plug-ins/imagemap/imap_edit_area_info.c
* plug-ins/imagemap/imap_main.c
* plug-ins/imagemap/imap_menu.[ch]
* plug-ins/imagemap/imap_menu_funcs.[ch]
* plug-ins/imagemap/imap_misc.c
* plug-ins/imagemap/imap_settings.c
* plug-ins/imagemap/imap_source.c: added a menu entry for Help.
Did more minor layout adjustments for HIG compliance.
2004-10-25 Kevin Cozens <kcozens@cvs.gimp.org>
* tinyscheme/scheme.c: Applied patch from Dimitrios Souflis which
fixes error when parsing two or more consecutive comment lines.
* plug-ins/common/newsprint.c: removed debugging g_print and
remove my memory fix, since it was buggy and shouldn't be done.
My fix just broke this plug-in (reported by Joao S. O. Bueno
Calligaris)
2004-10-22 Sven Neumann <sven@gimp.org>
* plug-ins/common/wmf.c: applied a patch by Karine Proot that adds
a preview to the load dialog and a similar UI as the SVG loader.
Fixes bug #133519 and bug #133521.
2004-10-21 Kevin Cozens <kcozens@cvs.gimp.org>
* plug-ins/script-fu/script-fu.c: Removed _() tag from two strings
that should not have been marked for translation.
2004-10-20 Michael Natterer <mitch@gimp.org>
* plug-ins/common/raw.c: new plug-in from Tim Copperfield, made
work with the GIMP 2.1 API by Philipp Gühring, then heavily
cleaned up and undeprecated by myself. Fixes bug #144943.
(still uses GtkPreview, but i wanted a sane state in cvs to diff
against before replacing it)
* plug-ins/common/plugin-defs.pl: changed accordingly.
* plug-ins/common/Makefile.am: regenerated.
2004-10-19 Michael Natterer <mitch@gimp.org>
* plug-ins/common/screenshot.c (shoot_dialog): don't forget to set
the mnemonic widgets for the labels. Fixes bug #155811.
* plug-ins/common/psd_save.c: don't try to save psd files that are
larger than 30000 pixels in either direction. Fixed the rle code
to compress more compactly. Fixed a memmory leak in
save_channel_data.
2004-10-14 Kevin Cozens <kcozens@cvs.gimp.org>
* plug-ins/script-fu/scripts/neon.scm: Fixed minor error in script.
(Related to bug #153900 and compatability with Tiny-Fu)
* plug-ins/common/nlfilt.c: Ported to GimpDrawablePreview, the
previous preview was absolutely useless. Done some cleanups, too.
* plug-ins/common/spread.c: remember the preview state between
invocations.
* plug-ins/common/emboss.c: use a GimpDrawablePreview instead of a
GimpAspectPreview, since this plug-in is somewhat edge-oriented and
this makes the code simpler ;)
2004-10-14 Manish Singh <yosh@gimp.org>
* plug-ins/common/bmpread.c: Make sure we have a bpp value we can
handle, and fail gracefully if not. Fixes bug #155401.
2004-10-14 Sven Neumann <sven@gimp.org>
* plug-ins/helpbrowser/dialog.c: changed "Home" button to "Index".
"Home" is misleading and leads to problems in some locales (see
bug #148120).
2004-10-14 Kevin Cozens <kcozens@cvs.gimp.org>
* plug-ins/script-fu/scripts/circuit.scm: Fixed to allow use of
script on original layer. (bug #155358) Fixed spelling error.
2004-10-13 Kevin Cozens <kcozens@cvs.gimp.org>
* plug-ins/script-fu/scripts/add-bevel.scm: two variables were
not defined before first use (bug #153900).
* libgimpwidgets/gimppreview.[ch]: added a new function to set the
default cursor on preview: gimp_preview_set_default_cursor().
* libgimpwidgets/gimpscrolledpreview.c: changed accordlingly.
* plug-ins/common/flarefx.c:
* plug-ins/common/nova.c: use this function.
This addresses bug #90519.
2004-10-13 Michael Natterer <mitch@gimp.org>
* plug-ins/common/flarefx.c: cleaned up and simplified the
FlareCenter code even more.
* plug-ins/common/nova.c: did the same changes for the NovaCenter
stuff.
Also added code which sets an appropriate cursor on "realize" to
fix bug #90519, but GimpPreview currently prevents this from
working correctly...
2004-10-12 Sven Neumann <sven@gimp.org>
* plug-ins/script-fu/scripts/selection-round.scm: moved out of the
"Modify" placeholder. Using placeholders from Script-Fu breaks
i18n. We will need to change menu registration for scripts but
this will have to wait..
2004-10-12 Michael Natterer <mitch@gimp.org>
* plug-ins/*/*.c: all plug-ins except script-fu: removed the
translation marks from the menu paths passed to
gimp_plugin_menu_register(). All default menu branches used by
included plug-ins are created and translated by the core now.
2004-10-12 Sven Neumann <sven@gimp.org>
* app/actions/layers-actions.c (layers_actions_update): set
"layers-crop" insensitive if the selection is empty.
* plug-ins/script-fu/scripts/alien-glow-button.scm
* plug-ins/script-fu/scripts/alien-glow-logo.scm
* plug-ins/script-fu/scripts/basic2-logo.scm
* plug-ins/script-fu/scripts/gradient-bevel-logo.scm: use "Sans
Bold" instead of "Futura_Poster". The underscore in the font name
used to confuse intltool (bug #137029) and the freefont package
isn't that widely used any longer anyway.
2004-10-11 Michael Natterer <mitch@gimp.org>
* plug-ins/common/flarefx.c: use a GimpSizeEntry for specifying
the flare center. Fixed flare center dragging. Lots of cleanup.
2004-10-11 Sven Neumann <sven@gimp.org>
* libgimpthumb/gimpthumb-utils.[ch]
* libgimpthumb/gimpthumb.def: added an API to delete thumbnails.
* app/widgets/gimpthumbbox.c (gimp_thumb_box_create_thumbnail):
when recreating a thumbnail on user request, delete all existing
thumbnails for it.
* plug-ins/common/AlienMap2.c: removed unused variable.
2004-10-09 Kevin Cozens <kcozens@cvs.gimp.org>
* re/Makefile.am: Added more files missing from the distribution.
* re/debug.c
* re/main.c
* re/regcomp.c
* re/regerror.c
* re/regexec.c: Changed <regex.h> to "regex.h" to emphasize local
header is being used rather than standard libc header file.
2004-10-08 Kevin Cozens <kcozens@cvs.gimp.org>
* ftx/Makefile.am
* re/Makefile.am
* scripts/Makefile.am
* scripts/images/Makefile.am
* tiny-fu/Makefile.am
* tinyscheme/Makefile.am: Cleaned up files, added EXTRA_DIST with
list of files to include in a distribution. Fixed typo in filename
in the re/Makefile.am file.
2004-10-08 Sven Neumann <sven@gimp.org>
* plug-ins/common/ripple.c: handle the tile parameter identically
for preview and final result. Set Edges options insensitive when
"Retain tileability" is checked. Reported by Olivier.
2004-10-08 Sven Neumann <sven@gimp.org>
* plug-ins/common/apply_lens.c (lens_dialog): invalidate the
preview when the toggle buttons are used. Reported by Olivier.
* app/widgets/gimpview.c: minor cleanup.
2004-10-07 Michael Natterer <mitch@gimp.org>
Merged the gz and bz2 plug-ins into one generic compression
handler that can be extended by adding entries to a table of
compressor definitions:
* configure.in: removed bz2 special casing for win32.
* plug-ins/common/bz2.c
* plug-ins/common/gz.c: removed.
* plug-ins/common/compressor.c: new plug-in.
* plug-ins/common/plugin-defs.pl: changed accordingly.
* plug-ins/common/.cvsignore
* plug-ins/common/Makefile.am: regenerated.
2004-10-06 Michael Natterer <mitch@gimp.org>
* plug-ins/script-fu/scripts/selection-round.scm: use a
scale_entry instead of a spinbutton, changed mnemonic from "R" to
"E", indentation.
* plug-ins/script-fu/scripts/test-sphere.scm: s/SF_BRUSH/SF-BRUSH/
in a comment.
2004-10-06 Sven Neumann <sven@gimp.org>
* plug-ins/script-fu/scripts/selection-round.scm: applied patch by
Alan Horkan that improves usability and usefulness of this script.
Did some code cleanup and added the old procedure for backward
compatibility. Fixes bug #145147.
* menus/image-menu.xml.in: renamed placeholder in Image->Select
from "Outline" to "Modify".
2004-10-06 Michael Natterer <mitch@gimp.org>
* tools/pdbgen/pdb/brush.pdb: return the mask's bpp and the
brush's pixmap data if it has one.
* tools/pdbgen/pdb/pattern.pdb: cleaned up.
* tools/pdbgen/pdb/image.pdb: added $deprecated = 1 to deprecated
functions even if they are not exported to libgimp any more.
* app/pdb/procedural_db.h (struct ProcRecord): added member
"gboolean deprecated".
* tools/pdbgen/app.pl
* app/xcf/xcf.c: fill it accordingly.
* app/plug-in/plug-in-message.c (plug_in_handle_proc_run): warn
not only for deprecated procedured which are in the compat hach
table, but also for procedures with deprecated flag set to TRUE.
* app/pdb/*_cmds.c
* libgimp/gimpbrush_pdb.[ch]
* libgimp/gimppattern_pdb.[ch]: regenerated.
* libgimp/gimpbrushmenu.c
* plug-ins/gfig/gfig-style.c: changed accordingly.
2004-10-05 Sven Neumann <sven@gimp.org>
* plug-ins/script-fu/scripts/addborder.scm: simple change to make
the script work on all image types, not only RGB.
2004-10-05 Sven Neumann <sven@gimp.org>
* libgimpwidgets/gimpwidgets.c (gimp_table_attach_aligned):
left-justify the label.
* libgimpwidgets/gimpdialog.c: if a button with GTK_RESPONSE_HELP
is being added, hide the automatically added help button.
* plug-ins/script-fu/script-fu-interface.c: five buttons are too
much for the action area. Renamed the About button to Help and
resurrected the help button in the about dialog as a way to get to
the actual help pages (pressing F1 will get you there as well).
2004-10-05 Michael Natterer <mitch@gimp.org>
* plug-ins/script-fu/siod-wrapper.c (marshall_proc_db_call):
- check the number of elements of array parameters against
the actually passed array and spit a proper error message
instead of trashing the wire. Fixes bug #154266.
- g_strdup()/g_free() the proc_name so it doesn't get mungled
by convert_string().
- added missing implementation of INT16ARRAY return values.
- cleaned up STRINGARRAY value implementations to work like
all other array values.
2004-10-04 Sven Neumann <sven@gimp.org>
* plug-ins/script-fu/script-fu-interface.c (script_fu_about):
enabled line wrapping on labels.
(script_fu_interface): substitute underscores by hyphens to
generate the help_id from the procedure name.
2004-10-04 Sven Neumann <sven@gimp.org>
* plug-ins/script-fu/script-fu-interface.c (script_fu_interface):
set a minimum width for the color button again.
(script_fu_about): don't set help_func and help_id on the about
dialog.
2004-10-04 Sven Neumann <sven@gimp.org>
* plug-ins/script-fu/scripts/asc2img.scm: a cleaned up version of
the script contributed by Kevin Cozens (see bug #153900).
* plug-ins/script-fu/scripts/predator.scm: applied patch by Kevin
Cozens that fixes use of the script on original layer (bug #152678).
2004-10-04 Sven Neumann <sven@gimp.org>
* libgimp/gimpgradientmenu.c: handle allocation > requisition for
the gradient preview.
* plug-ins/script-fu/script-fu-interface.c: added a horizontal
size group for the left-aligned controls.