1. 26 Nov, 2018 1 commit
  2. 11 Jul, 2018 1 commit
  3. 19 May, 2016 1 commit
  4. 25 Jan, 2016 1 commit
  5. 04 Oct, 2014 1 commit
  6. 07 Sep, 2014 1 commit
  7. 03 Jul, 2014 1 commit
  8. 02 Jul, 2014 1 commit
  9. 14 Oct, 2013 1 commit
    • Michael Natterer's avatar
      app,libgimp*: fix includes to follow our include policy · 697572cc
      Michael Natterer authored
      - don't include <gdk-pixbuf/gdk-pixbuf.h> in headers in app/
      - instead, include it in many .c files instead of <glib-object.h>,
        finally acknowledging the fact that app/ depends on gdk-pixbuf almost
        globally
      - fix up includes as if libgimpbase depended in GIO, which it soon will
      697572cc
  10. 21 Feb, 2010 1 commit
    • Michael Natterer's avatar
      app: use the new unit conversion functions · 0908e531
      Michael Natterer authored
      and get rid of the brainfuck idea that app/ has to use _gimp_unit_foo()
      functions, passing a gimp pointer. Instead, simply use the libgimpbase
      API all over the place. Should we ever allow more than one gimp instance,
      they will simply have to share one unit database.
      0908e531
  11. 31 Aug, 2009 1 commit
  12. 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
  13. 12 Nov, 2008 1 commit
    • Sven Neumann's avatar
      app/core/Makefile.am added GIMP_ERROR as general error domain. · b37c8bcf
      Sven Neumann authored
      2008-11-12  Sven Neumann  <sven@gimp.org>
      
      	* app/core/Makefile.am
      	* app/core/gimperror.[ch]: added GIMP_ERROR as general error 
      domain.
      
      	* app/core/gimpchannel.c
      	* app/core/gimpdrawable-bucket-fill.c
      	* app/core/gimpimage-convert.c
      	* app/core/gimpimage-merge.c
      	* app/core/gimpimage.c
      	* app/core/gimplayer-floating-sel.c
      	* app/core/gimplayer.c
      	* app/core/gimplayermask.c
      	* app/core/gimpselection.c
      	* app/core/gimptooloptions.c
      	* app/paint/gimpbrushcore.c
      	* app/paint/gimpclone.c
      	* app/paint/gimpheal.c
      	* app/paint/gimppaintcore-stroke.c
      	* app/paint/gimpperspectiveclone.c
      	* app/paint/gimpsourcecore.c
      	* app/tools/gimpblendtool.c
      	* app/tools/gimpbrightnesscontrasttool.c
      	* app/tools/gimpcolorbalancetool.c
      	* app/tools/gimpcolorizetool.c
      	* app/tools/gimpcurvestool.c
      	* app/tools/gimpdesaturatetool.c
      	* app/tools/gimpgegltool.c
      	* app/tools/gimphuesaturationtool.c
      	* app/tools/gimplevelstool.c
      	* app/tools/gimpposterizetool.c
      	* app/tools/gimpthresholdtool.c
      	* app/vectors/gimpvectors-import.c: use GIMP_ERROR as error 
      domain
      	instead of 0, which is not accepted by g_set_error_literal().
      
      	* app/gui/session.c
      	* app/menus/menus.c
      	* app/vectors/gimpvectors-export.c
      	* app/widgets/gimpdevices.c: use G_FILE_ERROR as error domain 
      for
      	file errors.
      
      
      svn path=/trunk/; revision=27628
      b37c8bcf
  14. 02 Nov, 2008 1 commit
    • Michael Natterer's avatar
      add new functions gimp_image_get_layer_iter(), channel_iter() and · d1ca165b
      Michael Natterer authored
      2008-11-02  Michael Natterer  <mitch@gimp.org>
      
      	* app/core/gimpimage.[ch]: add new functions
      	gimp_image_get_layer_iter(), channel_iter() and vectors_iter()
      	which return the GList inside the resp. GimpList.
      
      	* app/actions/channels-actions.c
      	* app/actions/layers-actions.c
      	* app/actions/vectors-actions.c
      	* app/core/gimpimage-convert.c
      	* app/core/gimpimage-crop.c
      	* app/core/gimpimage-duplicate.c
      	* app/core/gimpimage-flip.c
      	* app/core/gimpimage-item-list.c
      	* app/core/gimpimage-merge.c
      	* app/core/gimpimage-resize.c
      	* app/core/gimpimage-rotate.c
      	* app/core/gimpimage-scale.c
      	* app/core/gimpimage.c
      	* app/core/gimpimage.h
      	* app/core/gimpprojection-construct.c
      	* app/display/gimpdisplayshell-draw.c
      	* app/file/file-open.c
      	* app/tools/gimpaligntool.c
      	* app/tools/gimpdrawtool.c
      	* app/vectors/gimpvectors-compat.c
      	* app/vectors/gimpvectors-export.c
      	* app/widgets/gimplayertreeview.c
      	* app/xcf/xcf-save.c
      	* tools/pdbgen/pdb/image.pdb: use the new functions instead of
      	peeking both into the image and the list. Remove inclusions of
      	"gimplist.h" or change them into "gimpcontainer.h" if needed.
      
      	* app/pdb/image-cmds.c: regenerated.
      
      
      svn path=/trunk/; revision=27524
      d1ca165b
  15. 09 Oct, 2008 1 commit
    • 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
  16. 26 Dec, 2007 1 commit
    • Michael Natterer's avatar
      app/actions/image-commands.c app/actions/select-commands.c · 1e837136
      Michael Natterer authored
      2007-12-26  Michael Natterer  <mitch@gimp.org>
      
      	* app/actions/image-commands.c
      	* app/actions/select-commands.c
      	* app/core/gimp-edit.c
      	* app/core/gimpdrawable-stroke.c
      	* app/core/gimpimage-duplicate.c
      	* app/core/gimpimage-preview.c
      	* app/core/gimpimage-rotate.c
      	* app/core/gimpimageundo.c
      	* app/core/gimpitem-preview.c
      	* app/dialogs/grid-dialog.c
      	* app/dialogs/layer-options-dialog.c
      	* app/dialogs/offset-dialog.c
      	* app/dialogs/stroke-dialog.c
      	* app/display/gimpdisplayshell-scale.c
      	* app/display/gimpdisplayshell-title.c
      	* app/display/gimpdisplayshell.c
      	* app/display/gimpstatusbar.c
      	* app/paint/gimppaintoptions.c
      	* app/tools/gimpmagnifytool.c
      	* app/tools/gimpmeasuretool.c
      	* app/tools/gimppainttool.c
      	* app/tools/gimprectangletool.c
      	* app/tools/gimprotatetool.c
      	* app/tools/gimpscaletool.c
      	* app/tools/gimptexttool.c
      	* app/vectors/gimpvectors-export.c
      	* app/vectors/gimpvectors-import.c
      	* app/widgets/gimpcursorview.c
      	* app/widgets/gimpimagepropview.c
      	* app/widgets/gimptoolbox-dnd.c
      	* app/widgets/gimpviewrendererdrawable.c
      	* app/widgets/gimpviewrendererimage.c
      	* app/xcf/xcf-load.c
      	* app/xcf/xcf-save.c: use gimp_image_get/set_resolution() instead
      	of accessing the GimpImage members directly.
      
      
      svn path=/trunk/; revision=24436
      1e837136
  17. 25 Dec, 2007 1 commit
    • Michael Natterer's avatar
      app/actions/channels-commands.c app/actions/colormap-actions.c · 75061fcc
      Michael Natterer authored
      2007-12-25  Michael Natterer  <mitch@gimp.org>
      
      	* app/actions/channels-commands.c
      	* app/actions/colormap-actions.c
      	* app/actions/colormap-commands.c
      	* app/actions/image-commands.c
      	* app/core/gimp-edit.c
      	* app/core/gimpdrawable-preview.c
      	* app/core/gimpimage-colorhash.c
      	* app/core/gimpimage-colormap.c
      	* app/core/gimpimage-convert.c
      	* app/core/gimpimage-crop.c
      	* app/core/gimpimage-duplicate.c
      	* app/core/gimpimage-flip.c
      	* app/core/gimpimage-guides.c
      	* app/core/gimpimage-merge.c
      	* app/core/gimpimage-preview.c
      	* app/core/gimpimage-quick-mask.c
      	* app/core/gimpimage-resize.c
      	* app/core/gimpimage-rotate.c
      	* app/core/gimpimage-sample-points.c
      	* app/core/gimpimage-scale.c
      	* app/core/gimpimage-snap.c
      	* app/core/gimpimage.c
      	* app/core/gimpimagefile.c
      	* app/core/gimpimageundo.c
      	* app/core/gimpitem-preview.c
      	* app/core/gimpitem.c
      	* app/core/gimplayer.c
      	* app/core/gimppalette-import.c
      	* app/core/gimpprojection-construct.c
      	* app/core/gimpprojection.c
      	* app/core/gimpselection.c
      	* app/core/gimpundo.c
      	* app/dialogs/layer-options-dialog.c
      	* app/dialogs/print-size-dialog.c
      	* app/display/gimpdisplay.c
      	* app/display/gimpdisplayshell-draw.c
      	* app/display/gimpdisplayshell-scale.c
      	* app/display/gimpdisplayshell-scroll.c
      	* app/display/gimpdisplayshell-title.c
      	* app/display/gimpdisplayshell-transform.c
      	* app/display/gimpdisplayshell.c
      	* app/display/gimpstatusbar.c
      	* app/file/file-open.c
      	* app/paint/gimppaintoptions.c
      	* app/tools/gimpaligntool.c
      	* app/tools/gimpcolortool.c
      	* app/tools/gimpeditselectiontool.c
      	* app/tools/gimpiscissorstool.c
      	* app/tools/gimpmeasuretool.c
      	* app/tools/gimpmovetool.c
      	* app/tools/gimpperspectiveclonetool.c
      	* app/tools/gimprectangleselecttool.c
      	* app/tools/gimprectangletool.c
      	* app/tools/gimprotatetool.c
      	* app/vectors/gimpvectors-export.c
      	* app/vectors/gimpvectors-import.c
      	* app/vectors/gimpvectors.c
      	* app/widgets/gimpimagepropview.c
      	* app/widgets/gimpnavigationview.c
      	* app/widgets/gimpselectioneditor.c
      	* app/widgets/gimpviewrendererdrawable.c
      	* app/widgets/gimpviewrendererimage.c
      	* app/xcf/xcf-load.c
      	* app/xcf/xcf-save.c
      	* tools/pdbgen/pdb/guides.pdb
      	* tools/pdbgen/pdb/image.pdb: use accessors for many image properties.
      
      	* app/pdb/guides_cmds.c
      	* app/pdb/image_cmds.c: regenerated.
      
      
      svn path=/trunk/; revision=24432
      75061fcc
  18. 04 Jun, 2007 1 commit
  19. 09 Dec, 2006 1 commit
  20. 07 Feb, 2005 1 commit
    • Sven Neumann's avatar
      app/config/gimpconfig-file.c app/file/file-utils.c app/gui/themes.c · 47c35a6e
      Sven Neumann authored
      2005-02-07  Sven Neumann  <sven@gimp.org>
      
      	* app/config/gimpconfig-file.c
      	* app/file/file-utils.c
      	* app/gui/themes.c
      	* app/tools/gimpimagemaptool.c
      	* app/vectors/gimpvectors-export.c
      	* app/widgets/gimpwidgets-utils.c
      	* app/xcf/xcf.c
      	* tools/pdbgen/pdb/procedural_db.pdb: use gstdio wrappers.
      
      	* app/pdb/procedural_db_cmds.c: regenerated.
      47c35a6e
  21. 12 Oct, 2004 1 commit
    • Sven Neumann's avatar
      renamed struct member "unit" to "resolution_unit". · ab6c609c
      Sven Neumann authored
      2004-10-12  Sven Neumann  <sven@gimp.org>
      
      	* app/core/gimpimage.[ch]: renamed struct member "unit" to
      	"resolution_unit".
      
      	* app/actions/image-commands.c
      	* app/core/gimp-edit.c
      	* app/core/gimpimage-duplicate.c
      	* app/core/gimpimage-undo-push.c
      	* app/dialogs/info-window.c
      	* app/vectors/gimpvectors-export.c
      	* app/widgets/gimptoolbox-dnd.c:
      	* app/xcf/xcf-load.c
      	* app/xcf/xcf-save.c: changed accordingly. Use gimp_image_get_unit()
      	where appropriate.
      
      	* app/core/gimptemplate.c (gimp_template_set_from_image): fixed
      	unit handling. Don't touch the template unit, it is used as the
      	initial display unit. This will need further changes...
      ab6c609c
  22. 01 Jun, 2004 1 commit
    • Sven Neumann's avatar
      tools/pdbgen/pdb/image.pdb app/pdb/image_cmds.c reverted changes I did to · c509204b
      Sven Neumann authored
      2004-06-01  Sven Neumann  <sven@gimp.org>
      
      	* tools/pdbgen/pdb/image.pdb
      	* app/pdb/image_cmds.c
      	* app/core/gimpimage.[ch]: reverted changes I did to the image
      	unit earlier. As in 2.0, it will continue to not accept pixels.
      	This makes the PDB API and the XCF format compatible again and
      	fixes bug #142961 (and to some extent bug #137704).
      
      	* app/core/Makefile.am
      	* app/core/gimpimage-unit.[ch]: removed these files. The
      	convenience accessors defined here aren't commonly used any
      	longer.
      
      	* app/display/gimpdisplay.[ch]
      	* app/display/gimpdisplayshell.[ch]: added a unit parameter to
      	gimp_display_new(). Made "unit" and "scale" properties of
      	GimpDisplayShell.
      
      	* app/actions/image-commands.c
      	* app/actions/images-commands.c
      	* app/actions/layers-commands.c
      	* app/actions/select-commands.c
      	* app/actions/view-commands.c
      	* app/core/gimp-edit.c
      	* app/core/gimp.[ch]
      	* app/core/gimptemplate.c
      	* app/display/gimpdisplayshell-handlers.c
      	* app/display/gimpdisplayshell-scale.c
      	* app/display/gimpdisplayshell-title.c
      	* app/display/gimpstatusbar.c
      	* app/file/file-open.c
      	* app/gui/gui-vtable.c
      	* app/gui/info-window.c
      	* app/gui/offset-dialog.c
      	* app/gui/resize-dialog.[ch]
      	* app/pdb/display_cmds.c
      	* app/tools/gimpcroptool.c
      	* app/tools/gimpmeasuretool.c
      	* app/tools/gimppainttool.c
      	* app/tools/gimprectselecttool.c
      	* app/tools/gimprotatetool.c
      	* app/tools/gimpscaletool.c
      	* app/vectors/gimpvectors-export.c
      	* app/widgets/gimptoolbox-dnd.c
      	* tools/pdbgen/pdb/display.pdb: changed accordingly. Use the
      	display unit where the image unit was used before.
      c509204b
  23. 19 Jan, 2004 2 commits
    • Sven Neumann's avatar
      include "libgimpbase/gimpbase.h" where needed; removed now unnecessary · 6d506d51
      Sven Neumann authored
      2004-01-19  Sven Neumann  <sven@gimp.org>
      
      	* app/*/*.c: include "libgimpbase/gimpbase.h" where needed; removed
      	now unnecessary inclusions of "file/file-utils.h".
      6d506d51
    • Sven Neumann's avatar
      removed file_utils_filename_to_utf8() ... · a70698c4
      Sven Neumann authored
      2004-01-19  Sven Neumann  <sven@gimp.org>
      
      	* app/file/file-utils.[ch]: removed file_utils_filename_to_utf8() ...
      
      	* libgimpbase/gimputils.[ch]: ... and added it here as
      	gimp_filename_to_utf8(). Added some docs that promise less than
      	the current implementation holds so that we can change the
      	implementation later.
      
      	* app/*/*.c: use gimp_filename_to_utf8() where
      	file_utils_filenames_to_utf8() has been used before.
      
      	* libgimpbase/gimpbase.def: changed accordingly.
      
      	* configure.in: reset GIMP_INTERFACE_AGE.
      a70698c4
  24. 14 Jan, 2004 1 commit
    • Tor Lillqvist's avatar
      Add new function file_utils_filename_to_utf8(), which is to be used when · 18485018
      Tor Lillqvist authored
      2004-01-14  Tor Lillqvist  <tml@iki.fi>
      
      	* app/file/file-utils.[ch]: Add new function
      	file_utils_filename_to_utf8(), which is to be used when converting
      	file names (which are kept in the on-disk encoding) to UTF-8 for
      	passing to GTK, or to g_print() etc.
      
      	* app/*/*.c: Call file_utils_filename_to_utf8(). Should fix most
      	of the warnings generated by non-UTF8 pathnames. See #130118.
      
      	* libgimpbase/gimpenv.b: Document that gimp_directory() etc return
      	strings in the on-disk encoding.
      
      	* libgimpmodule/gimpmodule.c: Convert filenames to UTF-8 (using
      	g_filename_to_utf8()) before passing to g_print().
      18485018
  25. 21 Dec, 2003 2 commits
    • Sven Neumann's avatar
      removed the GError parameter from gimp_vectors_export_string() and · 9630d408
      Sven Neumann authored
      2003-12-21  Sven Neumann  <sven@gimp.org>
      
      	* app/vectors/gimpvectors-export.[ch]: removed the GError parameter
      	from gimp_vectors_export_string() and implemented this function.
      9630d408
    • Sven Neumann's avatar
      added gimp_xml_parser_parse_buffer(). · 3e1b93cc
      Sven Neumann authored
      2003-12-20  Sven Neumann  <sven@gimp.org>
      
      	* app/config/gimpxmlparser.[ch]: added gimp_xml_parser_parse_buffer().
      
      	* app/vectors/gimpvectors-export.[ch]: renamed gimp_vectors_export()
      	to gimp_vectors_export_file() and added a stub called
      	gimp_vectors_export_string().
      
      	* app/vectors/gimpvectors-import.[ch]: renamed gimp_vectors_import()
      	to gimp_vectors_import_file() and added gimp_vectors_import_buffer().
      
      	* app/gui/vectors-commands.c
      	* tools/pdbgen/pdb/paths.pdb: changed accordingly.
      
      	* app/pdb/paths_cmds.c: regenerated.
      3e1b93cc
  26. 14 Nov, 2003 1 commit
    • Michael Natterer's avatar
      libgimpwidgets/gimpquerybox.c configure the labels in the message dialog · 6eb77294
      Michael Natterer authored
      2003-11-14  Michael Natterer  <mitch@gimp.org>
      
      	* libgimpwidgets/gimpquerybox.c
      	* app/widgets/gimpwidgets-utils.c: configure the labels in the
      	message dialog and the query boxes to do automatic word wrapping
      	to be HIG compliant.
      
      	* app/app_procs.c
      	* app/batch.c
      	* app/config/gimpconfig-deserialize.c
      	* app/config/gimpconfig-path.c
      	* app/config/gimpconfig-utils.c
      	* app/config/gimpconfigwriter.c
      	* app/config/gimpscanner.c
      	* app/core/gimpbrush.c
      	* app/core/gimpbrushgenerated.c
      	* app/core/gimpbrushpipe.c
      	* app/core/gimpdatafactory.c
      	* app/core/gimpgradient.c
      	* app/core/gimpimage-merge.c
      	* app/core/gimpimage.c
      	* app/core/gimpimagefile.c
      	* app/core/gimplayer-floating-sel.c
      	* app/core/gimppalette.c
      	* app/core/gimppattern.c
      	* app/core/gimpselection.c
      	* app/display/gimpdisplayshell.c
      	* app/file/file-utils.c
      	* app/gui/brush-select.c
      	* app/gui/dialogs-commands.c
      	* app/gui/drawable-commands.c
      	* app/gui/edit-commands.c
      	* app/gui/file-commands.c
      	* app/gui/file-new-dialog.c
      	* app/gui/font-select.c
      	* app/gui/gradient-select.c
      	* app/gui/gui.c
      	* app/gui/image-commands.c
      	* app/gui/layers-commands.c
      	* app/gui/palette-select.c
      	* app/gui/palettes-commands.c
      	* app/gui/pattern-select.c
      	* app/gui/preferences-dialog.c
      	* app/gui/select-commands.c
      	* app/gui/stroke-dialog.c
      	* app/gui/tool-options-menu.c
      	* app/gui/vectors-commands.c
      	* app/gui/view-commands.c
      	* app/plug-in/plug-in-message.c
      	* app/plug-in/plug-in.c
      	* app/plug-in/plug-ins.c
      	* app/text/gimptextlayer-xcf.c
      	* app/text/gimptextlayer.c
      	* app/tools/gimpcurvestool.c
      	* app/tools/gimphuesaturationtool.c
      	* app/tools/gimplevelstool.c
      	* app/tools/gimptransformtool.c
      	* app/vectors/gimpvectors-export.c
      	* app/widgets/gimpdatafactoryview.c
      	* app/widgets/gimphelp.c
      	* app/widgets/gimptemplateview.c
      	* app/widgets/gimptooloptionseditor.c
      	* app/xcf/xcf.c
      	* tools/pdbgen/pdb/image.pdb: removed explicit newlines from
      	messages. Reduced number of translatable strings by making many
      	file error messages the same. Quote single words and filenames
      	with 'foo', not "foo". Replaced some more "drawable" by "layer".
      	General message cleanup and consistency check.
      
      	* app/pdb/image_cmds.c: regenerated.
      6eb77294
  27. 01 Oct, 2003 1 commit
    • Sven Neumann's avatar
      app/core/Makefile.am added small wrappers to ease handling of image units · 69f7bd13
      Sven Neumann authored
      2003-10-01  Sven Neumann  <sven@gimp.org>
      
      	* app/core/Makefile.am
      	* app/core/gimpimage-unit.[ch]: added small wrappers to ease
      	handling of image units and to hide the core GimpUnit API.
      
      	* app/display/gimpdisplayshell-scale.c
      	* app/display/gimpdisplayshell-title.c
      	* app/display/gimpstatusbar.c
      	* app/gui/info-window.c:
      	* app/tools/gimpmeasuretool.c
      	* app/tools/gimppainttool.c
      	* app/tools/gimprectselecttool.c
      	* app/tools/gimpscaletool.c: use the new functions.
      
      	* app/core/gimp-units.c
      	* app/vectors/gimpvectors-export.c: use the core GimpUnit API.
      
      	* app/vectors/gimpvectors.c: no need to include gimpunit.h here.
      69f7bd13
  28. 18 Sep, 2003 3 commits
    • Sven Neumann's avatar
      removed compiler warning. · 7a9d3b04
      Sven Neumann authored
      2003-09-18  Sven Neumann  <sven@gimp.org>
      
      	* app/vectors/gimpbezierstroke.c
      	(gimp_bezier_stroke_nearest_point_get): removed compiler warning.
      
      	* app/vectors/gimpvectors-export.c: small formatting change.
      7a9d3b04
    • Sven Neumann's avatar
      always save the image size; default to centimeters. · 8010bf3c
      Sven Neumann authored
      2003-09-18  Sven Neumann  <sven@gimp.org>
      
      	* app/vectors/gimpvectors-export.c (gimp_vectors_export): always
      	save the image size; default to centimeters.
      8010bf3c
    • Sven Neumann's avatar
      save the vectors (or rather image) dimensions in the exported SVG. · 1fc2adfc
      Sven Neumann authored
      2003-09-18  Sven Neumann  <sven@gimp.org>
      
      	* app/vectors/gimpvectors-export.c: save the vectors (or rather
      	image) dimensions in the exported SVG.
      
      	* app/vectors/gimpvectors-import.c: added SVG units parser and
      	finished viewport handling. The parser now respects the size
      	specified in the SVG and the image resolution. Should also handle
      	nested SVGs correctly, but this is untested.
      1fc2adfc
  29. 15 Sep, 2003 3 commits
    • Sven Neumann's avatar
      app/config/Makefile.am app/config/config-types.h new files that hold a · 80bd6f1c
      Sven Neumann authored
      2003-09-15  Sven Neumann  <sven@gimp.org>
      
      	* app/config/Makefile.am
      	* app/config/config-types.h
      	* app/config/gimpxmlparser.[ch]: new files that hold a simple XML
      	parser based on GMarkupParser. It's not a full-featured XML parser;
      	it only adds transparent handling of encodings to GMarkupParser
      	and provides a convenient API to deal with files or IO channels.
      
      	* app/vectors/gimpvectors-import.c: use the new GimpXmlParser.
      
      	* app/vectors/gimpvectors-export.c: write encoding attribute.
      
      	* app/tips-dialog.c
      	* app/tips-parser.c: use the new GimpXmlParser.
      
      	* app/vectors/Makefile.am: had to add one of those truly ugly
      	hacks here in order to get the application linked.
      80bd6f1c
    • Sven Neumann's avatar
      name the vectors after the path id as found in the SVG. · 00c7d7b4
      Sven Neumann authored
      2003-09-15  Sven Neumann  <sven@gimp.org>
      
      	* app/vectors/gimpvectors-import.c: name the vectors after the
      	path id as found in the SVG.
      
      	* app/vectors/gimpvectors-export.c: further improved formatting.
      00c7d7b4
    • Simon Budig's avatar
      Save an id-attribute using the vector objects name. Slightly adjusted · 3e50f57b
      Simon Budig authored
      2003-09-15  Simon Budig  <simon@gimp.org>
      
      	* app/vectors/gimpvectors-export.c: Save an id-attribute
      	using the vector objects name. Slightly adjusted formatting.
      3e50f57b
  30. 12 Sep, 2003 3 commits
    • Sven Neumann's avatar
      added gimp_matrix3_affine(). · 7dd98d21
      Sven Neumann authored
      2003-09-12  Sven Neumann  <sven@gimp.org>
      
      	* libgimpmath/gimpmatrix.[ch]: added gimp_matrix3_affine().
      
      	* app/vectors/gimpvectors-import.c: added (yet unused) funtion to
      	parse SVG transform attributes.
      
      	* app/vectors/gimpvectors-export.c: fixed a stupid bug.
      7dd98d21
    • Simon Budig's avatar
      Don't lose the last segment of closed paths when exporting... · 8de81054
      Simon Budig authored
      2003-09-12  Simon Budig  <simon@gimp.org>
      
      	* app/vectors/gimpvectors-export.c: Don't lose the last
      	segment of closed paths when exporting...
      8de81054
    • Simon Budig's avatar
      Implemented more useful SVG export. · f549e694
      Simon Budig authored
      2003-09-12  Simon Budig  <simon@gimp.org>
      
      	* app/vectors/gimpvectors-export.c: Implemented more useful
      	SVG export.
      f549e694
  31. 11 Sep, 2003 2 commits
    • Sven Neumann's avatar
      allow to optionally export all paths from an image into a single SVG file. · 7772ca46
      Sven Neumann authored
      2003-09-11  Sven Neumann  <sven@gimp.org>
      
      	* app/vectors/gimpvectors-export.[ch]: allow to optionally export
      	all paths from an image into a single SVG file.
      
      	* app/gui/vectors-commands.c: changed accordingly.
      7772ca46
    • Sven Neumann's avatar
      added new function gimp_drawable_transform_matrix_flip(). · 918651ad
      Sven Neumann authored
      2003-09-11  Sven Neumann  <sven@gimp.org>
      
      	* app/core/gimpdrawable-transform-utils.[ch]: added new function
      	gimp_drawable_transform_matrix_flip().
      
      	* app/vectors/gimpstroke.[ch]
      	* app/vectors/gimpvectors.c: don't push the complex GimpItem
      	transformation API down to GimpStroke. Instead setup the matrices
      	in GimpVectors and use a simpler API for GimpStroke.
      
      	* app/vectors/gimpvectors-import.c: changed accordingly.
      
      	* app/vectors/gimpvectors-export.c: close the <path> element.
      918651ad