1. 03 Feb, 2007 2 commits
    • Michael Natterer's avatar
      Remove support for the old undo pop and free cruft: · bdc91d6c
      Michael Natterer authored
      2007-02-03  Michael Natterer  <mitch@gimp.org>
      
      	Remove support for the old undo pop and free cruft:
      
      	* app/core/core-types.h: remove typedefs GimpUndoPopFunc and
      	GimpUndoFreeFunc.
      
      	* app/core/gimpundo.[ch]: remove members and properties size,
      	data, pop_func and free_func.
      
      	* app/core/gimpimage-undo.[ch] (gimp_image_undo_push): remove
      	parameters size, struct_size, pop_func and free_func.
      
      	* app/core/gimpimage-undo-push.c
      	* app/tools/gimptransformtool.c
      	* app/paint/gimpink.c
      	* app/paint/gimppaintcore.c: change calls to above function
      	accordingly.
      
      
      svn path=/trunk/; revision=21845
      bdc91d6c
    • Michael Natterer's avatar
      app/tools/gimpforegroundselecttool-undo.[ch] removed... · 426020da
      Michael Natterer authored
      2007-02-03  Michael Natterer  <mitch@gimp.org>
      
      	* app/tools/gimpforegroundselecttool-undo.[ch]
      	* app/tools/gimptransformtool-undo.[ch]: removed...
      
      	* app/tools/Makefile.am
      	* app/tools/tools-types.h
      	* app/tools/gimpforegroundselecttoolundo.[ch]
      	* app/tools/gimptransformtoolundo.[ch]: ...and added a proper undo
      	classes.
      
      	* app/tools/gimptransformtool.c: push undos using the new class.
      
      
      svn path=/trunk/; revision=21843
      426020da
  2. 02 Feb, 2007 1 commit
    • Sven Neumann's avatar
      app/actions/error-console-commands.c app/actions/gradients-commands.c · aae05d4e
      Sven Neumann authored
      2007-02-02  Sven Neumann  <sven@gimp.org>
      
      	* app/actions/error-console-commands.c
      	* app/actions/gradients-commands.c
      	* app/actions/text-editor-commands.c
      	* app/dialogs/vectors-export-dialog.c
      	* app/dialogs/vectors-import-dialog.c
      	* app/tools/gimpimagemaptool.c 
      (gimp_image_map_tool_settings_dialog):
      	set default response and do-overwrite-confirmation on the file
      	chooser dialogs. Fixes bug #403449 for all core dialogs.
      
      
      svn path=/trunk/; revision=21832
      aae05d4e
  3. 30 Jan, 2007 1 commit
    • Michael Natterer's avatar
      app/core/Makefile.am new files implementing new(), ref() and unref() and · 11b1d24a
      Michael Natterer authored
      2007-01-30  Michael Natterer  <mitch@gimp.org>
      
      	* app/core/Makefile.am
      	* app/core/gimpsamplepoint.[ch]: new files implementing new(),
      	ref() and unref() and the new GIMP_TYPE_SAMPLE_TYPE boxed type.
      
      	* app/core/gimpimage-sample-points.[ch]: removed ref() and unref()
      	functions here.
      
      	* app/core/gimpimage.c
      	* app/core/gimpimage-crop.c
      	* app/core/gimpimage-duplicate.c
      	* app/core/gimpimage-flip.c
      	* app/core/gimpimage-resize.c
      	* app/core/gimpimage-rotate.c
      	* app/core/gimpimage-scale.c
      	* app/core/gimpimage-undo-push.c
      	* app/display/gimpdisplayshell.c
      	* app/display/gimpdisplayshell-draw.c
      	* app/tools/gimpcolortool.c
      	* app/widgets/gimpsamplepointeditor.c
      	* app/xcf/xcf-save.c: changed accordingly.
      
      	* app/core/gimpimage-rotate.c (gimp_image_rotate_sample_points):
      	added missing call to gimp_image_undo_push_sample_point().
      
      
      svn path=/trunk/; revision=21812
      11b1d24a
  4. 29 Jan, 2007 1 commit
    • Michael Natterer's avatar
      app/core/core-enums.[ch] drop the "image" from GIMP_UNDO_IMAGE_GUIDE, · dcee3d60
      Michael Natterer authored
      2007-01-30  Michael Natterer  <mitch@gimp.org>
      
      	* app/core/core-enums.[ch]
      	* app/core/gimpimage-undo-push.[ch]: drop the "image" from
      	GIMP_UNDO_IMAGE_GUIDE, GIMP_UNDO_IMAGE_SAMPLE_POINT,
      	gimp_imge_undo_push_image_guide() and
      	gimp_imge_undo_push_image_sample_point()
      
      	* app/core/gimpimage-undo.c
      	* app/core/gimpimage-guides.c
      	* app/core/gimpimage-scale.c
      	* app/core/gimpimage-sample-points.c
      	* app/core/gimpimage-rotate.c
      	* app/tools/gimpmeasuretool.c: changed accordingly.
      
      
      svn path=/trunk/; revision=21804
      dcee3d60
  5. 28 Jan, 2007 1 commit
    • Sven Neumann's avatar
      fixed spelling of "auto-generated". · 50bbab0e
      Sven Neumann authored
      2007-01-28  Sven Neumann  <sven@gimp.org>
      
      	* app/dialogs/authors.xsl: fixed spelling of "auto-generated".
      
      	* app/tools/gimprectangletool.c: removed unused declaration.
      
      
      svn path=/trunk/; revision=21788
      50bbab0e
  6. 26 Jan, 2007 1 commit
  7. 24 Jan, 2007 4 commits
  8. 21 Jan, 2007 2 commits
    • Michael Natterer's avatar
      maintain an is_drawn boolean which indicates whether the drawn stuff is · 8398ed87
      Michael Natterer authored
      2007-01-21  Michael Natterer  <mitch@gimp.org>
      
      	* app/tools/gimpdrawtool.[ch]: maintain an is_drawn boolean which
      	indicates whether the drawn stuff is currently visible. Added
      	gimp_draw_tool_is_drawn() to obtain it.
      
      	* app/tools/gimpbrushtool.c (gimp_brush_tool_draw): don't create
      	the brush outline segments for the purpose of undrawing (if we
      	don't have the segments, we can hardly have drawn them before).
      	Fixes artifacts when the brush is being scaled or changed.
      
      	* app/core/gimpbrush.c: don't call brush_scale_mask() and
      	brush_scale_pixmap() with zero width or height. Fixes warnings
      	from these functions.
      
      
      svn path=/trunk/; revision=21749
      8398ed87
    • Raphael Quinet's avatar
      app/display/gimpstatusbar.[ch] add optional help text at the end of the · 65950be1
      Raphael Quinet authored
      2007-01-21  Raphael Quinet  <raphael@gimp.org>
      
      	* app/display/gimpstatusbar.[ch]
      	* app/tools/gimptool.[ch]: add optional help text at the end of
      	the messages generated by gimp_statusbar_push_coords() and
      	gimp_statusbar_push_length().
      
      	* app/tools/gimpcolortool.c
      	* app/tools/gimpeditselectiontool.c 
      	* app/tools/gimpmovetool.c
      	* app/tools/gimprectangletool.c: use the updated functions.
      
      	* app/tools/gimpblendtool.c
      	* app/tools/gimpcolorpickertool.c: added status bar messages.
      
      svn path=/trunk/; revision=21745
      65950be1
  9. 20 Jan, 2007 1 commit
    • Raphael Quinet's avatar
      pop the status bar message when the tool is halted. This fixes a bug that · 4292db18
      Raphael Quinet authored
      2007-01-20  Raphael Quinet  <raphael@gimp.org>
      
      	* app/tools/gimppainttool.c (gimp_paint_tool_control): pop the
      	status bar message when the tool is halted.  This fixes a bug that
      	was leaving messages in the status bar if the mouse pointer was in
      	the image and the user switched to another tool with the keyboard.
      
      svn path=/trunk/; revision=21744
      4292db18
  10. 19 Jan, 2007 1 commit
    • Raphael Quinet's avatar
      app/tools/gimpiscissorstool.h Added some status bar messages. Use · ed5a5685
      Raphael Quinet authored
      2007-01-19  Raphael Quinet  <raphael@gimp.org>
      
      	* app/tools/gimpiscissorstool.h
      	* app/tools/gimpiscissorstool.c: Added some status bar messages.
      	Use ISCISSORS_OP_CONNECT to let the user know when the cursor is
      	above the first point and the user can connect and close the
      	curve.  Allow the user to press Enter or Escape to confirm the
      	selection or cancel the tool.  Fixes bug #398309.
      
      svn path=/trunk/; revision=21734
      ed5a5685
  11. 30 Dec, 2006 2 commits
  12. 29 Dec, 2006 2 commits
  13. 26 Dec, 2006 1 commit
  14. 24 Dec, 2006 1 commit
    • Mukund Sivaraman's avatar
      app/core/Makefile.am app/core/gimp-transform-resize.c · f0cff0ff
      Mukund Sivaraman authored
      2006-12-24  Mukund Sivaraman  <muks@mukund.org>
      
              * app/core/Makefile.am
              * app/core/gimp-transform-resize.c
              * app/core/gimpchannel.c
              * app/core/gimpdrawable-transform.c
              * app/core/gimpdrawable-transform.h
              * app/core/gimpdrawable.c
              * app/core/gimpimage-item-list.c
              * app/core/gimpimage-item-list.h
              * app/core/gimpitem-linked.c
              * app/core/gimpitem-linked.h
              * app/core/gimpitem.c
              * app/core/gimpitem.h
              * app/core/gimplayer.c
              * app/pdb/drawable_transform_cmds.c
              * app/text/gimptextlayer-transform.c
              * app/text/gimptextlayer-transform.h
              * app/tools/gimptransformoptions.c
              * app/tools/gimptransformtool.c
              * app/vectors/gimpvectors.c
              * libgimp/gimpdrawabletransform_pdb.c
              * libgimp/gimpdrawabletransform_pdb.h
              * libgimp/gimpenums.c.tail
              * libgimpbase/gimpbase.def
              * libgimpbase/gimpbaseenums.c
              * libgimpbase/gimpbaseenums.h
              * tools/pdbgen/enums.pl
              * tools/pdbgen/pdb/drawable_transform.pdb: implemented UI and PDB
              for new clipping modes for affine transforms (crop to largest
              rectangle, and crop to largest rectangle with the source's aspect
              ratio); fixed various bugs in the largest rectangle computation
              code; set padding to 6 in the transformation tool options.
      f0cff0ff
  15. 22 Dec, 2006 1 commit
    • Sven Neumann's avatar
      app/core/gimp-documents.c app/core/gimp-parasites.c · 541c8af0
      Sven Neumann authored
      2006-12-22  Sven Neumann  <sven@gimp.org>
      
      	* app/core/gimp-documents.c
      	* app/core/gimp-parasites.c
      	* app/core/gimp-templates.c
      	* app/core/gimp-units.c
      	* app/widgets/gimpcontrollers.c: changed the header that is
      	written to config files that are rewritten on exit.
      
      	* app/tools/gimpiscissorstool.c: comment.
      541c8af0
  16. 13 Dec, 2006 2 commits
  17. 11 Dec, 2006 2 commits
    • Sven Neumann's avatar
      added API to delete saved tool-options. · 4fb72eb8
      Sven Neumann authored
      2006-12-11  Sven Neumann  <sven@gimp.org>
      
      	* app/core/gimptooloptions.[ch]: added API to delete saved
      	tool-options.
      
      	* app/tools/gimp-tools.c: don't deal with saving presets, just
      	load them on startup. Create the tool-options directory when
      	saving tool-options.
      
      	* app/core/gimptoolpresets.[ch]: added new signal that is
      emitted
      	whenever the presets changes. Create the tool-options directory
      	when saving a preset.
      
      	* app/widgets/gimptooloptionseditor.[ch]: listen to the
      "changed"
      	signal of GimpToolPresets and queue an idle save.
      4fb72eb8
    • Sven Neumann's avatar
      app/actions/tool-options-commands.c app/core/gimptoolpresets.[ch] code · 6dc91417
      Sven Neumann authored
      2006-12-11  Sven Neumann  <sven@gimp.org>
      
      	* app/actions/tool-options-commands.c
      	* app/core/gimptoolpresets.[ch]
      	* app/tools/gimp-tools.c: code cleanup.
      6dc91417
  18. 10 Dec, 2006 1 commit
    • Sven Neumann's avatar
      app/core/Makefile.am app/core/core-types.h added GimpToolPresets, derived · df8bf728
      Sven Neumann authored
      2006-12-10  Sven Neumann  <sven@gimp.org>
      
      	* app/core/Makefile.am
      	* app/core/core-types.h
      	* app/core/gimptoolpresets.[ch]: added GimpToolPresets, derived
      	from GimpList.
      
      	* app/core/gimptoolinfo.[ch]: use the new type, renamed
      	member "options_presets" to "presets".
      
      	* app/actions/tool-options-actions.c
      	* app/actions/tool-options-commands.c
      	* app/core/gimptooloptions.[ch]
      	* app/menus/tool-options-menu.c
      	* app/widgets/gimptooloptionseditor.c: changed accordingly.
      
      	* app/tools/gimp-tools.c: let the GimpToolPresets object deal
      with
      	loading and saving the presets from ${gimpdir}/tool-options.
      
      	* app/core/gimpcontainer-filter.c
      	* app/core/gimpdocumentlist.c
      	* app/core/gimplist.c
      	* app/text/gimpfontlist.c: use canonical property names.
      df8bf728
  19. 09 Dec, 2006 1 commit
  20. 07 Dec, 2006 1 commit
  21. 06 Dec, 2006 1 commit
  22. 04 Dec, 2006 1 commit
    • Sven Neumann's avatar
      removed unused defines. · 0f679d7b
      Sven Neumann authored
      2006-12-04  Sven Neumann  <sven@gimp.org>
      
              * app/tools/gimpperspectiveclonetool.h: removed unused defines.
      0f679d7b
  23. 03 Dec, 2006 1 commit
  24. 24 Nov, 2006 1 commit
    • Simon Budig's avatar
      Fixing include/declaration issues in the application: · 0308d410
      Simon Budig authored
      2006-11-23  Simon Budig  <simon@gimp.org>
      
      	Fixing include/declaration issues in the application:
      
      	* app/composite/gimp-composite-sse2.c: disable unused debugging code
      
      	* app/paint-funcs/paint-funcs.[ch]
      	* app/paint-funcs/scale-funcs.[ch]: fix include files, add some
      	prototypes, make some other functions static.
      
      	* app/core/gimpbuffer.c
      	* app/core/gimpdrawable-preview.c: changed accordingly.
      
      	* app/tools/gimpeditselectiontool.[ch]: untangle .c and .h file.
      
      	* app/widgets/gimpfiledialog.c: add missing #include.
      0308d410
  25. 22 Nov, 2006 2 commits
    • Simon Budig's avatar
      Enable scrolling while dragging the nodes of a path. Fix warning when · d27db948
      Simon Budig authored
      2006-11-22  Simon Budig  <simon@gimp.org>
      
      	* app/tools/gimpvectortool.c: Enable scrolling while dragging
      	the nodes of a path. Fix warning when deleting the last node
      	of a stroke.
      d27db948
    • Michael Natterer's avatar
      add support for G_TYPE_INT properties. · a10d6099
      Michael Natterer authored
      2006-11-22  Michael Natterer  <mitch@gimp.org>
      
      	* app/actions/actions.c (action_select_property): add support for
      	G_TYPE_INT properties.
      
      	* app/actions/tools-actions.c
      	* app/actions/tools-commands.[ch]: add actions and callback which
      	affect the foreground select tool's stroke-width property.
      
      	* app/tools/gimpforegroundselecttool.c: map tool-action-value-2
      	(tool tip size) to the new action.
      
      	* app/tools/gimppaintoptions-gui.c: fixed visibility of the brush
      	scale slider.
      a10d6099
  26. 17 Nov, 2006 1 commit
    • Michael Natterer's avatar
      app/actions/tools-actions.c added actions and callbacks for the new paint · c8cb6bfc
      Michael Natterer authored
      2006-11-17  Michael Natterer  <mitch@gimp.org>
      
      	* app/actions/tools-actions.c
      	* app/actions/tools-commands.[ch]: added actions and callbacks for
      	the new paint options brush scale property. Assigned new
      	shortcuts: '<' and '>' are now changing tool-value-1 and '[' and
      	']' are changing tool-value-2
      
      	* app/actions/context-actions.c: removed the shortcuts from the
      	brush size actions.
      
      	* app/tools/gimpbrushtool.c
      	* app/tools/gimpcolortool.c: set tool-value-2 to brush-scale and
      	to color-average-radius, so '[' and ']' always affect the size of
      	the tip of the active tool. tool-value-1 is connected to
      	context-opacity so that is changeable using '<' and '>' now.
      c8cb6bfc
  27. 16 Nov, 2006 1 commit
    • Michael Natterer's avatar
      Made all brushes scalable from the tool options. So far only downscaling · 6eb70895
      Michael Natterer authored
      2006-11-16  Michael Natterer  <mitch@gimp.org>
      
      	Made all brushes scalable from the tool options. So far only
      	downscaling is supported since we lack an algorithm for bitmap
      	brush upscaling. Addresses bug #65030.
      
      	* app/paint/gimppaintoptions.[ch]: added "brush-scale" property.
      
      	* app/paint/gimpbrushcore.[ch]: separate pressure logic from brush
      	scaling logic and take paint_options->brush_scale into account.
      	Added gimp_brush_core_create_bound_segs() which returns BoundSegs
      	of the correctly scaled brush mask for the brush preview on the
      	canvas.
      
      	* app/tools/gimpbrushtool.c: use gimp_brush_core_create_bound_segs()
      	instead of doing this here (also removes all knowledge about lowlevel
      	stuff from this file). Connect to notify::brush-scale of the
      	paint options and invalidate the brush core's brush accordingly.
      
      	* app/tools/gimppaintoptions-gui.c: added brush scale slider.
      6eb70895
  28. 15 Nov, 2006 2 commits
    • Sven Neumann's avatar
      cursors/Makefile.am cursors/cursor-move.png cursors/gimp-tool-cursors.xcf · 13004433
      Sven Neumann authored
      2006-11-15  Sven Neumann  <sven@gimp.org>
      
      	* cursors/Makefile.am
      	* cursors/cursor-move.png
      	* cursors/gimp-tool-cursors.xcf
      	* cursors/xbm/cursor-move-mask.xbm
      	* cursors/xbm/cursor-move.xbm: added new cursor.
      
      	* app/widgets/gimpcursor.c
      	* app/widgets/widgets-enums.h: added as GIMP_CURSOR_MOVE.
      
      	* app/tools/gimprectangletool.c: use instead of a cursor
      modifier.
      13004433
    • Sven Neumann's avatar
      app/tools/gimprectangletool.[ch] removed function from the properties. · c4b8cda6
      Sven Neumann authored
      2006-11-15  Sven Neumann  <sven@gimp.org>
      
      	* app/tools/gimprectangletool.[ch]
      	* app/tools/gimprectangleselecttool.c: removed function from the
      	properties. Added getter and setter functions instead. Redraw
      the
      	tool whenever the function changes.
      c4b8cda6
  29. 13 Nov, 2006 1 commit