1. 11 Jul, 2018 1 commit
  2. 06 Jul, 2018 1 commit
  3. 19 Feb, 2017 1 commit
    • Ell's avatar
      app: add support for subpixel image grids · 1572bccc
      Ell authored
      In particular, this enables grids whose points of intersection
      are at the middle of the image's pixels, which is useful for
      undistorted painting with odd-sized brushes using tools other than
      the pencil.
      
      This commit also changes the grid visibility behavior, so that the
      the visibiltiy of horizontal and vertical grid lines (depending on
      the zoom level) is independent.
      1572bccc
  4. 19 May, 2016 1 commit
  5. 11 Feb, 2016 1 commit
  6. 21 May, 2014 2 commits
  7. 03 May, 2012 1 commit
  8. 02 May, 2012 1 commit
  9. 28 Apr, 2011 1 commit
  10. 17 Jan, 2009 1 commit
    • Michael Natterer's avatar
      Change licence to GPLv3 (and to LGPLv3 for libgimp). · d9b5207a
      Michael Natterer authored
      2009-01-17  Michael Natterer  <mitch@gimp.org>
      
      	* all files with a GPL header and all COPYING files:
      
      	Change licence to GPLv3 (and to LGPLv3 for libgimp).
      
      	Cleaned up some copyright headers and regenerated the parsers in
      	the ImageMap plugin.
      
      
      svn path=/trunk/; revision=27913
      d9b5207a
  11. 04 Jul, 2008 1 commit
  12. 09 Dec, 2006 1 commit
  13. 14 Oct, 2006 1 commit
    • Michael Natterer's avatar
      don't include "libgimpbase/gimplimits.h" · 1e5f8625
      Michael Natterer authored
      2006-10-14  Michael Natterer  <mitch@gimp.org>
      
      	* app/core/gimpgrid.c: don't include "libgimpbase/gimplimits.h"
      
      	* app/core/gimpimage-undo-push.c: one more g_message() converted
      	to gimp_message().
      1e5f8625
  14. 15 May, 2006 1 commit
  15. 27 Apr, 2006 1 commit
    • Sven Neumann's avatar
      added "has_alpha" to GimpParamSpecRGB. Made the GimpParamSpecRGB struct · e779cf0b
      Sven Neumann authored
      2006-04-27  Sven Neumann  <sven@gimp.org>
      
      	* libgimpcolor/gimprgb.[ch]: added "has_alpha" to GimpParamSpecRGB.
      	Made the GimpParamSpecRGB struct public. When validating a color,
      	only look at the alpha channel if has_alpha is set.
      
      	* libgimpconfig/gimpconfig-params.h: added "has_alpha" to
      	GIMP_CONFIG_INSTALL_PROP_RGB macro definition.
      
      	* libgimpconfig/gimpconfig-serialize.c: serialize color values as
      	"(rgb r g b)" if the param-spec indicates that the alpha channel
      	is meaningless.
      
      	* app/config/gimpconfig-dump.c: take "has_alpha" into account when
      	documenting color properties.
      
      	* app/core/gimpcontext.c
      	* app/core/gimpgrid.c
      	* app/display/gimpdisplayoptions.c
      	* app/text/gimptext.c
      	* app/widgets/gimpaction.c
      	* app/widgets/gimpcolorbar.c
      	* libgimpwidgets/gimpcolorarea.c
      	* libgimpwidgets/gimpcolorbutton.c: specify whether color properties
      	have an alpha channel.
      
      	* tools/pdbgen/app.pl: handle "has_alpha" for color paramaters.
      
      	* tools/pdbgen/pdb/channel.pdb
      	* tools/pdbgen/pdb/context.pdb
      	* tools/pdbgen/pdb/grid.pdb
      	* tools/pdbgen/pdb/image.pdb: set the "has_alpha" flag where
      	appropriate.
      
      	* app/pdb/gimp-pdb-compat.c (gimp_pdb_compat_param_spec): set
      	"has_alpha" to TRUE for GIMP_PDB_COLOR.
      
      	* app/pdb/channel_cmds.c
      	* app/pdb/context_cmds.c
      	* app/pdb/gradient_cmds.c
      	* app/pdb/grid_cmds.c
      	* app/pdb/image_cmds.c
      	* app/pdb/palette_cmds.c
      	* app/pdb/palettes_cmds.c
      	* app/pdb/selection_tools_cmds.c: regenerated.
      
      	* app/config/gimpdisplayconfig.c (gimp_display_config_class_init):
      	removed unused code.
      e779cf0b
  16. 12 Apr, 2006 1 commit
  17. 18 Jan, 2006 1 commit
    • Michael Natterer's avatar
      define GIMP_PARAM_STATIC_STRINGS which is G_PARAM_STATIC_NAME|NICK|BLURB. · e1ceed51
      Michael Natterer authored
      2006-01-18  Michael Natterer  <mitch@gimp.org>
      
      	* app/config/config-types.c: define GIMP_PARAM_STATIC_STRINGS
      	which is G_PARAM_STATIC_NAME|NICK|BLURB. Also define
      	GIMP_PARAM_READABLE, _WRITABLE and _READWRITE which include
      	GIMP_PARAM_STATIC_STRINGS.
      
      	* app/*/*.c: use them for all object properties so their
      	strings are not copied.
      e1ceed51
  18. 10 Dec, 2005 1 commit
  19. 27 Jan, 2005 1 commit
  20. 25 Jan, 2005 1 commit
  21. 26 Jul, 2004 1 commit
    • Michael Natterer's avatar
      removed GIMP_TYPE_COLOR. · caabe7f3
      Michael Natterer authored
      2004-07-26  Michael Natterer  <mitch@gimp.org>
      
      	* app/config/gimpconfig-types.h: removed GIMP_TYPE_COLOR.
      
      	* app/config/gimpconfig-params.[ch]: renamed GimpParamSpecColor
      	to GimpParamSpecRGB.
      
      	* app/config/gimpconfig-deserialize.c
      	* app/config/gimpconfig-dump.c
      	* app/config/gimpconfig-serialize.c
      	* app/config/gimpscanner.c
      	* app/core/gimp-utils.c
      	* app/core/gimpcontext.c
      	* app/core/gimpgrid.c
      	* app/display/gimpdisplayoptions.c
      	* app/text/gimptext.c
      	* app/tools/gimpcolortool.c
      	* app/widgets/gimpaction.c
      	* app/widgets/gimpcolorbar.c
      	* app/widgets/gimppropwidgets.c: changed accordingly.
      caabe7f3
  22. 19 Oct, 2003 1 commit
    • Sven Neumann's avatar
      app/config/Makefile.am it became impossible to link the test because the · 21888b9f
      Sven Neumann authored
      2003-10-19  Sven Neumann  <sven@gimp.org>
      
      	* app/config/Makefile.am
      	* app/config/test-config.c: it became impossible to link the test
      	because the GimpRc class pulls in too many symbols. Changed it to
      	use a GimpGrid object instead.
      
      	* app/core/gimpgrid.[ch]: reordered properties so they match the
      	order they appear in the grid dialog.
      21888b9f
  23. 15 Oct, 2003 1 commit
    • Sven Neumann's avatar
      added new function gimp_size_entry_get_help_widget() to make it possible · 2806c6b2
      Sven Neumann authored
      2003-10-15  Sven Neumann  <sven@gimp.org>
      
      	* libgimpwidgets/gimpsizeentry.[ch]: added new function
      	gimp_size_entry_get_help_widget() to make it possible to set
      	tooltips on a GimpSizeEntry.
      
      	* app/widgets/gimppropwidgets.c (gimp_prop_size_entry_new)
      	(gimp_prop_coordinates_connect): set tooltips from property blurbs.
      
      	* app/core/gimpgrid.c
      	* app/core/gimptemplate.c
      	* app/gui/preferences-dialog.c: minor string changes.
      2806c6b2
  24. 11 Oct, 2003 1 commit
    • Sven Neumann's avatar
      app/widgets/gimpdocked.[ch] renamed GimpDockedIface to · a88e11af
      Sven Neumann authored
      2003-10-11  Sven Neumann  <sven@gimp.org>
      
      	* app/widgets/gimpdocked.[ch]
      	* app/widgets/widgets-types.h: renamed GimpDockedIface to
      	GimpDockedInterface.
      
      	* app/display/gimpnavigationview.c
      	* app/widgets/gimpcoloreditor.c
      	* app/widgets/gimpcontainereditor.c
      	* app/widgets/gimpcontainerview.c
      	* app/widgets/gimpeditor.c
      	* app/widgets/gimpimageeditor.c
      	* app/widgets/gimpitemtreeview.c
      	* app/widgets/gimptooloptionseditor.c: changed accordingly.
      
      	* app/config/config-types.h
      	* app/config/gimpconfig.[ch]
      	* app/config/gimpconfig-deserialize.[ch]
      	* app/config/gimpconfig-serialize.[ch]
      	* app/config/gimpconfig-utils.[ch]: added a GimpConfig typedef and
      	changed the GimpConfig API to take GimpConfig instead of GObject
      	pointers.
      
      	* app/config/gimpconfig-dump.c
      	* app/config/gimprc.c
      	* app/config/test-config.c
      	* app/core/gimp-documents.c
      	* app/core/gimp-parasites.c
      	* app/core/gimp-templates.c
      	* app/core/gimp.[ch]
      	* app/core/gimpcontainer.c
      	* app/core/gimpcontext.c
      	* app/core/gimpdocumentlist.c
      	* app/core/gimpgrid.c
      	* app/core/gimpimage-duplicate.c
      	* app/core/gimpimage-new.c
      	* app/core/gimpimage.c
      	* app/core/gimpparasitelist.c
      	* app/core/gimptemplate.c
      	* app/core/gimptooloptions.c
      	* app/core/gimpviewable.c
      	* app/gui/grid-dialog.c
      	* app/gui/preferences-dialog.c
      	* app/gui/stroke-dialog.c
      	* app/gui/templates-commands.c
      	* app/gui/tool-options-commands.c
      	* app/paint/gimppaintcore.c
      	* app/pdb/gimprc_cmds.c
      	* app/text/gimptext-parasite.c
      	* app/text/gimptext.c
      	* app/text/gimptextlayer.c
      	* app/tools/gimp-tools.c
      	* app/tools/gimptexttool.c
      	* app/widgets/gimpdevices.c
      	* app/widgets/gimptemplateeditor.c
      	* app/widgets/gimptemplateview.c
      	* tools/pdbgen/pdb/gimprc.pdb: changed accordingly.
      a88e11af
  25. 10 Oct, 2003 1 commit
    • Henrik Brix Andersen's avatar
      removed the grid parasite related functions from here ... · 4ac8c825
      Henrik Brix Andersen authored
      2003-10-10 Henrik Brix Andersen <brix@gimp.org>
      
      * app/core/gimpimage-grid.[ch]: removed the grid parasite related
      functions from here ...
      
      * app/core/gimpgrid.[ch]: ... and added them here. While I was at
      it I also changed PROP_TYPE to PROP_STYLE and added blurbs to the
      properties
      
      * app/xcf/xcf-load.c
      * app/display/gimpdisplayshell.c: changed accordingly
      
      * app/widgets/Makefile.am
      * po/POTFILES.in
      * app/widgets/widgets-types.h
      * app/widgets/gimpgrideditor.[ch]: added a new GimpGridEditor
      widget - with a work-around for the fact that
      gimp_prop_coordinated_new() doesn't accept boundaries
      
      * app/gui/grid-dialog.h
      * app/gui/grid-dialog.c (grid_dialog_new): use the new
      GimpGridEditor widget, take a GimpImage as function parameter,
      assume GimpImages always have a GimpGrid. This simplifies the grid
      dialog.
      
      * app/gui/image-commands.c
      (image_configure_grid_cmd_callback): changed accordingly
      
      * app/core/core-types.h: moved typedef GimpGrid from here ...
      
      * app/config/config-types.h: ... to here to be able to use it in
      GimpCoreConfig
      
      * app/config/gimprc-blurbs.h
      * app/config/gimpcoreconfig.[ch]: added default_grid member
      
      * app/widgets/gimphelp-ids.h
      * themes/Default/images/preferences/Makefile.am
      * themes/Default/images/default-grid.png
      * app/gui/preferences-dialog.c: added UI for specifying default
      image grid
      
      * app/core/gimpimage.c (gimp_image_new): create a GimpGrid from
      core_config->default_grid
      
      * app/gui/image-menu.c (image_menu_update): the grid/guide entries
      in <Image>/View/ should always be sensitive ...
      
      * app/display/gimpdisplayshell.c (gimp_display_shell_init):
      ... but the grid entries should be disabled by default
      4ac8c825
  26. 21 Sep, 2003 1 commit
    • Sven Neumann's avatar
      renamed new enums to use "style" instead of the overloaded term "type". · 3ee7c4d0
      Sven Neumann authored
      2003-09-21  Sven Neumann  <sven@gimp.org>
      
      	* app/core/core-enums.[ch]: renamed new enums to use "style" instead
      	of the overloaded term "type". Also renamed GimpGridType while I was
      	on it.
      
      	* app/core/gimpdrawable-stroke.[ch]
      	* app/core/gimpgrid.[ch]
      	* app/core/gimpscanconvert.[ch]
      	* app/display/gimpdisplayshell.c
      	* app/vectors/gimpvectors.c
      	* app/gui/grid-dialog.c: changed accordingly.
      3ee7c4d0
  27. 28 Jul, 2003 1 commit
    • Henrik Brix Andersen's avatar
      renamed GIMP_GRID_TYPE_INTERSECTION to GIMP_GRID_TYPE_INTERSECTIONS, added · 35155743
      Henrik Brix Andersen authored
      2003-07-28 Henrik Brix Andersen <brix@gimp.org>
      
      * app/core/core-enums.h (GimpGridType): renamed
        GIMP_GRID_TYPE_INTERSECTION to GIMP_GRID_TYPE_INTERSECTIONS, added
        GIMP_GRID_TYPE_DOTS
      
      * app/core/core-enums.c: regenerated
      
      * app/gui/grid-dialog.c
      * app/core/gimpgrid.c: changed accordingly
      
      * app/display/gimpdisplayshell.c (gimp_display_shell_draw_grid): added
        code to draw the dots-only grid
      35155743
  28. 17 Jul, 2003 1 commit
    • Michael Natterer's avatar
      added "gboolean allow_percent" to gimp_param_spec_unit() and to the · 486aed8e
      Michael Natterer authored
      2003-07-17  Michael Natterer  <mitch@gimp.org>
      
      	* app/config/gimpconfig-params.[ch]: added "gboolean allow_percent"
      	to gimp_param_spec_unit() and to the GIMP_CONFIG_INSTALL_PROP_UNIT()
      	macro. Changed value validation accordingly.
      
      	* app/config/gimpconfig-types.c (string_to_unit): parse "percent"
      	correctly.
      
      	* app/widgets/gimppropwidgets.c (gimp_prop_unit_menu_new): show
      	the "Percent" menu entry if the param_spec allows percent.
      
      	* app/config/gimpcoreconfig.c
      	* app/core/gimpgrid.c
      	* app/core/gimptemplate.c
      	* app/text/gimptext.c: pass FALSE to disallow percent.
      
      	* app/paint/gimppaintoptions.c
      	* app/tools/gimpselectionoptions.c: pass TRUE. Brings back the
      	percent feature for fade_length, gradient_length and fixed_size
      	rect/ellipse select.
      
      	* app/tools/gimpbucketfilloptions.c
      	* app/tools/gimpmagnifyoptions.c
      	* app/tools/gimpselectionoptions.c
      	* app/tools/gimptransformoptions.c: don't call the the reset()
      	functions from the GUI constructors (and reset the options just
      	deserialized from disk). Instead, added set_defaults() functions
      	which do everything the old reset() functions did (except
      	upchaining) and call set_defaults() from reset() and from the GUI
      	constructors.
      486aed8e
  29. 23 Jun, 2003 2 commits
    • Henrik Brix Andersen's avatar
      derive GimpGrid from GimpObject (not GObject) allowing us to use · e985b88e
      Henrik Brix Andersen authored
      * app/core/gimpgrid.[ch]: derive GimpGrid from GimpObject (not
      GObject) allowing us to use gimp_object_get_memsize(). Added
      missing copyright notice.
      
      * app/core/gimpimage.c: only call gimp_object_get_memsize() if
      gimage->grid != NULL.
      
      * app/gui/grid-dialog.c: added mnemonics, set shell->grid_dialog
      to NULL when destroyed.
      
      * app/gui/view-commands.c (view_configure_grid_cmd_callback):
      added call to gtk_window_present().
      e985b88e
    • Henrik Brix Andersen's avatar
      Added a per image configurable grid. · edd5c339
      Henrik Brix Andersen authored
      This fixes bug #65198
      
      * app/core/Makefile.am
      * app/core/core-types.h:
      * app/core/gimpgrid.[ch]: added new class GimpGrid.
      
      * app/core/core-enums.[ch]: added new enum GimpGridType.
      
      * app/core/gimpimage-guides.[ch]: removed the gimp_image_snap_*()
      functions...
      
      * app/core/gimpimage-snap.[ch]: ...and added them here since they
      are no longer guide specific.
      
      * app/core/gimpimage-undo-push.[ch]: added
      gimp_image_undo_push_image_grid()
      
      * app/display/gimpdisplayshell-handlers.c:
      * app/core/gimpimage.[ch]: added grid member to _GimpImage. Added
      new signal "grid_changed", added gimp_image_grid_changed(),
      gimp_image_get_grid() and gimp_image_set_grid().
      
      * app/display/gimpdisplayshell-appearance.[ch]: added
      gimp_display_shell_set_show_grid(),
      gimp_display_shell_get_show_grid(),
      gimp_display_shell_set_snap_to_grid() and
      gimp_display_shell_get_snap_to_grid().
      
      * app/display/gimpdisplayshell-callbacks.c: added call to
      gimp_display_shell_draw_grid()
      
      * app/display/gimpdisplayshell.[ch]: added grid member to
      _GimpDisplayShellVisibility, added snap_to_grid and grid_dialog
      members to _GimpDisplayShell, added
      gimp_display_shell_draw_grid(), modified
      gimp_display_shell_snap_coords() to use the new
      gimp_image_snap_*() functions.
      
      * app/gui/image-menu.c: added grid entries to
      image_menu_entries[].
      
      * app/gui/view-commands.[ch]: added
      view_configure_grid_cmd_callback(),
      view_toggle_grid_cmd_callback() and
      view_snap_to_grid_cmd_callback().
      
      * app/gui/Makefile.am
      * app/gui/grid-dialog.[ch]: added a grid dialog.
      edd5c339