1. 09 Feb, 2008 5 commits
    • Michael Natterer's avatar
      keep the anchor points as an array of GimpVector2 instead of plain · 797309b2
      Michael Natterer authored
      2008-02-09  Michael Natterer  <mitch@gimp.org>
      
      	* app/core/gimpcurve.[ch]: keep the anchor points as an array of
      	GimpVector2 instead of plain doubles.
      
      	* app/gegl/gimpcurvesconfig.c
      	* app/widgets/gimpcurveview.c: changed accordingly.
      
      
      svn path=/trunk/; revision=24842
      797309b2
    • Michael Natterer's avatar
      cleanup. · 437becc4
      Michael Natterer authored
      2008-02-09  Michael Natterer  <mitch@gimp.org>
      
      	* app/widgets/gimpcurveview.c (gimp_curve_view_draw_point): cleanup.
      
      
      svn path=/trunk/; revision=24841
      437becc4
    • Michael Natterer's avatar
      port internal cursor stuff to gdouble, fix off-by-one in curve drawing, · 58c0ba65
      Michael Natterer authored
      2008-02-09  Michael Natterer  <mitch@gimp.org>
      
      	* app/widgets/gimpcurveview.[ch]: port internal cursor stuff to
      	gdouble, fix off-by-one in curve drawing, fix drawing artefact in
      	handle drawing by starting drawing on the handle's outline and not
      	its center.
      
      
      svn path=/trunk/; revision=24839
      58c0ba65
    • Michael Natterer's avatar
      port the "xpos" API to [0.0..1.0] doubles too. · e8313005
      Michael Natterer authored
      2008-02-09  Michael Natterer  <mitch@gimp.org>
      
      	* app/widgets/gimpcurveview.[ch]: port the "xpos" API
      	to [0.0..1.0] doubles too.
      
      	* app/tools/gimpcurvestool.[ch]: rename "col_value" member to
      	"picked_color" and use gdouble instead of gint. Also use GimpCurve
      	API to map the values instead of accessing the curve directly.
      	Fixes setting curve anchor points by color picking.
      
      
      svn path=/trunk/; revision=24838
      e8313005
    • Michael Natterer's avatar
      changed all values to be [0.0..1.0] doubles instead of [0..255] integers. · 044359f9
      Michael Natterer authored
      2008-02-09  Michael Natterer  <mitch@gimp.org>
      
      	* app/core/gimpcurve.[ch]: changed all values to be [0.0..1.0]
      	doubles instead of [0..255] integers. Also changed the API to use
      	doubles instead of ints. Still have the fixed-size arrays though.
      
      	(gimp_curve_map): new function to map values.
      
      	* app/gegl/gimpoperationcurves.c: remove private map() function
      	and use the one from GimpCurve.
      
      	* app/gegl/gimpcurvesconfig.c
      	* app/core/gimpdrawable-curves.c: port to the new gdouble API.
      
      	* app/tools/gimpcurvestool.c: use gimp_curve_get_uchar() to get
      	the arrays for the color bars.
      
      	* app/widgets/gimpcurveview.[ch]: port to gdouble and some cleanup.
      
      
      svn path=/trunk/; revision=24837
      044359f9
  2. 08 Feb, 2008 6 commits
  3. 07 Feb, 2008 6 commits
    • Michael Natterer's avatar
      add some perl evilness to make the includes in the generated files look · e4b3d432
      Michael Natterer authored
      2008-02-07  Michael Natterer  <mitch@gimp.org>
      
      	* tools/pdbgen/app.pl: add some perl evilness to make the includes
      	in the generated files look almost like they should.
      
      	* tools/pdbgen/pdb/*.pdb: remove inclusion of "core/gimp.h" where
      	not needed, clean up lists of includes and functions and reorder
      	some functions to make more sense. Zero logic changed.
      
      	* app/pdb/*_cmds.c
      	* libgimp/gimpcontext_pdb.[ch]
      	* libgimp/gimpbrush_pdb.[ch]: regenerated.
      
      
      svn path=/trunk/; revision=24830
      e4b3d432
    • Michael Natterer's avatar
      add some perl evilness to make the includes in the generated files look · dc490d3b
      Michael Natterer authored
      2008-02-07  Michael Natterer  <mitch@gimp.org>
      
      	* tools/pdbgen/app.pl: add some perl evilness to make the includes
      	in the generated files look almost like they should.
      
      	* tools/pdbgen/pdb/*.pdb: remove inclusion of "core/gimp.h" where
      	not needed, clean up lists of includes and functions and reorder
      	some functions to make more sense. Zero logic changed.
      
      	* app/pdb/*_cmds.c
      	* libgimp/gimpcontext_pdb.[ch]
      	* libgimp/gimpbrush_pdb.[ch]: regenerated.
      
      
      svn path=/trunk/; revision=24829
      dc490d3b
    • Sven Neumann's avatar
      added configure checks for the iso-codes package. · 7f2a8fc3
      Sven Neumann authored
      2008-02-07  Sven Neumann  <sven@gimp.org>
      
      	* configure.in: added configure checks for the iso-codes package.
      
      	* app/widgets/Makefile.am
      	* app/widgets/widgets-types.h
      	* app/widgets/gimplanguagestore.[ch]:
      	* app/widgets/gimplanguagestore-parser.[ch]: added rough outline
      	of GtkListStore for language selection.
      
      svn path=/trunk/; revision=24828
      7f2a8fc3
    • Michael Natterer's avatar
      add get_pid() which returns getpid(). · 3a66deae
      Michael Natterer authored
      2008-02-07  Michael Natterer  <mitch@gimp.org>
      
      	* app/base/base-utils.[ch]: add get_pid() which returns getpid().
      
      	* app/base/base.c
      	* app/base/tile-swap.c
      	* app/core/gimp-utils.c
      	* app/plug-in/gimppluginshm.c
      	* app/widgets/gimpselectiondata.c
      	* tools/pdbgen/pdb/misc.pdb: use it instead of getpid() and remove
      	all the #ifdef'ed includes getpid() needs.
      
      	* tools/pdbgen/app.pl: remove support for these includes. Also
      	remove some perl cruft in the include handling which is not needed
      	any longer.
      
      	* app/pdb/misc_cmds.c: regenerated.
      
      
      svn path=/trunk/; revision=24827
      3a66deae
    • Michael Natterer's avatar
      #include <gegl.h> instead of <glib-object.h> · ce7e0c22
      Michael Natterer authored
      2008-02-07  Michael Natterer  <mitch@gimp.org>
      
      	* app/app.c: #include <gegl.h> instead of <glib-object.h>
      
      
      svn path=/trunk/; revision=24826
      ce7e0c22
    • Sven Neumann's avatar
      formatting. · 52b1a68b
      Sven Neumann authored
      2008-02-07  Sven Neumann  <sven@gimp.org>
      
      	* app/text/gimptext-parasite.c: formatting.
      
      
      svn path=/trunk/; revision=24825
      52b1a68b
  4. 06 Feb, 2008 6 commits
  5. 05 Feb, 2008 16 commits
    • Stéphane Raimbault's avatar
      Merged from gimp-2-4. · 2e5e9582
      Stéphane Raimbault authored
      2008-02-05  Stéphane Raimbault  <stephane.raimbault@gmail.com>
      
      	* fr.po: Merged from gimp-2-4.
      
      svn path=/trunk/; revision=24817
      2e5e9582
    • Michael Natterer's avatar
      don't include <gegl-plugin.h> any longer. · 3d079cfa
      Michael Natterer authored
      2008-02-05  Michael Natterer  <mitch@gimp.org>
      
      	* app/tools/gimpgegltool.c: don't include <gegl-plugin.h> any longer.
      
      
      svn path=/trunk/; revision=24816
      3d079cfa
    • Michael Natterer's avatar
      don't forget the label for entry widgets. · d258d331
      Michael Natterer authored
      2008-02-05  Michael Natterer  <mitch@gimp.org>
      
      	* app/widgets/gimppropwidgets.c (gimp_prop_table_new): don't forget
      	the label for entry widgets.
      
      
      svn path=/trunk/; revision=24815
      d258d331
    • Martin Nordholts's avatar
      Applied patch from Olof Frahm which makes loading of data files (brushes · 356b1a87
      Martin Nordholts authored
      2008-02-05  Martin Nordholts  <martinn@svn.gnome.org>
      
      	Applied patch from Olof Frahm which makes loading of data
      	files (brushes and so on) happen recursively (bug #514160).
      
      	* app/core/gimpdatafactory.c
      	(gimp_data_factory_data_load): Recursively search sub directories
      	for data files using the new helper function
      	(gimp_data_factory_load_data_recursive)
      
      svn path=/trunk/; revision=24814
      356b1a87
    • Sven Neumann's avatar
      spelling fix. · a93cb8d7
      Sven Neumann authored
      2008-02-05  Sven Neumann  <sven@gimp.org>
      
      	* app/tools/gimpgegltool.c: spelling fix.
      
      
      svn path=/trunk/; revision=24813
      a93cb8d7
    • Michael Natterer's avatar
      use gegl_node_get_pad() instead of gegl_node_find_property() to find out · 698fabcd
      Michael Natterer authored
      2008-02-05  Michael Natterer  <mitch@gimp.org>
      
      	* app/core/gimpimagemap.c (gimp_image_map_apply): use
      	gegl_node_get_pad() instead of gegl_node_find_property() to find
      	out whether the node has an "input" pad.
      
      	* app/tools/gimpgegltool.c: #include "core/gimpimagemap.h"
      
      
      svn path=/trunk/; revision=24812
      698fabcd
    • Sven Neumann's avatar
      themes/Default/images/stock-gegl-24.png replaced placeholder icon by a · 21f6b7f9
      Sven Neumann authored
      2008-02-05  Sven Neumann  <sven@gimp.org>
      
      	* themes/Default/images/stock-gegl-24.png
      	* themes/Default/images/stock-gegl-16.png: replaced placeholder
      	icon by a crappy drawing of a genetically engineered goat, large.
      
      svn path=/trunk/; revision=24811
      21f6b7f9
    • Michael Natterer's avatar
      do the right thing for operations without "input" pad so we can use all · d0802832
      Michael Natterer authored
      2008-02-05  Michael Natterer  <mitch@gimp.org>
      
      	* app/core/gimpimagemap.c (gimp_image_map_apply): do the right
      	thing for operations without "input" pad so we can use all source
      	operations too.
      
      	* app/tools/gimpimagemaptool.[ch]: make
      	gimp_image_map_tool_create_map() public for the time being.
      
      	* app/tools/gimpgegltool.c (gimp_gegl_tool_operation_changed):
      	recreate the GimpImageMap so we can switch from filter to source
      	operations and back.
      
      
      svn path=/trunk/; revision=24810
      d0802832
    • Michael Natterer's avatar
      new function which creates a table of prop widgets for all properties of · b4255ae3
      Michael Natterer authored
      2008-02-05  Michael Natterer  <mitch@gimp.org>
      
      	* app/widgets/gimppropwidgets.[ch] (gimp_prop_table_new): new
      	function which creates a table of prop widgets for all properties
      	of an object (pretty incomplete, does exactly what's needed in
      	GimpGeglTool, or even less).
      
      	* app/tools/gimpgegltool.c: create a proxy config class for each
      	GegĺOperation and create a prop table on the config class'
      	properties as GUI for the GEGL operation. Write the proxy object's
      	properties back to the GeglNode in map().
      
      
      svn path=/trunk/; revision=24809
      b4255ae3
    • Sven Neumann's avatar
      changed coordinate transformation for floats. Fixes bug #510294. · ed6d75cb
      Sven Neumann authored
      2008-02-05  Sven Neumann  <sven@gimp.org>
      
      	* app/display/gimpdisplayshell-transform.c: changed coordinate
      	transformation for floats. Fixes bug #510294.
      
      svn path=/trunk/; revision=24808
      ed6d75cb
    • Sven Neumann's avatar
      use the user context when creating the new image. Fixes bug #514082. · 5f9a9aa3
      Sven Neumann authored
      2008-02-05  Sven Neumann  <sven@gimp.org>
      
      	* app/dialogs/image-new-dialog.c (image_new_create_image):
      	use the user context when creating the new image. Fixes bug #514082.
      
      svn path=/trunk/; revision=24806
      5f9a9aa3
    • Sven Neumann's avatar
      simplified code and user interface by removing the uuencode option and the · 91774c8c
      Sven Neumann authored
      2008-02-05  Sven Neumann  <sven@gimp.org>
      
      	* plug-ins/common/mail.c: simplified code and user interface by
      	removing the uuencode option and the comment field which only
      	duplicated the message body.
      	(to64): fixed a bug in the base64 encoding.
      
      svn path=/trunk/; revision=24804
      91774c8c
    • Sven Neumann's avatar
      changed menu label and dialog title to "Send by Email". · 464fd313
      Sven Neumann authored
      2008-02-05  Sven Neumann  <sven@gimp.org>
      
      	* plug-ins/common/mail.c: changed menu label and dialog title to
      	"Send by Email".
      
      
      svn path=/trunk/; revision=24803
      464fd313
    • Sven Neumann's avatar
      removed ellipsis from "Page Setup" menu entry as specified in the HIG. · 7e67feed
      Sven Neumann authored
      2008-02-05  Sven Neumann  <sven@gimp.org>
      
      	* plug-ins/print/print.c: removed ellipsis from "Page Setup" 
      menu
      	entry as specified in the HIG.
      
      
      svn path=/trunk/; revision=24802
      7e67feed
    • Michael Natterer's avatar
      don't try to add a NULL config to the recent settings menu. · 0b4a8e2e
      Michael Natterer authored
      2008-02-05  Michael Natterer  <mitch@gimp.org>
      
      	* app/tools/gimpimagemaptool.c (gimp_image_map_tool_response): don't
      	try to add a NULL config to the recent settings menu.
      
      
      svn path=/trunk/; revision=24801
      0b4a8e2e
    • Michael Natterer's avatar
      themes/Default/images/Makefile.am themes/Default/images/stock-gegl-16.png · dbadd4c5
      Michael Natterer authored
      2008-02-05  Michael Natterer  <mitch@gimp.org>
      
      	* themes/Default/images/Makefile.am
      	* themes/Default/images/stock-gegl-16.png
      	* themes/Default/images/stock-gegl-24.png
      	* libgimpwidgets/gimpstock.[ch]: new stock icon to be replaced by
      	somebody who can draw ;)
      
      	* app/tools/gimpgegltool.c: use it.
      
      
      svn path=/trunk/; revision=24800
      dbadd4c5
  6. 04 Feb, 2008 1 commit
    • Michael Natterer's avatar
      app/tools/Makefile.am add experimental GEGL tool which will allow to try · b477c755
      Michael Natterer authored
      2008-02-05  Michael Natterer  <mitch@gimp.org>
      
      	* app/tools/Makefile.am
      	* app/tools/gimpgegltool.[ch]: add experimental GEGL tool which
      	will allow to try arbitrary GEGL operations. 100% unusable at the
      	moment.
      
      	* app/tools/gimp-tools.c: register it.
      
      	* app/dialogs/dialogs.c: register its dialog.
      
      	* menus/image-menu.xml.in: add it to the tools menu.
      
      
      svn path=/trunk/; revision=24799
      b477c755