1. 21 Sep, 2019 1 commit
  2. 16 Aug, 2019 1 commit
    • Niels De Graef's avatar
      libgimpconfig: Prevent GIR conflicts in GimpConfigWriter · 284ba5c8
      Niels De Graef authored
      GimpConfigWriter contains several constructors with the convention
      `gimp_config_writer_new_* ()`. This will lead to problems however with
      languages like Vala, where it cannot disambiguate the following:
      
      ```
      // calls config_writer_new_string()
      Gimp.ConfigWriter w = new ConfigWriter.string("xxx");
      // calls config_writer_string()
      w.string("xxx")
      ```
      
      Using `from_` in constructors is general practice in GObject-bsed
      libraries because of this.
      
      This also fixes an error when trying to use vapigen on the GIMP .GIR
      file.
      284ba5c8
  3. 09 Aug, 2019 1 commit
  4. 07 Aug, 2019 1 commit
  5. 03 Aug, 2019 2 commits
    • Niels De Graef's avatar
      Add (nullable) if applicable · 5f92ced1
      Niels De Graef authored
      Basically this commit makes sure that all return values that are marked
      as "Returns:" also have a `(nullable)` annotation if it is mentioned on
      the same line that NULL can also be returned.
      
      This will prevent a few problems in GObject-introspection.
      5f92ced1
    • Niels De Graef's avatar
      Use "Returns:" to annotate return values · 1dda6015
      Niels De Graef authored
      To be able to annotate return values through GObject-introspection, you
      need to make sure it is tagged with `Returns:` and not something else.
      1dda6015
  6. 26 Nov, 2018 1 commit
  7. 11 Jul, 2018 1 commit
  8. 06 Jul, 2018 1 commit
  9. 25 Apr, 2018 3 commits
  10. 22 Apr, 2018 1 commit
  11. 31 May, 2015 1 commit
  12. 04 Oct, 2014 1 commit
  13. 07 Sep, 2014 1 commit
  14. 03 Jul, 2014 1 commit
  15. 02 Jul, 2014 2 commits
  16. 30 Jun, 2014 1 commit
  17. 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
  18. 27 Jan, 2013 1 commit
  19. 25 Nov, 2011 1 commit
  20. 29 Jun, 2010 1 commit
  21. 17 Mar, 2009 2 commits
    • Sven Neumann's avatar
      check for fsync(). · 4d14382a
      Sven Neumann authored
      2009-03-17  Sven Neumann  <sven@sven>
      
      	* configure.in: check for fsync().
      
      	* libgimpconfig/gimpconfigwriter.c 
      (gimp_config_writer_close_file):
      	fsync temporary file if destination file exists.
      
      
      svn path=/trunk/; revision=28172
      4d14382a
    • Tor Lillqvist's avatar
      Drop Windows code to remove target file before renaming. g_rename() · 244965fd
      Tor Lillqvist authored
      2009-03-17  Tor Lillqvist  <tml@iki.fi>
      
      	* libgimpconfig/gimpconfigwriter.c
      	(gimp_config_writer_close_file): Drop Windows code to remove
      	target file before renaming. g_rename() nowadays takes care of
      	allowing replacing existing files on Windows.
      
      
      svn path=/trunk/; revision=28171
      244965fd
  22. 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
  23. 06 Nov, 2008 1 commit
    • Sven Neumann's avatar
      use g_set_error_literal() here as well. · 72b56f3d
      Sven Neumann authored
      2008-11-06  Sven Neumann  <sven@sven>
      
      	* libgimpconfig/gimpconfigwriter.c 
      (gimp_config_writer_linefeed):
      	use g_set_error_literal() here as well.
      
      
      svn path=/trunk/; revision=27564
      72b56f3d
  24. 17 Jul, 2007 1 commit
    • Sven Neumann's avatar
      don't free the writer struct too early. · a9efcaa9
      Sven Neumann authored
      2007-07-17  Sven Neumann  <sven@gimp.org>
      
      	* libgimpconfig/gimpconfigwriter.c (gimp_config_writer_finish):
      	don't free the writer struct too early.
      
      
      svn path=/trunk/; revision=22939
      a9efcaa9
  25. 21 Jun, 2007 1 commit
  26. 22 May, 2007 1 commit
  27. 12 Apr, 2006 1 commit
  28. 25 Sep, 2005 1 commit
    • Sven Neumann's avatar
      app/core/gimpdata.c app/file/file-save.c use g_access() from gstdio.h. · 48392713
      Sven Neumann authored
      2005-09-26  Sven Neumann  <sven@gimp.org>
      
      	* app/core/gimpdata.c
      	* app/file/file-save.c
      	* app/file/file-open.c: use g_access() from gstdio.h.
      
      	* app/config/gimpconfig-file.c (gimp_config_file_copy)
      	* libgimpthumb/gimpthumbnail.c: use g_chmod() from gstdio.h.
      
      	* app/file/gimprecentlist.c
      	* libgimpconfig/gimpconfigwriter.c: use g_creat() from gstdio.h.
      48392713
  29. 07 Feb, 2005 2 commits
    • Sven Neumann's avatar
      libgimpbase/gimpdatafiles.c libgimpbase/gimpenv.c · e6285abf
      Sven Neumann authored
      2005-02-07  Sven Neumann  <sven@gimp.org>
      
      	* libgimpbase/gimpdatafiles.c
      	* libgimpbase/gimpenv.c
      	* libgimpconfig/gimpconfigwriter.c
      	* libgimpconfig/gimpscanner.c
      	* libgimpthumb/gimpthumb-utils.c
      	* libgimpthumb/gimpthumbnail.c: include gstdio.h.
      e6285abf
    • Sven Neumann's avatar
      libgimpbase/gimpdatafiles.c libgimpbase/gimpenv.c · 8e1aefac
      Sven Neumann authored
      2005-02-07  Sven Neumann  <sven@gimp.org>
      
      	* libgimpbase/gimpdatafiles.c
      	* libgimpbase/gimpenv.c
      	* libgimpconfig/gimpconfigwriter.c
      	* libgimpconfig/gimpscanner.c
      	* libgimpthumb/gimpthumb-utils.c
      	* libgimpthumb/gimpthumbnail.c: use gstdio wrappers.
      	Unfortunately this causes compiler warnings, see bug #166512.
      8e1aefac
  30. 29 Jan, 2005 1 commit
    • Sven Neumann's avatar
      libgimpconfig/gimpconfig-deserialize.c libgimpconfig/gimpconfig-error.c · b4a68e95
      Sven Neumann authored
      2005-01-29  Sven Neumann  <sven@gimp.org>
      
      	* libgimpconfig/gimpconfig-deserialize.c
      	* libgimpconfig/gimpconfig-error.c
      	* libgimpconfig/gimpconfig-iface.c
      	* libgimpconfig/gimpconfig-path.c
      	* libgimpconfig/gimpconfig-serialize.c
      	* libgimpconfig/gimpconfig-utils.c
      	* libgimpconfig/gimpconfigwriter.c
      	* libgimpconfig/gimpscanner.c: use libgimp header,
      	added "Since: GIMP 2.4" to the gtk-doc comments.
      b4a68e95
  31. 25 Jan, 2005 2 commits
    • Michael Natterer's avatar
      new file holding the opaque typedefs for libgimpconfig. Includes · 3592a58d
      Michael Natterer authored
      2005-01-25  Michael Natterer  <mitch@gimp.org>
      
      	* libgimpconfig/gimpconfigtypes.h: new file holding the opaque
      	typedefs for libgimpconfig. Includes "libgimpbase/gimpbasetypes.h"
      
      	* libgimpconfig/Makefile.am: added the new file. Removed stuff
      	that is not needed.
      
      	* libgimpconfig/gimpconfigwriter.h
      	* libgimpconfig/gimpconfig-iface.h: removed typedefs here.
      
      	* libgimpconfig/gimpconfig-deserialize.c
      	* libgimpconfig/gimpconfig-iface.c
      	* libgimpconfig/gimpconfig-serialize.c
      	* libgimpconfig/gimpconfig-utils.c
      	* libgimpconfig/gimpconfig.h
      	* libgimpconfig/gimpconfigwriter.c: include it before including
      	any other libgimpconfig stuff.
      
      	* app/config/config-types.h: #include "libgimpbase/gimpbasetypes.h"
      
      	* app/config/gimpconfig-utils.h: changed include guards to
      	__APP_GIMP_CONFIG_UTILS_H__.
      
      	* app/dialogs/tips-parser.c: include <glib-object.h> instead of
      	just <glib.h>.
      
      	* app/tools/gimphistogramoptions.c
      	* app/tools/gimptextoptions.c: include "config/gimpconfig-utils.h"
      
      	* app/widgets/gimpdialogfactory.h
      	* app/widgets/gimpsessioninfo.h: removed inclusion of
      	"libgimpbase/gimpbasetypes.h".
      3592a58d
    • William Skaggs's avatar
      continuing commit after broken pipe · 1cee9b72
      William Skaggs authored
      1cee9b72
  32. 14 Nov, 2004 1 commit
    • Manish Singh's avatar
      Fix a bunch of warnings from Sparse: · 5d015810
      Manish Singh authored
      2004-11-13  Manish Singh  <yosh@gimp.org>
      
              Fix a bunch of warnings from Sparse:
      
              * app/actions/dockable-commands.c
              * app/actions/layers-actions.c
              * app/actions/view-commands.c
              * app/base/pixel-surround.c
              * app/config/gimpconfig-utils.c
              * app/config/gimpscanner.c
              * app/core/gimpbrushgenerated.c
              * app/core/gimpcontainer.c
              * app/core/gimpimage.c
              * app/dialogs/palette-import-dialog.c
              * app/file/gimprecentlist.c
              * app/plug-in/plug-in-params.c
              * app/text/gimptext-compat.c
              * app/text/gimptext-parasite.c
              * app/vectors/gimpbezierstroke.c
              * app/vectors/gimpstroke.c
              * app/widgets/gimpcellrendereraccel.c
              * app/widgets/gimpselectiondata.c
              * app/xcf/xcf.c
              * libgimp/gimp.c
              * libgimpthumb/gimpthumb-utils.c
              * libgimpthumb/gimpthumbnail.c
              * modules/cdisplay_proof.c
              * plug-ins/Lighting/lighting_ui.c
              * plug-ins/common/csource.c
              * plug-ins/common/glasstile.c
              * plug-ins/common/nova.c
              * plug-ins/common/pcx.c
              * plug-ins/common/pnm.c
              * plug-ins/common/randomize.c
              * plug-ins/common/screenshot.c
              * plug-ins/common/sel_gauss.c
              * plug-ins/common/spheredesigner.c
              * plug-ins/common/wind.c
              * plug-ins/gfig/gfig-dialog.c
              * plug-ins/gfig/gfig-dobject.c
              * plug-ins/gimpressionist/gimpressionist.c
              * plug-ins/ifscompose/ifscompose.c
              * plug-ins/print/gimp_main_window.c
              * plug-ins/print/print.c: Cleanup integer vs. pointer confusion.
      
              * app/base/temp-buf.c
              * app/dialogs/about-dialog.c
              * plug-ins/common/bumpmap.c
              * plug-ins/common/jigsaw.c
              * plug-ins/gfig/gfig-dobject.c: Cosmetic cleanups.
      
              * app/config/gimpconfig-deserialize.c
              * app/config/gimpconfig-path.c
              * app/config/gimpconfigwriter.c
              * app/core/gimpgradient.c
              * app/tools/gimpdrawtool.c
              * plug-ins/common/nlfilt.c
              * plug-ins/common/unsharp.c
              * plug-ins/common/zealouscrop.c: Define inline functions before they
              are used.
      
              * app/core/gimpdrawable-blend.c: PixelRegion definition was changed
              some time ago, but the initialization here didn't change. Fix it.
      
              * app/plug-in/plug-in-rc.c (plug_in_extra_deserialize): No need to
              assign token twice in a row.
      
              * libgimpbase/gimpdatafiles.c (gimp_datafiles_read_directories): No
              need to initialize file_data, since the code fills out all the fields.
      
              * plug-ins/common/CML_explorer.c
              * plug-ins/common/vpropagate.c: Declare function pointers fully.
      
              * plug-ins/common/grid.c (pix_composite): G_INLINE_FUNC isn't needed,
              we assume we can use the "inline" keyword always.
      
              * plug-ins/common/psd_save.c
              * plug-ins/common/vinvert.c
              * plug-ins/gfig/gfig-arc.c
              * plug-ins/gfig/gfig-bezier.c
              * plug-ins/gfig/gfig-circle.c
              * plug-ins/gfig/gfig-dialog.c
              * plug-ins/gfig/gfig-dobject.c
              * plug-ins/gfig/gfig-ellipse.c
              * plug-ins/gfig/gfig-line.c
              * plug-ins/gfig/gfig-poly.c
              * plug-ins/gfig/gfig-spiral.c
              * plug-ins/gfig/gfig-star.c
              * plug-ins/gfig/gfig.c
              * plug-ins/gimpressionist/orientmap.c
              * plug-ins/gimpressionist/placement.c
              * plug-ins/gimpressionist/sizemap.c
              * plug-ins/imagemap/imap_grid.c
              * plug-ins/imagemap/imap_main.c
              * plug-ins/imagemap/imap_preferences.c
              * plug-ins/imagemap/imap_settings.c
              * plug-ins/maze/maze.c
              * plug-ins/sel2path/curve.c
              * plug-ins/sel2path/fit.c
              * plug-ins/sel2path/pxl-outline.c
              * plug-ins/sel2path/spline.c
              * plug-ins/xjt/xjt.c: Functions with no args should be declared
              with (void).
      
              * plug-ins/common/retinex.c (MSRCR): Initialize max_preview to quiet
              the compiler.
      5d015810
  33. 29 Aug, 2004 1 commit