2005-10-12 Sven Neumann <sven@gimp.org>
* plug-ins/common/displace.c: check that displacement maps have
the same size as the target drawable, return a PDB_CALLING_ERROR
otherwise. Fixes bug #318644.
2005-10-12 Sven Neumann <sven@gimp.org>
* plug-ins/common/plugin-browser.c: store the installation time in
the models, not only the string representation. Sort by time, not
alphabetically. Fixes bug #318652.
2005-10-06 Sven Neumann <sven@gimp.org>
* plug-ins/jpeg/jpeg-save.c: can't use smoothing with nonstandard
sampling ratios. Set the slider sensitivity accordingly (bug #318081).
2005-10-06 Sven Neumann <sven@gimp.org>
* plug-ins/gimpressionist/gimpressionist.[ch]
* plug-ins/gimpressionist/orientation.c
* plug-ins/gimpressionist/orientmap.[ch]
* plug-ins/gimpressionist/placement.c
* plug-ins/gimpressionist/presets.c
* plug-ins/gimpressionist/preview.c
* plug-ins/gimpressionist/repaint.c
* plug-ins/gimpressionist/size.c
* plug-ins/gimpressionist/sizemap.c: various minor improvements
like setting all dialogs transient to the main window.
2005-10-06 Sven Neumann <sven@gimp.org>
* libgimp/gimpprocbrowserdialog.c: capitalization and other string
changes.
* libgimpwidgets/gimpbrowser.c: string unification. Set the
message label italic.
* plug-ins/common/plugin-browser.c: use ngettext() for plural forms.
2005-10-05 Sven Neumann <sven@gimp.org>
* plug-ins/script-fu/siod-wrapper.c: reverted changes to handling
of string arrays to stay backward compatible (see bug #168290 and
bug #317634).
* plug-ins/script-fu/scripts/font-map.scm: reverted change that
was done to adapt to above changes (see bug #308681).
2005-10-04 Sven Neumann <sven@gimp.org>
* plug-ins/benchmark-foreground-extract.py (benchmark): removed
run-mode parameters again. Seems to have been fixed in pygimp.
* libgimp/gimpzoompreview.[ch]: added a new function:
gimp_zoom_preview_get_factor(), which is a proxy to get the zoom
factor of the zoom model used by the zoom preview.
Also renamed the zoom field of the private data of gimpzoompreview to
model, since it is a gimpzoommodel.
* libgimp/gimpui.def: added gimp_zoom_preview_get_factor.
* plug-ins/common/nova.c: use gimp_zoom_preview_get_factor to
correctly handle the position of the nova at various zoom level.
There still are problems if there is a selection before when running
this plugin.
2005-09-30 Manish Singh <yosh@gimp.org>
* plug-ins/pygimp/pygimp-pdb.c (pf_call): use canonical name for
run-mode.
* plug-ins/pygimp/plug-ins/clothify.py
* plug-ins/pygimp/plug-ins/foggify.py: revert the below, since
we eat the run-mode parameter again.
2005-09-30 Michael Natterer <mitch@gimp.org>
* plug-ins/*/*.c: removed '...' from progress messages. They are
redundant because we are already in a progress. Ported some more
g_strdup_printf()/gimp_progress_init() to
gimp_progress_init_printf(). Core will follow...
2005-09-29 Manish Singh <yosh@gimp.org>
* plug-ins/uri/uri-backend-wget.c: Finish porting to new progress
API (and make it build).
* plug-ins/uri/uri-backend-gnomevfs.c: Convert a g_strdup_printf
gimp_progress_set_text pair to gimp_progress_set_text_printf.
2005-09-29 Michael Natterer <mitch@gimp.org>
* tools/pdbgen/pdb/progress.pdb: removed the "wrap" from
gimp_progress_set_text() so it shows up as libgimp function again.
* libgimp/gimpprogress_pdb.[ch]: regenerated.
* libgimp/gimpprogress.[ch]: changed the old
gimp_progress_set_text() to gimp_progress_set_text_printf() and
added gimp_progress_init_printf(). (did this because the method of
calling init(NULL) followed by set_text("foo") caused popup
progress windows to be resized after they were shown).
* libgimp/gimp.def: changed accordingly.
* plug-ins/*/*.c: use gimp_progress_init_printf() instead of
init(NULL) plus set_text(foo) and changed users of set_text() to
use set_text_printf().
2005-09-29 Sven Neumann <sven@gimp.org>
* plug-ins/script-fu/script-fu-console.c
(script_fu_browse_callback): don't set the procedure browser
transient to the script-fu console.
2005-09-28 Michael Natterer <mitch@gimp.org>
* app/widgets/gimpprogressbox.c
* plug-ins/script-fu/script-fu-interface.c: made progress bars HIG
compliant (with italic label below).
* app/widgets/gimpfiledialog.[ch]: use a GimpProgressBox intead of
implementing the progress bar again.
2005-08-28 Kevin Cozens <kcozens@cvs.gnome.org>
* plug-ins/script-fu/scripts/chrome-it.scm: Removed extraneous -
in register block left when script was renamed.
* plug-ins/script-fu/scripts/text-circle.scm: Fixed minor errors
in comments.
2005-09-28 Sven Neumann <sven@gimp.org>
* plug-ins/common/gqbist.c: use a single random number generator
for the lifetime of the plug-in. Fixes bug #317355.
2005-09-27 Sven Neumann <sven@gimp.org>
* libgimpwidgets/gimpintcombobox.c: document how to construct an
empty GimpIntComboBox using g_object_new().
* plug-ins/common/aa.c
* plug-ins/common/channel_mixer.c
* plug-ins/common/compose.c
* plug-ins/common/decompose.c
* plug-ins/common/newsprint.c
* plug-ins/common/spheredesigner.c
* plug-ins/gflare/gflare.c
* plug-ins/pagecurl/pagecurl.c: use g_object_new() to construct an
empty GimpIntComboBox. The old way of doing it caused warnings.
2005-09-27 Sven Neumann <sven@gimp.org>
* libgimp/gimpprocbrowserdialog.[ch]: let
gimp_proc_browser_dialog_new() take standard dialog parameters,
similar to gimp_dialog_new().
* plug-ins/common/procedure-browser.c
* plug-ins/pygimp/procbrowser.c
* plug-ins/script-fu/script-fu-console.c: changed accordingly.
2005-09-27 Sven Neumann <sven@gimp.org>
* plug-ins/script-fu/script-fu-interface.c (script_fu_interface):
use GTK_STOCK_ABOUT for the About button (bug #317339).
2005-09-26 Michael Natterer <mitch@gimp.org>
Allow plug-ins to register menu entries in the <Brushes>,
<Gradients>, <Palettes>, <Patterns> and <Fonts> menus:
* app/actions/actions.c (action_data_get_gimp): return a Gimp
also if "data" is a GimpContainerView or GimpContainerEditor.
* app/gui/gui-vtable.c (gui_menus_add_proc)
* app/plug-in/plug-in-params.c (plug_in_proc_args_check): support
the new plug-in menu locations.
* app/menus/menus.c (menus_init): add the "plug-in" action group
to the resp. UI managers.
* menus/brushes-menu.xml
* menus/buffers-menu.xml
* menus/fonts-menu.xml
* menus/gradients-menu.xml
* menus/palettes-menu.xml
* menus/patterns-menu.xml: added separators at the end of the menus.
* plug-ins/script-fu/scripts/font-map.scm: -> <Fonts>
* plug-ins/script-fu/scripts/gradient-example.scm: -> <Gradients>
* plug-ins/script-fu/scripts/mkbrush.scm: -> <Brushes>
* plug-ins/script-fu/script-fu.c (script_fu_extension_init): don't
register the "Make Brush" menu branch.
2005-09-26 Michael Natterer <mitch@gimp.org>
* app/plug-in/plug-in-params.c (plug_in_proc_args_check): drop the
restriction that plug-ins registered in <Image> must have
RUN-MODE, IMAGE, DRAWABLE parameters because everything but
RUN-MODE is actually treated as optional be the rest of the code.
* plug-ins/script-fu/scripts/paste-as-brush.scm
* plug-ins/script-fu/scripts/paste-as-pattern.scm: removed IMAGE
and DRAWABLE parameters.
* plug-ins/common/screenshot.c
* plug-ins/twain/twain.c
* plug-ins/winsnap/winsnap.c: register menu entries in
<Image>/File/Acquire
2005-09-26 Michael Natterer <mitch@gimp.org>
* menus/image-menu.xml.in: added Colors/Modify placeholder.
* plug-ins/common/vinvert.c: moved to Colors/Modify/Invert.
2005-09-26 Michael Natterer <mitch@gimp.org>
* plug-ins/script-fu/scripts/carve-it.scm
* plug-ins/script-fu/scripts/chrome-it.scm: renamed to "Stencil Carve"
and "Stencil Chrome" and moved to Filters/Decor.
* plug-ins/script-fu/script-fu.c: don't register menu branches
"Filters/Selection" and "Filters/Decor/Stencil Ops".
2005-09-25 Carol Spears <carol@gimp.org>
* plug-ins/common/max_rgb.c moved menu entry from Colors to Colors/Modify.
* plug-ins/common/borderaverage.c moved menu entry from Colors to Colors/Info and added some vital information to the registration information.
* plug-ins/common/channel_mixer.c moved menu entry from Colors to Colors/Modify.
* plug-ins/common/colorify.c moved menu entry from Colors to Colors/Modify.
* plug-ins/common/fp.c moved menu entry from Colors to Colors/Modify.
* plug-ins/common/retinex.c moved menu entry from Colors to Colors/Modify.
2005-09-26 Michael Natterer <mitch@gimp.org>
* plug-ins/script-fu/scripts/fade-outline.scm: renamed to
"Fade to Layer Mask..." and moved to the Select menu.
2005-09-25 Carol Spears <carol@gimp.org>
* plug-ins/common/max_rgb.c moved menu entry from Colors to Colors/Info.
* plug-ins/common/smooth_palette.c moved menu entry from Colors to Colors/Info.
* plug-ins/common/semiflatten.c removed menu entry from Colors and added it to Filters/Web
* plug-ins/pygimp/plug-ins/py-slice.py added the patch from Joao S. O. Bueno Calligaris that was attached to http://bugzilla.gnome.org/show_bug.cgi?id=159564
2005-09-25 Michael Natterer <mitch@gimp.org>
* app/actions/edit-actions.c
* menus/image-menu.xml.in: added "Edit/Paste as" submenu and moved
"Paste as new" there (renamed to "New Image").
* plug-ins/script-fu/scripts/Makefile.am
* plug-ins/script-fu/scripts/paste-as-brush.scm
* plug-ins/script-fu/scripts/paste-as-pattern.scm: new scripts
roughly derived from select-to-brush and select-to-pattern.
* plug-ins/script-fu/scripts/select-to-brush.scm
* plug-ins/script-fu/scripts/select-to-image.scm
* plug-ins/script-fu/scripts/select-to-pattern.scm: don't register
menu entries.
2005-09-25 Sven Neumann <sven@gimp.org>
* libgimpwidgets/gimpwidgetsenums.[ch]: removed GimpZoomWidgetType.
* libgimpwidgets/gimpzoommodel.[ch]: removed gimp_zoom_widget_new()
in favor of gimp_zoom_button_new().
* libgimp/gimpzoompreview.c: changed accordingly.
* libgimpwidgets/gimpwidgets.def: updated.
* plug-ins/MapObject/mapobject_main.[ch]
* plug-ins/MapObject/mapobject_preview.c
* plug-ins/MapObject/mapobject_ui.c: use a GimpZoomModel and let
it create the zoom buttons.
* plug-ins/MapObject/mapobject_apply.c
* plug-ins/MapObject/mapobject_image.c
* plug-ins/MapObject/mapobject_shade.c: include "gimp/gimpui.h".
2005-09-25 Michael Natterer <mitch@gimp.org>
* plug-ins/help/Makefile.am (gimp_help_lookup_LDADD): link
against libgimpbase now that we use gimp_data_directory().
2005-09-24 Hans Breuer <hans@breuer.org>
* **makefile.msc : updated
* app/dialogs/user-install-dialog.c : only add the migrate page if
there is something to migrate from. Avoids on version being NULL.
* app/dialogs/file-save-dialog.c : the g_print() output was crashing
on the assumption that ->menu_label != NULL. It is for colorhtml.py.
* app/widgets/gimpselectiondata.c : use HAVE_UNISTD_H and move
* process.h definition by G_OS_WIN32 below it being defined
* app/widgets/gimpwidgets-utils.c(gimp_window_get_native) : cast
return value to (GdkNativeWindow) it is not necessary an int.
* libgimpwidgets/gimpwidgets.def : added gimp_zoom_type_get_type
* plug-ins/help/gimp-help-lookup.c : dynamic lookup of help_root
instead of hard-coding DATADIR/GIMP_HELP_PREFIX
* plug-ins/xjt/xjt.c : there is no pid_t with msvc, typedef one.
2005-09-25 Michael Natterer <mitch@gimp.org>
* app/actions/plug-in-actions.c
* menus/image-menu.xml.in: get rid of Filters/Effects because it
doesn't mean anything. Added Filters/Generic and Filters/Combine
back instead. Not perfect either but more meaningful.
* plug-ins/common/depthmerge.c
* plug-ins/common/film.c: -> Filters/Combine
* plug-ins/common/convmatrix.c
* plug-ins/common/vpropagate.c: -> Filters/Generic
* plug-ins/script-fu/scripts/erase-rows.scm: -> Filters/Distorts
* plug-ins/script-fu/scripts/predator.scm: -> Filters/Artistic
2005-09-25 Michael Natterer <mitch@gimp.org>
* plug-ins/common/psd.c: massively indented and de-uglyfied,
(not many lines unmodified). Still not the incarnation of
beautiful code, but more readable for an eye used to Gimp code.
No logic changes, just formatting.
2005-09-25 Michael Natterer <mitch@gimp.org>
* plug-ins/common/compose.c (run): set "is_ID" to TRUE, not FALSE
when decoding the "compose-data" parasite. Fixes Recompose.
Return error, not success if recomposing fails. Misc cleanups.
2005-09-24 Michael Natterer <mitch@gimp.org>
* plug-ins/common/compose.c: fixed some brokenness caused by my
last "cleanup". Should work as before now.
* plug-ins/common/decompose.c: cleaned up GUI and code.
2005-09-23 Michael Natterer <mitch@gimp.org>
* menus/image-menu.xml.in: reordered submenus and placeholders
so stuff not grouped that randomly any longer.
* plug-ins/script-fu/scripts/hsv-graph.scm: move it to the "Info"
placeholder so it is next to histogram and ccanalyze.
2005-09-22 Sven Neumann <sven@gimp.org>
* INSTALL
* configure.in: added a check for libgnomeprintui.
* plug-ins/common/gnomeprint.c: added a simple Print plug-in that
uses libgnomeprint and libgnomeprintui. Needs more work.
* plug-ins/common/plugin-defs.pl: added the new plug-in.
* plug-ins/common/Makefile.am: regenerated.
2005-09-21 Jay Cox <jaycox@gimp.org>
* plug-ins/common/psd.c: Load the resolution properly when it is
specified in px/cm.
* plug-ins/common/psd_save.c: Save the resolution of the image in
the file. Fixes bug #310426
2005-09-21 Sven Neumann <sven@gimp.org>
* plug-ins/common/spheredesigner.c: update the preview from an
idle handler. Removed obsolete "Update Preview" button.
2005-09-21 Sven Neumann <sven@gimp.org>
* plug-ins/common/spheredesigner.c: more compact dialog layout,
renamed "Textures" to "Layers" and make sure that one is always
selected.
2005-09-21 Sven Neumann <sven@gimp.org>
* plug-ins/common/cubism.c: initialize variables.
* plug-ins/common/depthmerge.c: declare all functions as static.
* libgimp/gimpzoompreview.[ch]: make use of private data instead of struct
members. Added a gimp_zoom_preview_get_drawable so we can still get the
drawable from a preview in plug-ins.
Also changed gimp_zoom_preview_get_data to gimp_zoom_preview_get_source,
to make it more obvious what it returns.
* libgimp/gimpui.def
* plug-ins/common/AlienMap2.c
* plug-ins/common/apply_lens.c
* plug-ins/common/blinds.c
* plug-ins/common/channel_mixer.c
* plug-ins/common/colorify.c
* plug-ins/common/flarefx.c
* plug-ins/common/illusion.c
* plug-ins/common/jigsaw.c
* plug-ins/common/mapcolor.c
* plug-ins/common/max_rgb.c
* plug-ins/common/nova.c
* plug-ins/common/polar.c
* plug-ins/common/retinex.c
* plug-ins/common/waves.c
* plug-ins/common/whirlpinch.c: changed accordingly.
2005-09-20 Kevin Cozens <kcozens@cvs.gnome.org>
* scripts/*.sct: Don't mark menu branches for translation; the
translatable branch name is registered by the Tiny-Fu extension.
Based on a change made to Script-Fu by Sven Neumann.
2005-09-20 Michael Natterer <mitch@gimp.org>
* plug-ins/common/compose.c: applied patch from Sylvain Foret
which allows to use fixed greyscale values instead of drawables
for color components. Fixes bug #309112.
* libgimpwidgets/gimpzoommodel.[ch]: New object to handle zoom
factor, and create widgets to control or view this value.
* libgimpwidgets/Makefile.am
* libgimpwidgets/gimpwidgets.h: Added gimpzoommodel.[ch].
* libgimpwidgets/gimpwidgetsenums.h: new enum: GimpZoomWidgetType.
This enumerate which knid of widget you can created from the zoom
model.
* libgimpwidgets/gimpwidgetsenums.c
* libgimpwidgets/gimpwidgetstypes.h: regenerated.
* libgimpwidgets/gimppreview.c: move the update toggle to the bottom
of the vbox.
* libgimp/Makefile.am
* libgimp/gimpui.h
* libgimp/gimpuitypes.h
* libgimp/gimpzoompreview.[ch]: New widget, derivated from
GimpScrolledPreview, which offer the same functionnalities as the
GimpAspectPreview widget plus zoom facilities.
* plug-ins/common/AlienMap2.c
* plug-ins/common/apply_lens.c
* plug-ins/common/blinds.c
* plug-ins/common/channel_mixer.c
* plug-ins/common/colorify.c
* plug-ins/common/flarefx.c
* plug-ins/common/illusion.c
* plug-ins/common/jigsaw.c
* plug-ins/common/mapcolor.c
* plug-ins/common/max_rgb.c
* plug-ins/common/nova.c
* plug-ins/common/polar.c
* plug-ins/common/retinex.c
* plug-ins/common/waves.c
* plug-ins/common/whirlpinch.c: use a GimpZoomPreview instead of a
GimpAspectPreview.
2005-09-19 Sven Neumann <sven@gimp.org>
* autogen.sh
* configure.in
* app/main.c
* app/widgets/gimptoolbox.c
* plug-ins/script-fu/scripts/web-browser.scm: changed "The GIMP"
to "GNU Image Manipulation Program" or just "GIMP".
2005-09-11 Michael Natterer <mitch@gimp.org>
* plug-ins/script-fu/script-fu-interface.c (script_fu_response):
bail out if the action_area is insensitive. Ignores attempts to
close the window while the script is running. Fixes bug #308662.
2005-09-09 Michael Natterer <mitch@gimp.org>
Added parent window API to the GimpProgress interface and to
the libgimp progress stuff. Might look strange, but does
the right thing in almost all cases (image window, file dialog,
script-fu dialog etc). Fixes bug #62988.
* app/core/gimpprogress.[ch]: added GimpProgress::get_window()
which should return a toplevel window ID if the progress is in a
window that wants to be the transient parent of plug-in dialogs.
* app/widgets/gimpwidgets-utils.[ch] (gimp_window_get_native): new
function which returns the window handle of a GtkWindow's GdkWindow.
* app/widgets/gimpfiledialog.c: implement ::get_window().
* app/display/gimpdisplay.[ch]: ditto. Removed window handle API.
* app/gui/gui-vtable.c: changed accordingly.
* libgimpbase/gimpbaseenums.[ch] (enum GimpProgressCommand):
added GIMP_PROGRESS_COMMAND_GET_WINDOW.
* app/plug-in/plug-in-progress.[ch] (plug_in_progress_get_window):
new function. Also renamed some functions to match the
GimpProgress interface, and not the legacy PDB procedure names.
* tools/pdbgen/pdb/progress.pdb
* app/core/gimppdbprogress.c: implement get_window() on both
sides of the wire, keeping backward compatibility (hopefully).
* libgimp/gimpprogress.[ch]: deprecated gimp_progress_install()
and added gimp_progress_install_vtable() which takes a vtable with
padding to be extensible. Added get_window() vtable entry and
dispatch it accordingly. Also added pulse() which was implemented
in a hackish way before. Everything is of course backward
compatible.
* libgimp/gimpprogressbar.c: inmplement the get_window() stuff
so a plug-in dialog containing a progress can be the transient
parent of another dialog in another plug-in.
* libgimp/gimpui.[ch] (gimp_ui_get_progress_window): new function
which returns a foreign GdkWindow of this plug-ins progress
window.
Renamed gimp_window_set_transient_for_default_display() to
gimp_window_set_transient() and make it use the progress' window
handle instead of the display's (which is the right thing to do in
almost all cases).
* libgimp/gimp.def
* libgimp/gimpui.def: add the new functions.
* tools/pdbgen/enums.pl
* app/pdb/internal_procs.c
* app/pdb/progress_cmds.c
* libgimp/gimpprogress_pdb.[ch]: regenerated.
* libgimp/gimpexport.c
* plug-ins/*/*.c: follow API change.
2005-09-05 Sven Neumann <sven@gimp.org>
* plug-ins: Call gimp_window_set_transient_for_default_display()
for most plug-in dialogs. Not yet done are load and save dialogs
and dialogs created from language bindings.
2005-09-05 Sven Neumann <sven@gimp.org>
Address bug #307971:
* app/core/gimp-gui.[ch]
* app/display/gimpdisplay.[ch]
* app/gui/gui-vtable.c
* tools/pdbgen/pdb/display.pdb: added PDB function to obtain a
window handle on an image display.
* app/pdb/display_cmds.c
* app/pdb/internal_procs.c
* libgimp/gimpdisplay_pdb.[ch]: regenerated.
* libgimp/gimpui.[ch]: added functions to set a GtkWindow transient
to an image display.
* plug-ins/common/gauss.c: use the new function exemplarily.
* libgimp/gimp.def
* libgimp/gimpui.def: updated.
2005-09-02 Sven Neumann <sven@gimp.org>
* plug-ins/jpeg/jpeg-load.c (load_image)
* plug-ins/jpeg/jpeg-save.c (save_image): removed tile cache again,
it doesn't help for the way the plug-in accesses the pixels.
2005-08-29 Michael Natterer <mitch@gimp.org>
* plug-ins/common/gif.c: added toggles which allow to always use
the frame delay and disposal entered in the dialog, overriding the
ones specified in the layer names. Fixes bug #314726. Also fixed
missing and non-working mnemonics.
2005-08-29 Sven Neumann <sven@gimp.org>
* plug-ins/common/poppler.c: retitled dialog to "Import from PDF"
and changed the confirmative button label to "Import".
2005-08-27 Michael Schumacher <schumaml@cvs.gnome.org>
* plug-ins/common/gradmap.c: applied a patch by David Gowers,
which makes palette-map behave the same as gradient-map. Fixes bug
313458.
2005-08-26 Sven Neumann <sven@gimp.org>
* plug-ins/common/svg.c: deal with SVG API change. This is a
compile-time check and thus somewhat ugly because it requires a
recompile of the plug-in when updating librsvg. Fixes bug #314400.
2005-08-25 Michael Natterer <mitch@gimp.org>
* configure.in: define FOO_DISABLE_DEPRECATED for the new stable
versions of GTK+ and Pango.
Check for poppler >= 0.4.1, they did another API change.
* plug-ins/common/poppler.c: and some more #ifdefs to
poppler_page_render_to_pixbuf().
2005-08-24 Sven Neumann <sven@gimp.org>
* plug-ins/script-fu/scripts/i26-gunya2.scm
* plug-ins/script-fu/scripts/ripply-anim.scm: reverted the last
change...
* plug-ins/common/displace.c: ... and fixed the plug-in instead.
The number of parameters must not change. Provide a new procedure
for polar mode instead.