1. 29 Dec, 2006 1 commit
    • Sven Neumann's avatar
      store the original aspect ratio. Let the Ctrl key toggle the aspect ratio · 4cbb8d7f
      Sven Neumann authored
      2006-12-29  Sven Neumann  <sven@gimp.org>
      
      	* app/tools/gimptransformtool.[ch]: store the original aspect
      ratio.
      	Let the Ctrl key toggle the aspect ratio constraint also while
      the
      	mouse is being pressed.
      
      	* app/tools/gimpscaletool.c (gimp_scale_tool_motion): use the
      	original aspect ratio when applying the constraint.
      4cbb8d7f
  2. 26 Dec, 2006 1 commit
  3. 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
  4. 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
  5. 13 Dec, 2006 2 commits
  6. 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
  7. 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
  8. 09 Dec, 2006 1 commit
  9. 07 Dec, 2006 1 commit
  10. 06 Dec, 2006 1 commit
  11. 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
  12. 03 Dec, 2006 1 commit
  13. 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
  14. 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
  15. 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
  16. 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
  17. 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
  18. 13 Nov, 2006 1 commit
  19. 12 Nov, 2006 1 commit
    • Michael Natterer's avatar
      app/base/base.c app/core/gimp-user-install.c · 85cecec5
      Michael Natterer authored
      2006-11-12  Michael Natterer  <mitch@gimp.org>
      
      	* app/base/base.c
      	* app/core/gimp-user-install.c
      	* app/core/gimpbrushgenerated-load.c
      	* app/core/gimpcontainer.c
      	* app/core/gimpgradient-load.c
      	* app/core/gimppalette-load.c
      	* app/core/gimpparamspecs-desc.c
      	* app/dialogs/tips-parser.c
      	* app/menus/plug-in-menus.c
      	* app/plug-in/gimppluginmanager.c
      	* app/plug-in/gimppluginprocedure.c
      	* app/text/gimptext-parasite.c
      	* app/tools/gimpforegroundselecttool.c
      	* app/widgets/gimpselectiondata.c
      	* app/xcf/xcf.c: use g_str_has_prefix() instead of strncmp().
      85cecec5
  20. 11 Nov, 2006 1 commit
  21. 08 Nov, 2006 1 commit
    • Sven Neumann's avatar
      removed dead code. · 5c0ff0f6
      Sven Neumann authored
      2006-11-07  Sven Neumann  <sven@gimp.org>
      
      	* app/tools/gimprectangletool.c: removed dead code.
      5c0ff0f6
  22. 07 Nov, 2006 3 commits
    • Sven Neumann's avatar
      simplified. · a44f83c6
      Sven Neumann authored
      2006-11-07  Sven Neumann  <sven@gimp.org>
      
      	* app/tools/gimprectangletool.c
      (gimp_rectangle_tool_oper_update):
      	simplified.
      a44f83c6
    • Sven Neumann's avatar
      undef DEBUG_SPEW again. · f47f5888
      Sven Neumann authored
      2006-11-07  Sven Neumann  <sven@gimp.org>
      
      	* app/dialogs/file-save-dialog.c: undef DEBUG_SPEW again.
      
      	* app/tools/gimprectangletool.c (gimp_rectangle_tool_draw):
      	don't draw the handles while the rectangle is being moved.
      f47f5888
    • Sven Neumann's avatar
      improved highlighting. (gimp_draw_tool_draw_arc_by_anchor): take width and · b41bc680
      Sven Neumann authored
      2006-11-07  Sven Neumann  <sven@gimp.org>
      
      	* app/tools/gimpdrawtool.[ch] (gimp_draw_tool_draw_corner):
      	improved highlighting.
      	(gimp_draw_tool_draw_arc_by_anchor): take width and height
      	arguments instead of radius_x and radius_y.
      
      	* app/tools/gimpiscissorstool.c
      	* app/tools/gimpvectortool.c: slightly increased handle sizes.
      
      	* app/tools/gimpmeasuretool.c: increased size of the end points.
      
      	* app/tools/gimpperspectiveclonetool.c: increased handle size.
      
      	* app/tools/gimprectangletool.c: renamed variables.
      
      	* app/tools/gimpsourcetool.c: use a single define for the target
      size.
      
      	* app/tools/gimptransformtool.[ch]: increased handle size. Made
      	the area that can be grabbed identical to the displayed handle.
      	Replaced filled circle with a circle outline and a cross.
      
      	* app/tools/gimptransformtool-undo.c: follow renaming of define
      in
      	gimptransformtool.h.
      b41bc680
  23. 06 Nov, 2006 4 commits
  24. 05 Nov, 2006 5 commits
    • Michael Natterer's avatar
      made gimp_rectangle_tool_halt() private. Get rid of some more local · 029f94f6
      Michael Natterer authored
      2006-11-05  Michael Natterer  <mitch@gimp.org>
      
      	* app/tools/gimprectangletool.[ch]: made gimp_rectangle_tool_halt()
      	private. Get rid of some more local variables (use private->foo
      	instead). Fixed statusbar rectangle size display. Some indentation
      	cleanup.
      029f94f6
    • Michael Natterer's avatar
      remove GIMP_CONFIG_PARAM_SERIALIZE from the x0, y0, width, height, · cedbebfc
      Michael Natterer authored
      2006-11-05  Michael Natterer  <mitch@gimp.org>
      
      	* app/tools/gimprectangleoptions.c
      	(gimp_rectangle_options_iface_base_init): remove
      	GIMP_CONFIG_PARAM_SERIALIZE from the x0, y0, width, height,
      	center-x and center-y properties. Fixes bug #346683.
      cedbebfc
    • Michael Natterer's avatar
      app/tools/gimpcroptool.c app/tools/gimprectangleselecttool.c moved stuff · f8edfbd1
      Michael Natterer authored
      2006-11-05  Michael Natterer  <mitch@gimp.org>
      
      	* app/tools/gimpcroptool.c
      	* app/tools/gimprectangleselecttool.c
      	* app/tools/gimprectangletool.[ch]: moved stuff from
      	GimpTool::initialize() to GObject::constructor() and removed all
      	initialize functions entirely. initialize() only needs to be
      	implemented if the tool has a dialog or if initialization() can
      	fail. Also moved some type-checking casts after the
      	g_return_if_fail()s
      f8edfbd1
    • Michael Natterer's avatar
      cache the round-corners and corner-radius properties in the · 2a64b58c
      Michael Natterer authored
      2006-11-05  Michael Natterer  <mitch@gimp.org>
      
      	* app/tools/gimprectangleselecttool.[ch]: cache the round-corners
      	and corner-radius properties in the GimpRectSelectTool struct,
      	connect to "notify" of GimpRectSelectOptions and update display
      	drawing when the options change.
      
      	* app/tools/gimpcroptool.c
      	* app/tools/gimprectangleoptions.c: whitespace stuff.
      2a64b58c
    • Michael Natterer's avatar
      app/tools/gimpcroptool.[ch] app/tools/gimpellipseselecttool.c · 94182f14
      Michael Natterer authored
      2006-11-05  Michael Natterer  <mitch@gimp.org>
      
      	* app/tools/gimpcroptool.[ch]
      	* app/tools/gimpellipseselecttool.c
      	* app/tools/gimprectangleselecttool.[ch]
      	* app/tools/gimprectangletool.[ch]: removed dispose() and
      	finalize() implementations. The finalize() ones did nothing and
      	dispose() was only redundantly disconnecting from signals that
      	were connected using connect_object() anyway. Some cosmetic
      	cleanups all over the place.
      94182f14
  25. 04 Nov, 2006 3 commits