1. 05 Oct, 2005 3 commits
    • Sven Neumann's avatar
      fixed string. · e6405d2a
      Sven Neumann authored
      2005-10-05  Sven Neumann  <sven@gimp.org>
      
      	* app/dialogs/quit-dialog.c: fixed string.
      e6405d2a
    • Sven Neumann's avatar
      libgimp/gimpaspectpreview.c added missing API docs. · d4d69df6
      Sven Neumann authored
      2005-10-05  Sven Neumann  <sven@gimp.org>
      
      	* libgimp/gimpaspectpreview.c
      	* libgimp/gimpzoompreview.c: added missing API docs.
      
      2005-10-05  Sven Neumann  <sven@gimp.org>
      
      	* libgimp/libgimp-docs.sgml
      	* libgimp/libgimp-sections.txt
      	* libgimp/tmpl/gimpgrid.sgml: added new Grid PDB API.
      
      	* libgimp/tmpl/gimpzoompreview.sgml: updated.
      d4d69df6
    • Sven Neumann's avatar
      reverted changes to handling of string arrays to stay backward compatible · ec030082
      Sven Neumann authored
      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).
      ec030082
  2. 04 Oct, 2005 3 commits
    • Michael Natterer's avatar
      set core->jitter here for all brush-based paint tools. · 6cdf44d6
      Michael Natterer authored
      2005-10-04  Michael Natterer  <mitch@gimp.org>
      
      	* app/paint/gimpbrushcore.c (gimp_brush_core_start): set
      	core->jitter here for all brush-based paint tools.
      
      	(gimp_brush_core_interpolate): cleanup.
      
      	* app/paint/gimpbrushcore.h: removed trailing whitespace.
      
      	* app/paint/gimpclone.c (gimp_clone_motion)
      	* app/paint/gimppaintbrush.c (_gimp_paintbrush_motion): removed
      	jitter stuff here.
      6cdf44d6
    • Sven Neumann's avatar
      another optimization by Tobias Lenz. · 4f873415
      Sven Neumann authored
      2005-10-04  Sven Neumann  <sven@gimp.org>
      
      	* app/base/siox.c: another optimization by Tobias Lenz.
      4f873415
    • Sven Neumann's avatar
      small optimization by Tobias Lenz. · ebe1c9f0
      Sven Neumann authored
      2005-10-04  Sven Neumann  <sven@gimp.org>
      
      	* app/base/siox.c: small optimization by Tobias Lenz.
      ebe1c9f0
  3. 03 Oct, 2005 2 commits
    • Michael Natterer's avatar
      fix compile warning by adding default: for unused enum values. · d0800a0c
      Michael Natterer authored
      2005-10-03  Michael Natterer  <mitch@gimp.org>
      
      	* app/tools/gimppainttool.c (gimp_paint_tool_color_picked):
      	fix compile warning by adding default: for unused enum values.
      d0800a0c
    • William Skaggs's avatar
      Bill Skaggs <weskaggs@primate.ucdavis.edu> · d4529424
      William Skaggs authored
      	* gimp/app/paint/gimpbrushcore.c
      	* gimp/app/paint/gimpbrushcore.h
      	* gimp/app/paint/gimpclone.c
      	* gimp/app/paint/gimppaintbrush.c
      	* gimp/app/paint/gimppaintoptions.c
      	* gimp/app/paint/gimppaintoptions.h
      	* gimp/app/tools/gimppaintoptions-gui.c: Apply patch from
      	Adrian Likins to add "jitter" to paint tools (bug #163049),
      	with small fixes for coding style and default jitter set
      	to 0.2 instead of 0.0.
      d4529424
  4. 02 Oct, 2005 4 commits
    • David Odin's avatar
      added a new function: gimp_zoom_preview_get_factor(), which is a proxy to · 66d00503
      David Odin authored
      * 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.
      66d00503
    • Simon Budig's avatar
      Don't leak lots of g_arrays... · 91089055
      Simon Budig authored
      2005-10-02  Simon Budig  <simon@gimp.org>
      
      	* app/vectors/gimpbezierstroke.c: Don't leak lots of g_arrays...
      91089055
    • Simon Budig's avatar
      fixed the bogus snaps. One should not calculate tangents for points beyond · 7b21586f
      Simon Budig authored
      2005-10-02  Simon Budig  <simon@gimp.org>
      
      	* app/vectors/gimpbezierstroke.c: fixed the bogus snaps. One
      	should not calculate tangents for points beyond the end of the
      	array...
      7b21586f
    • Simon Budig's avatar
      a segment doesn't necessarily have a matching tangent. Check for this when · 3b0594c4
      Simon Budig authored
      2005-10-02  Simon Budig  <simon@gimp.org>
      
      	* app/vectors/gimpbezierstroke.c: a segment doesn't necessarily
      	have a matching tangent. Check for this when iterating over all
      	segments of a path...
      
      	* app/vectors/gimpstroke.c: fix the dispatch of
      	_nearest_intersection_get().
      3b0594c4
  5. 01 Oct, 2005 9 commits
    • Simon Budig's avatar
      correctly pass back the nearest coordinate. Snapping sortof works. · e57ad0f8
      Simon Budig authored
      2005-10-02  Simon Budig  <simon@gimp.org>
      
      	* app/vectors/gimpbezierstroke.c: correctly pass back the
      	nearest coordinate. Snapping sortof works.
      e57ad0f8
    • Simon Budig's avatar
      use ABS instead of fabs. · 5a43a464
      Simon Budig authored
      2005-10-02  Simon Budig  <simon@gimp.org>
      
      	* app/core/gimpcoords.c: use ABS instead of fabs.
      
      	* app/core/gimpimage-snap.c: Use proper default values for the
      	coordinates.
      
      	* app/vectors/gimpbezierstroke.c: Fix a bug plus add some debug
      	output. For some reason does not snap yet.
      5a43a464
    • Sven Neumann's avatar
      introduced variants of file_utils_uri_to_utf8_filename() and · ee64ca3c
      Sven Neumann authored
      2005-10-02  Sven Neumann  <sven@gimp.org>
      
      	* app/file/file-utils.[ch]: introduced variants of
      	file_utils_uri_to_utf8_filename() and
      	file_utils_uri_to_utf8_basename() that use g_filename_display_name()
      	and g_filename_display_basename().
      
      	* app/actions/data-commands.c
      	* app/actions/documents-commands.c
      	* app/actions/file-actions.c
      	* app/actions/file-commands.c
      	* app/core/gimpimage.c
      	* app/core/gimpimagefile.c
      	* app/dialogs/file-open-dialog.c
      	* app/dialogs/file-open-location-dialog.c
      	* app/dialogs/file-save-dialog.c
      	* app/dialogs/palette-import-dialog.c
      	* app/display/gimpdisplayshell-close.c
      	* app/display/gimpdisplayshell-dnd.c
      	* app/display/gimpdisplayshell-title.c
      	* app/file/file-open.c
      	* app/widgets/gimpdnd-xds.c
      	* app/widgets/gimpfiledialog.c
      	* app/widgets/gimplayertreeview.c
      	* app/widgets/gimpthumbbox.c
      	* app/widgets/gimptoolbox-dnd.c
      	* app/widgets/gimptoolbox.c
      	* app/widgets/gimpviewabledialog.c: use the new functions.
      
      	* plug-ins/help/domain.c: use g_filename_display_name().
      ee64ca3c
    • Michael Natterer's avatar
      we require 2.8.0 now. · 3c019cac
      Michael Natterer authored
      2005-10-01  Michael Natterer  <mitch@gimp.org>
      
      	* app/sanity.c (sanity_check_glib): we require 2.8.0 now.
      3c019cac
    • David Odin's avatar
      added VOID__DOUBLE_DOUBLE marshaller. · 9af9bae0
      David Odin authored
      * libgimpwidgets/gimpwidgetsmarshal.list: added VOID__DOUBLE_DOUBLE
       marshaller.
      
      * libgimpwidgets/gimpzoommodel.[ch]: new signal: "zoomed", emitted
        when the zoom factor changes.  This signal have the old factor and the
        new factor as argument.
      
      * libgimp/gimpzoompreview.c: use the "zoomed" signal instead of the
        "notify::value" one. This allow to use the old and new factors to keep
        the preview centered on the same point.
      9af9bae0
    • David Odin's avatar
      call gtk_adjustment_value_changed in addition to gtk_adjustment_changed, · 95f8702d
      David Odin authored
      * libgimp/gimpzoompreview.c: call gtk_adjustment_value_changed in
        addition to gtk_adjustment_changed, so the offsets are correctly
        updated.
      95f8702d
    • Manish Singh's avatar
      use canonical name for run-mode. · 678de416
      Manish Singh authored
      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.
      678de416
    • Carol Spears's avatar
      plug-ins/pygimp/plug-ins/clothify.py Added run_mode parameter. · 958d6837
      Carol Spears authored
      * plug-ins/pygimp/plug-ins/clothify.py
      * plug-ins/pygimp/plug-ins/foggify.py: Added run_mode parameter.
      958d6837
    • Simon Budig's avatar
      Added small utility function for the manhattan metric. · 3c2e94a2
      Simon Budig authored
      2005-10-01  Simon Budig  <simon@gimp.org>
      
      	* app/core/gimpcoords.[ch]: Added small utility function for the
      	manhattan metric.
      
      	* app/vectors/gimpstroke.[ch]: virtualized stubs provided by mitch
      
      	* app/vectors/gimpbezierstroke.c: Reworked some internal functions
      	to make it easier to access the parameters for the coordinates of an
      	stroke interpolation. Simplified the straight line test. Added an
      	implementation of the _nearest_tangent_get () function that does
      	not yet seem to work properly. Not sure where the problem is.
      3c2e94a2
  6. 30 Sep, 2005 11 commits
    • Michael Natterer's avatar
      app/actions/image-commands.c app/actions/layers-commands.c · e7e2296f
      Michael Natterer authored
      2005-09-30  Michael Natterer  <mitch@gimp.org>
      
      	* app/actions/image-commands.c
      	* app/actions/layers-commands.c
      	* app/actions/view-actions.c
      	* app/core/gimpdrawable-foreground-extract.c
      	* app/core/gimpimagefile.c
      	* app/core/gimpprogress.c
      	* app/dialogs/convert-dialog.c
      	* app/tools/gimpblendtool.c
      	* app/tools/gimpperspectivetool.c
      	* app/tools/gimprotatetool.c
      	* app/tools/gimpscaletool.c
      	* app/tools/gimpsheartool.c
      	* app/tools/gimptransformtool.c
      	* app/widgets/gimpthumbbox.c
      	* tools/pdbgen/pdb/drawable_transform.pdb
      	* tools/pdbgen/pdb/edit.pdb
      	* tools/pdbgen/pdb/transform_tools.pdb: removed '...' from
      	progress messages. Removed spaces between the text and the '...'
      	in some other places.
      
      	* app/pdb/drawable_transform_cmds.c
      	* app/pdb/edit_cmds.c
      	* app/pdb/transform_tools_cmds.c: regenerated.
      e7e2296f
    • Carol Spears's avatar
      removed code that limited plug-in registration. · 9010e5da
      Carol Spears authored
      * plug-ins/pygimp/gimpfu.py: removed code that limited plug-in registration.
      9010e5da
    • Michael Natterer's avatar
      added stubs of two new snapping functions. · 8db6b9cf
      Michael Natterer authored
      2005-09-30  Michael Natterer  <mitch@gimp.org>
      
      	* app/vectors/gimpstroke.[ch]: added stubs of two new snapping
      	functions.
      
      	* app/core/gimpimage-snap.c: removed their #defines here.
      8db6b9cf
    • Sven Neumann's avatar
      app/core/core-enums.[ch] moved GimpGridStyle enum to libgimpbase. · f6b37095
      Sven Neumann authored
      2005-09-30  Sven Neumann  <sven@gimp.org>
      
      	* app/core/core-enums.[ch]
      	* libgimpbase/gimpbaseenums.[ch]: moved GimpGridStyle enum to
      	libgimpbase.
      
      	* app/core/gimpimage-grid.h: indentation.
      
      	* app/pdb/Makefile.am
      	* libgimp/Makefile.am
      	* tools/pdbgen/Makefile.am
      	* tools/pdbgen/pdb/grid.pdb: applied slightly modified patch by
      	Sylvain FORET that adds a PDB API for the image grid.
      
      	* app/pdb/grid_cmds.c
      	* app/pdb/internal_procs.c
      	* libgimp/gimp_pdb.h
      	* libgimp/gimpenums.c.tail
      	* libgimp/gimpgrid_pdb.[ch]
      	* tools/pdbgen/enums.pl
      	* tools/pdbgen/groups.pl: (re)generated.
      
      	* libgimp/gimp.def
      	* libgimpbase/gimpbase.def: updated.
      f6b37095
    • Sven Neumann's avatar
      handle RGB drawables and implicitely add the alpha channel. · 05c2278f
      Sven Neumann authored
      2005-09-30  Sven Neumann  <sven@gimp.org>
      
      	* plug-ins/common/gbr.c (save_image): handle RGB drawables and
      	implicitely add the alpha channel.
      05c2278f
    • Michael Natterer's avatar
      use GIMP_STOCK_CHAR_PICKER for the keyboard shortcuts dialog. Not quite · 9bab9caf
      Michael Natterer authored
      2005-09-30  Michael Natterer  <mitch@gimp.org>
      
      	* app/actions/dialogs-actions.c (dialogs_toplevel_actions): use
      	GIMP_STOCK_CHAR_PICKER for the keyboard shortcuts dialog. Not
      	quite right but at least greppable when we have a proper icon.
      9bab9caf
    • Michael Natterer's avatar
      removed forgotten foreign registration of · 50eb1684
      Michael Natterer authored
      2005-09-30  Michael Natterer  <mitch@gimp.org>
      
      	* app/dialogs/dialog.c: removed forgotten foreign registration of
      	"gimp-keyboard-shortcuts-dialog".
      50eb1684
    • Michael Natterer's avatar
      removed '...' from progress messages. They are redundant because we are · 3f505032
      Michael Natterer authored
      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...
      3f505032
    • Manish Singh's avatar
      Finish porting to new progress API (and make it build). · 8ef2823a
      Manish Singh authored
      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.
      8ef2823a
    • Sven Neumann's avatar
      app/actions/dialogs-actions.c app/dialogs/dialogs-constructors.[ch] · f3bfb29a
      Sven Neumann authored
      2005-09-30  Sven Neumann  <sven@gimp.org>
      
      	* app/actions/dialogs-actions.c
      	* app/dialogs/dialogs-constructors.[ch]
      	* app/dialogs/dialogs.c
      	* app/dialogs/keyboard-shortcuts-dialog.[ch]: register the keyboard
      	shortcut dialog with the dialog factory as singleton toplevel dialog.
      
      	* app/dialogs/preferences-dialog.c: changed accordingly.
      
      	* menus/image-menu.xml.in: added a "Keyboard Shortcuts" entry to
      	the Edit menu.
      f3bfb29a
    • Sven Neumann's avatar
      app/dialogs/Makefile.am app/dialogs/keyboard-shortcuts-dialog.[ch] · 14d7fb7f
      Sven Neumann authored
      2005-09-30  Sven Neumann  <sven@gimp.org>
      
      	* app/dialogs/Makefile.am
      	* app/dialogs/keyboard-shortcuts-dialog.[ch]
      	* app/dialogs/preferences-dialog.c
      	* app/widgets/gimphelp-ids.h: moved Keyboard Shortcuts dialog into
      	it's own file.
      14d7fb7f
  7. 29 Sep, 2005 8 commits