1. 09 Oct, 2008 10 commits
    • Michael Natterer's avatar
      Add GEGL_CFLAGS and #includes as if gimpdrawable.h and gimpimage.h had a · 5503e6a0
      Michael Natterer authored
      2008-10-09  Michael Natterer  <mitch@gimp.org>
      
      	Add GEGL_CFLAGS and #includes as if gimpdrawable.h and gimpimage.h
      	had a GEGL dependency (they will have in the next commit, but I
      	wanted to keep the commit separate).
      
      	* app/dialogs/Makefile.am
      	* app/file/Makefile.am
      	* app/gui/Makefile.am
      	* app/menus/Makefile.am
      	* app/paint/Makefile.am
      	* app/plug-in/Makefile.am
      	* app/text/Makefile.am
      	* app/vectors/Makefile.am
      	* app/widgets/Makefile.am
      	* app/xcf/Makefile.am: add GEGL_CFLAGS.
      
      	* app/actions/*.c
      	* app/core/*.c
      	* app/dialogs/*.c
      	* app/display/*.c
      	* app/file/*.c
      	* app/gui/*.c
      	* app/menus/*.c
      	* app/paint/*.c
      	* app/pdb/gimppdb-utils.c
      	* app/pdb/gimpprocedure.c
      	* app/plug-in/*.c
      	* app/text/*.c
      	* app/tools/*.c
      	* app/vectors/*.c
      	* app/widgets/*.c
      	* app/xcf/*.c: add <gegl.h> or replace <glib-object.h> by <gegl.h>
      	to all files which include a drawable subclass or gimpimage.h
      
      	* tools/pdbgen/app.pl: include <gegl.h> instead of <glib-object.h>
      	in all generated files.
      
      	* app/pdb/*-cmds.c: regenerated.
      
      	* data/images/gimp-splash.png: the goat is still sleeping.
      	By Aurore Derriennic.
      
      
      svn path=/trunk/; revision=27202
      5503e6a0
    • Michael Natterer's avatar
      Remove the last code duplication from the undo system (or if not the last · 0e4a35a2
      Michael Natterer authored
      2008-10-09  Michael Natterer  <mitch@gimp.org>
      
      	Remove the last code duplication from the undo system (or if not
      	the last then at least the most ugly):
      
      	* app/core/gimpimage.[ch] (gimp_image_add_layer,channel,vectors):
      	add "gboolean push_undo" parameter and add the item without
      	touching undo if it's TRUE. Changed assertions from
      	g_object_is_floating() to !gimp_item_is_attached() so they also
      	take items from the undo stack and not only newly created ones.
      
      	(gimp_image_remove_layer,channel,vectors): add "push_undo"
      	parameter here too. Also add a "new_active" parameter where an
      	optional new active item can be passed.
      
      	(gimp_image_remove_layer,channel): these functions must not be
      	called with push_undo=FALSE and a floating selection attached to
      	the layer/channel. This can't currently happen; added warnings in
      	case other code is changed and makes it happen anyway.
      
      	* app/core/gimpchannelundo.c
      	* app/core/gimplayerundo.c
      	* app/vectors/gimpvectorsundo.c: use above functions to add/remove
      	items instead of duplicating (parts of) their code. Pass
      	push_undo=FALSE and the previously active item to the remove()
      	functions.
      
      	* app/actions/channels-commands.c
      	* app/actions/edit-commands.c
      	* app/actions/layers-commands.c
      	* app/actions/vectors-commands.c
      	* app/core/gimp-edit.c
      	* app/core/gimpchannelundo.c
      	* app/core/gimpimage-crop.c
      	* app/core/gimpimage-duplicate.c
      	* app/core/gimpimage-merge.c
      	* app/core/gimpimage-quick-mask.c
      	* app/core/gimpimage-scale.c
      	* app/core/gimplayer-floating-sel.c
      	* app/core/gimplayerundo.c
      	* app/core/gimpselection.c
      	* app/core/gimptemplate.c
      	* app/display/gimpdisplayshell-dnd.c
      	* app/text/gimptext-compat.c
      	* app/tools/gimptexttool.c
      	* app/tools/gimpvectortool.c
      	* app/vectors/gimpvectors-import.c
      	* app/vectors/gimpvectorsundo.c
      	* app/widgets/gimpchanneltreeview.c
      	* app/widgets/gimpitemtreeview.[ch]
      	* app/widgets/gimplayertreeview.c
      	* app/widgets/gimptoolbox-dnd.c
      	* app/widgets/gimpvectorstreeview.c
      	* app/xcf/xcf-load.c
      	* tools/pdbgen/pdb/image.pdb
      	* tools/pdbgen/pdb/paths.pdb: changed accordingly (pass TRUE
      	unless it's a new image like when loading and XCF file).
      
      	* app/pdb/image-cmds.c
      	* app/pdb/paths-cmds.c: regenerated.
      
      
      svn path=/trunk/; revision=27200
      0e4a35a2
    • Sven Neumann's avatar
      data/images/Makefile.am added 128x128 version of wilber-devel.png. · f9598326
      Sven Neumann authored
      2008-10-09  Sven Neumann  <sven@gimp.org>
      
      	* data/images/Makefile.am
      	* data/images/gimp-devel-logo.png: added 128x128 version of
      	wilber-devel.png.
      
      	* app/dialogs/about-dialog.c (about_dialog_load_logo): use
      	gimp-devel-logo.png for unstable releasees.
      
      
      svn path=/trunk/; revision=27199
      f9598326
    • Sven Neumann's avatar
      Bug 555697 – build fails if configured with --without-libjpeg · 86f8a07f
      Sven Neumann authored
      2008-10-09  Sven Neumann  <sven@gimp.org>
      
      	Bug 555697 – build fails if configured with --without-libjpeg
      	
      	* plug-ins/Makefile.am: applied patch from Simon Zilliken that
      	disables the build of the PSD plug-in if JPEG support is 
      disabled.
      
      
      svn path=/trunk/; revision=27196
      86f8a07f
    • Michael Natterer's avatar
      Bug 134956 – Curves tool doesn't save free curves · e21935a7
      Michael Natterer authored
      2008-10-09  Michael Natterer  <mitch@gimp.org>
      
      	Bug 134956 – Curves tool doesn't save free curves
      
      	* app/core/gimpmarshal.list
      	* app/widgets/gimpsettingsbox.[ch]: add signal "file-dialog-setup"
      	and emit it when the export/import file chooser is fully
      	constructed. Callbacks can then do additional things to the
      	dialog, like adding custom buttons.
      
      	* app/tools/gimpcurvestool.h
      	* app/tools/gimplevelstool.h: add boolean member
      	"export_old_format".
      
      	* app/tools/gimpcurvestool.c
      	* app/tools/gimplevelstool.c (gimp_*_tool_dialog): connect to
      	the settings box' "file-dialog-setup".
      
      	(gimp_*_tool_export_setup): new callback which adds a toggle to
      	the file choosers that allows to export to the old format.
      	Default saving the new format, we defaulted to the old one before.
      
      	(gimp_*_tool_settings_export): check the "export_old_format"
      	boolean and only save the cruft format if it is TRUE; chain up
      	otherwise, which generically saves the new format.
      
      	* app/tools/gimplevelstool.c (gimp_levels_tool_settings_import):
      	add the same file format detection code as in the curves tool
      	so it transparently loads old and new levels files.
      
      
      svn path=/trunk/; revision=27194
      e21935a7
    • Sven Neumann's avatar
      fixed email in ChangeLog entry · 176c24be
      Sven Neumann authored
      svn path=/trunk/; revision=27193
      176c24be
    • Sven Neumann's avatar
      use GIMP_MINOR_VERSION to determine the version to migrate from. · ecccddd3
      Sven Neumann authored
      2008-10-09  Sven Neumann  <sven@sven>
      
      	* app/core/gimp-user-install.c (gimp_user_install_detect_old):
      	use GIMP_MINOR_VERSION to determine the version to migrate from.
      
      
      svn path=/trunk/; revision=27192
      ecccddd3
    • Michael Natterer's avatar
      when saving a curve of type GIMP_CURVE_FREE, don't use · 97b8f510
      Michael Natterer authored
      2008-10-09  Michael Natterer  <mitch@gimp.org>
      
      	* app/gegl/gimpcurvesconfig.c (gimp_curves_config_save_cruft):
      	when saving a curve of type GIMP_CURVE_FREE, don't use
      	gimp_curve_get_point() because that returns nothing for free
      	curves.
      
      	(gimp_curves_config_load_cruft): reset the curve before loading it.
      
      	* app/core/gimpcurve.c (gimp_curve_get_point): instead of above
      	mentioned uninitialized nonsense, at least return -1,-1 for free
      	curves.
      
      
      svn path=/trunk/; revision=27190
      97b8f510
    • Michael Natterer's avatar
      app/Makefile.am change 2.6 to 2.7 here too. · fafec130
      Michael Natterer authored
      2008-10-09  Michael Natterer  <mitch@gimp.org>
      
      	* app/Makefile.am
      	* tools/Makefile.am: change 2.6 to 2.7 here too.
      
      
      svn path=/trunk/; revision=27189
      fafec130
    • Michael Natterer's avatar
      app/Makefile.am change 2.6 to 2.7 here too. · 381d5214
      Michael Natterer authored
      2008-10-09  Michael Natterer  <mitch@gimp.org>
      
      	* app/Makefile.am
      	* tools/Makefile.am: change 2.6 to 2.7 here too.
      
      
      svn path=/trunk/; revision=27188
      381d5214
  2. 08 Oct, 2008 19 commits
  3. 07 Oct, 2008 11 commits