1. 18 Sep, 2018 1 commit
    • Ell's avatar
      app, libgimp*, modules: don't use g_type_class_add_private() ... · 3b0040c0
      Ell authored
      ... and G_TYPE_INSTANCE_GET_PRIVATE()
      
      g_type_class_add_private() and G_TYPE_INSTANCE_GET_PRIVATE() were
      deprecated in GLib 2.58.  Instead, use
      G_DEFINE_[ABSTRACT_]TYPE_WITH_PRIVATE(), and
      G_ADD_PRIVATE[_DYNAMIC](), and the implictly-defined
      foo_get_instance_private() functions, all of which are available in
      the GLib versions we depend on.
      
      This commit only covers types registered using one of the
      G_DEFINE_FOO() macros (i.e., most types), but not types with a
      custom registration function, of which we still have a few -- GLib
      currently only provides a (non-deprecated) public API for adding a
      private struct using the G_DEFINE_FOO() macros.
      
      Note that this commit was 99% auto-generated (because I'm not
      *that* crazy :), so if there are any style mismatches... we'll have
      to live with them for now.
      3b0040c0
  2. 06 Aug, 2018 1 commit
    • Jehan's avatar
      libgimpwidgets, app: change "stock-size" property of... · d1372c6c
      Jehan authored
      ... GimpCellRendererToggle into "icon-size".
      
      In particular making it a pixel size instead of a GtkIconSize. This enum
      is limited to a few presets (registering new values is deprecated since
      GTK+ 3.10), with names completely semantically wrong. It is better to
      specify icon sizes (before scaling) in pixels directly, which goes also
      with named icons instead of stock ones.
      d1372c6c
  3. 11 Jul, 2018 1 commit
  4. 30 May, 2018 1 commit
    • Jehan's avatar
      libgimpwidgets: making GimpCellRenderer symbolic and DPI aware. · f3347d69
      Jehan authored
      This commit makes 2 improvements to this renderer. First it will allow
      it to find symbolic variants of icons. Second it properly renders icons
      when the display is scaled, by producing pixbuf size double to logical
      drawing size and making cairo rendering it at the expected logical size.
      f3347d69
  5. 20 May, 2018 9 commits
  6. 03 Sep, 2017 1 commit
  7. 06 Jun, 2017 1 commit
  8. 29 Oct, 2016 1 commit
  9. 31 May, 2015 1 commit
  10. 08 May, 2014 1 commit
  11. 07 May, 2014 1 commit
  12. 09 Nov, 2012 1 commit
  13. 23 Sep, 2011 1 commit
  14. 08 Aug, 2010 1 commit
  15. 05 Jul, 2010 2 commits
  16. 17 Oct, 2009 1 commit
  17. 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
  18. 28 Jun, 2008 1 commit
    • Michael Natterer's avatar
      libgimp/gimpgradientselectbutton.c libgimp/gimpmenu.c · 58cfcd4f
      Michael Natterer authored
      2008-06-28  Michael Natterer  <mitch@gimp.org>
      
      	* libgimp/gimpgradientselectbutton.c
      	* libgimp/gimpmenu.c
      	* libgimpwidgets/gimpbrowser.c
      	* libgimpwidgets/gimpcellrenderercolor.c
      	* libgimpwidgets/gimpcellrenderertoggle.c
      	* libgimpwidgets/gimpchainbutton.c
      	* libgimpwidgets/gimpcolorarea.c
      	* libgimpwidgets/gimpcolorscale.c
      	* libgimpwidgets/gimpcolorscales.c
      	* libgimpwidgets/gimpcolorselect.c
      	* libgimpwidgets/gimpenumwidgets.c
      	* libgimpwidgets/gimpframe.c
      	* libgimpwidgets/gimphelpui.c
      	* libgimpwidgets/gimpoffsetarea.c
      	* libgimpwidgets/gimppreviewarea.c
      	* libgimpwidgets/gimppropwidgets.c
      	* libgimpwidgets/gimpscrolledpreview.c: use accessors instead of
      	accessing members of GTK+ widgets directly.
      
      
      svn path=/trunk/; revision=26005
      58cfcd4f
  19. 25 Apr, 2008 1 commit
  20. 15 May, 2006 1 commit
  21. 12 Apr, 2006 1 commit
  22. 30 Jan, 2006 1 commit
    • Sven Neumann's avatar
      moved GIMP_PARAM defines from here ... · 7b24dd8e
      Sven Neumann authored
      2006-01-30  Sven Neumann  <sven@gimp.org>
      
      	* app/config/config-types.h: moved GIMP_PARAM defines from here ...
      
      	* libgimpbase/gimpparam.h: ... to this new files.
      
      	* libgimpbase/Makefile.am
      	* libgimpbase/gimpbasetypes.h: include the new header file.
      
      	* libgimp/gimpfontselectbutton.c
      	* libgimpconfig/gimpcolorconfig.c
      	* libgimpthumb/gimpthumbnail.c
      	* libgimpwidgets/gimpcellrenderercolor.c
      	* libgimpwidgets/gimpcellrenderertoggle.c
      	* libgimpwidgets/gimpcolorarea.c
      	* libgimpwidgets/gimpcolorbutton.c
      	* libgimpwidgets/gimpcolordisplay.c
      	* libgimpwidgets/gimpcontroller.c
      	* libgimpwidgets/gimpdialog.c
      	* libgimpwidgets/gimpenumcombobox.c
      	* libgimpwidgets/gimpintcombobox.c
      	* libgimpwidgets/gimppageselector.c
      	* libgimpwidgets/gimppreview.c
      	* libgimpwidgets/gimppreviewarea.c
      	* libgimpwidgets/gimpzoommodel.c
      	* modules/cdisplay_colorblind.c
      	* modules/cdisplay_gamma.c
      	* modules/cdisplay_highcontrast.c
      	* modules/cdisplay_lcms.c
      	* modules/cdisplay_proof.c
      	* modules/controller_linux_input.c
      	* modules/controller_midi.c: use the GIMP_PARAM defines to avoid
      	unnecessary string allocations.
      7b24dd8e
  23. 20 Dec, 2005 1 commit
  24. 09 Mar, 2005 1 commit
    • Sven Neumann's avatar
      app/widgets/gimpcontainerview.c app/widgets/gimpimagedock.c · 73bfd572
      Sven Neumann authored
      2005-03-09  Sven Neumann  <sven@gimp.org>
      
      	* app/widgets/gimpcontainerview.c
      	* app/widgets/gimpimagedock.c
      	* app/widgets/gimptoolbox.c
      	* app/widgets/gtkwrapbox.c
      	* libgimpwidgets/gimpcellrenderercolor.c
      	* libgimpwidgets/gimpcellrenderertoggle.c
      	* libgimpwidgets/gimpframe.c: use canonical names when registering
      	param specs.
      73bfd572
  25. 03 Jan, 2005 1 commit
  26. 26 Jul, 2004 1 commit
    • Sven Neumann's avatar
      app/widgets/Makefile.am moved to libgimpwidgets. · 744bebc8
      Sven Neumann authored
      2004-07-26  Sven Neumann  <sven@gimp.org>
      
      	* app/widgets/Makefile.am
      	* app/widgets/gimpcellrenderertoggle.[ch]: moved to libgimpwidgets.
      
      	* app/widgets/gimpcomponenteditor.c
      	* app/widgets/gimpcontainertreeview.c
      	* app/widgets/gimpitemtreeview.c
      	* app/widgets/gimplayertreeview.c
      	* app/widgets/gimptoolview.c
      	* app/widgets/widgets-types.h
      
      	* libgimpwidgets/Makefile.am
      	* libgimpwidgets/gimpwidgets.def
      	* libgimpwidgets/gimpwidgets.h
      	* libgimpwidgets/gimpwidgetsmarshal.list
      	* libgimpwidgets/gimpwidgetstypes.h
      	* libgimpwidgets/gimpcellrenderertoggle.[ch]: custom toggle cell
      	renderer moved here from app/widgets.
      
      	* libgimpwidgets/gimpcellrenderercolor.[ch]: unified code with the
      	new toggle cell renderer.
      744bebc8
  27. 28 Mar, 2003 2 commits
    • Michael Natterer's avatar
      allow keyboard activation. · c3519365
      Michael Natterer authored
      2003-03-28  Michael Natterer  <mitch@gimp.org>
      
      	* app/widgets/gimpcellrenderertoggle.c
      	(gimp_cell_renderer_toggle_activate) *
      	app/widgets/gimpcellrendererviewable.c
      	(gimp_cell_renderer_viewable_activate): allow keyboard activation.
      
      	* app/widgets/gimpcellrendererviewable.c
      	(gimp_cell_renderer_viewable_render): fixed the if() which resets
      	the renderer's border color to black. Fixes layer borders to be
      	always correct now.
      c3519365
    • Sven Neumann's avatar
      check for event != NULL to avoid crashing when the cell is activated using · bc9ef72c
      Sven Neumann authored
      2003-03-28  Sven Neumann  <sven@gimp.org>
      
      	* app/widgets/gimpcellrenderertoggle.c
      	(gimp_cell_renderer_toggle_activate): check for event != NULL to
      	avoid crashing when the cell is activated using the keyboard.
      bc9ef72c
  28. 20 Mar, 2003 1 commit
    • Sven Neumann's avatar
      pass the modifier mask as GdkModifierType instead of guint. · 166078e1
      Sven Neumann authored
      2003-03-20  Sven Neumann  <sven@gimp.org>
      
      	* libgimpwidgets/gimpbutton.[ch]: pass the modifier mask as
      	GdkModifierType instead of guint.
      
      	* app/core/gimpmarshal.list
      	* app/widgets/gimpcellrenderertoggle.c
      	* app/widgets/gimpcellrendererviewable.c
      	* app/widgets/gimppreview.c: use proper marshallers for signals
      	that take flags as parameters.
      
      	* app/core/gimpcontext.c: added the G_SIGNAL_TYPE_STATIC_SCOPE flag
      	to the GimpRGB signal parameter.
      
      2003-03-20  Sven Neumann  <sven@gimp.org>
      
      	* libgimpwidgets/libgimpwidgets.types
      	* libgimpwidgets/tmpl/gimpbutton.sgml
      	* libgimpwidgets/tmpl/gimppickbutton.sgml: improved.
      166078e1
  29. 19 Mar, 2003 1 commit
    • Michael Natterer's avatar
      app/widgets/gimpcellrenderertoggle.[ch] added public functions to emit the · 0b401af4
      Michael Natterer authored
      2003-03-19  Michael Natterer  <mitch@gimp.org>
      
      	* app/widgets/gimpcellrenderertoggle.[ch]
      	* app/widgets/gimpcellrendererviewable.[ch]: added public
      	functions to emit the "clicked" signal.
      
      	* app/widgets/gimpcontainertreeview.c: use them instead of
      	g_signal_emit_by_name().
      
      	* app/widgets/Makefile.am
      	* app/widgets/gimpcontainertreeview-dnd.[ch]: new files
      	implementing DND for tree views.
      
      	* app/widgets/gimpcontainertreeview.[ch]: added virtual
      	functions drop_possible() and drop().
      
      	* app/widgets/gimpitemtreeview.c
      	* app/widgets/gimplayertreeview.c: implement drop_possible()
      	and drop().
      0b401af4
  30. 17 Mar, 2003 1 commit
    • Michael Natterer's avatar
      Made drawable/layer properties (visibility, opacity etc.) undoable (fixes · 884b3aa7
      Michael Natterer authored
      2003-03-17  Michael Natterer  <mitch@gimp.org>
      
      	Made drawable/layer properties (visibility, opacity etc.)
      	undoable (fixes bug #73893).
      
      	* app/core/core-enums.[ch]: added undo types/groups for
      	visibility, mode, opacity, linked and preserve_trans.
      
      	* app/core/Makefile.am
      	* app/core/core-types.h
      	* app/core/gimpitemundo.[ch]: new GimpUndo subclass which holds a
      	ref'ed GimpItem pointer so (1) this doesn't need to be done by all
      	undo steps related to an item and (2) the item the undo step is
      	for can be determined from outside the undo system.
      
      	* app/core/gimpimage-undo.[ch]: added gimp_image_undo_push_item()
      	which returns a new GimpItemUndo.
      
      	* app/core/gimpimage-undo-push.[ch]: use it for all item related
      	undo steps. Removed lots of GimpItem, GimpLayer, GimpDrawable
      	and GimpVectors pointers from the private undo structs. Added
      	undo push functions for the new undo types added above.
      
      	* app/core/gimpdrawable.[ch] (gimp_drawable_set_visible): added
      	"gboolean push_undo" parameter.
      
      	* app/core/gimplayer.[ch] (gimp_layer_set_opacity, _mode,
      	_preserve_trans, _linked): added "gboolean push_undo" parameters.
      
      	* app/core/gimpimage-mask.c
      	* app/core/gimpimage-merge.c
      	* app/core/gimplayer-floating-sel.c
      	* app/tools/gimpmovetool.c
      	* app/xcf/xcf-load.c
      	* app/widgets/gimpdrawablelistitem.c
      	* app/widgets/gimplayerlistitem.c
      	* app/widgets/gimplayerlistview.c: changed accordingly.
      
      	* tools/pdbgen/pdb/channel.pdb
      	* tools/pdbgen/pdb/layer.pdb: ditto. Added '$undo' paramaters to
      	the foo_accessors() functions. Removed $func from foo_accesors()
      	because we don't manipulate items without using getters/setters
      	any longer.
      
      	* app/pdb/channel_cmds.c
      	* app/pdb/layer_cmds.c: regenerated.
      
      	* app/widgets/gimpcellrenderertoggle.[ch]: added "clicked" signal
      	which carries an additional "GdkModifierType state" parameter as
      	in GimpCellRendererViewable .
      
      	* app/widgets/gimpcontainertreeview.c: emit "clicked" from
      	the toggle renderer, not "toggled" so the callbacks get the
      	modifier state.
      
      	* app/widgets/gimpdrawabletreeview.c: resurrected the "exclusive
      	visible by <shift>+click" feature as in 1.2.
      
      	* app/widgets/gimplayertreeview.c: compress layer opacity undos by
      	looking at the top of the undo stack and not pushing an undo if
      	there already is a GIMP_UNDO_DRAWABLE_OPACITY for the active
      	layer.
      884b3aa7