1. 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
  2. 28 Jul, 2019 1 commit
  3. 18 Nov, 2018 1 commit
    • Michael Natterer's avatar
      Issue #2224 - Use the "Swap folder" setting for the GEGL cache · a29f73bd
      Michael Natterer authored
      Move swap/cache and temporary files out the GIMP user config dir:
      
      libgimpbase: add gimp_cache_directory() and gimp_temp_directory()
      which return the new default values inside XDG_CACHE_HOME and the
      system temp directory. Like all directories from gimpenv.[ch] the
      values can be overridden by environment variables. Improve API docs
      for all functions returning directories.
      
      Add new config file substitutions ${gimp_cache_dir} and
      ${gimp_temp_dir}.
      
      Document all the new stuff in the gimp and gimprc manpages.
      
      app: default "swap-path" and "temp-path" to the new config file
      substitutions. On startup and config changes, make sure that the swap
      and temp directories actually exist.
      
      In the preferences dialog, add reset buttons to all file path pages.
      a29f73bd
  4. 11 Jul, 2018 1 commit
  5. 02 Jul, 2018 1 commit
  6. 17 Jun, 2017 1 commit
  7. 03 Jun, 2017 1 commit
  8. 02 Oct, 2016 1 commit
  9. 30 Sep, 2016 1 commit
  10. 04 Sep, 2016 1 commit
  11. 31 Aug, 2016 1 commit
  12. 25 Jun, 2016 1 commit
    • Richard Kreckel's avatar
      Bug 768044 - Fix many typos · dd9b0fc5
      Richard Kreckel authored
      This fixes many typos in comments and one in a user-visible string (msgid
      "center abscisse" changed to "center abscissa" in affected po files. too).
      dd9b0fc5
  13. 31 May, 2015 1 commit
  14. 29 Oct, 2014 2 commits
  15. 06 Oct, 2014 1 commit
  16. 20 Jul, 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. 23 May, 2012 1 commit
  19. 29 Jun, 2010 2 commits
  20. 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
  21. 12 Nov, 2008 1 commit
    • Sven Neumann's avatar
      set the error in the GIMP_CONFIG_ERROR domain. · a9b1b41e
      Sven Neumann authored
      2008-11-12  Sven Neumann  <sven@gimp.org>
      
      	* libgimpconfig/gimpconfig-path.c 
      (gimp_config_path_expand_only):
      	set the error in the GIMP_CONFIG_ERROR domain.
      
      
      svn path=/trunk/; revision=27630
      a9b1b41e
  22. 02 Mar, 2007 1 commit
    • Sven Neumann's avatar
      libgimpconfig/gimpconfig-serialize.c libgimpconfig/gimpconfig-error.c · 0d2c3957
      Sven Neumann authored
      2007-03-02  Sven Neumann  <sven@gimp.org>
      
      	* libgimpconfig/gimpconfig-serialize.c
      	* libgimpconfig/gimpconfig-error.c
      	* libgimpconfig/gimpconfig-path.c
      	* libgimpconfig/gimpconfig-deserialize.c
      	* libgimpconfig/gimpconfig-utils.c
      	* libgimpconfig/gimpconfig-iface.c: corrected copyright notice
      	(bug #413731).
      
      
      svn path=/trunk/; revision=22038
      0d2c3957
  23. 18 Oct, 2006 1 commit
  24. 05 Jul, 2006 1 commit
    • Sven Neumann's avatar
      libgimpbase/gimpenv.h libgimpbase/gimpmemsize.h · bdd3c644
      Sven Neumann authored
      2006-07-05  Sven Neumann  <sven@gimp.org>
      
      	* libgimpbase/gimpenv.h
      	* libgimpbase/gimpmemsize.h
      	* libgimpbase/gimpparasiteio.[ch]
      	* libgimpbase/gimputils.h
      	* libgimpconfig/gimpconfig-path.[ch]
      	* libgimpthumb/gimpthumb-utils.[ch]: marked some function with
      	G_GNUC_MALLOC.
      
      	* plug-ins/common/dicom.c: use g_date_set_time_t() instead of the
      	deprecated g_date_set_time().
      bdd3c644
  25. 12 Apr, 2006 1 commit
  26. 07 Apr, 2005 1 commit
    • Sven Neumann's avatar
      added API documentation. · 889caf60
      Sven Neumann authored
      2005-04-07  Sven Neumann  <sven@gimp.org>
      
      	* libgimpconfig/gimpconfig-path.c: added API documentation.
      889caf60
  27. 06 Apr, 2005 1 commit
    • Sven Neumann's avatar
      declare default_value as const and allocate a copy. · e79099db
      Sven Neumann authored
      2005-04-06  Sven Neumann  <sven@gimp.org>
      
      	* libgimpconfig/gimpconfig-path.[ch] (gimp_param_spec_config_path):
      	declare default_value as const and allocate a copy.
      
      	* app/config/gimpbaseconfig.[ch]: gives access to the default values
      	for temp and swap path.
      
      	* app/base/base.c (base_init): create the temp directory if it
      	doesn't exist (bug #172682).
      
      	* plug-ins/uri/uri-backend-gnomevfs.c: fixed path in error message.
      e79099db
  28. 04 Mar, 2005 1 commit
  29. 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
  30. 25 Jan, 2005 2 commits
    • Sven Neumann's avatar
      libgimpbase/Makefile.am removed these two files again. · 4aa2bf93
      Sven Neumann authored
      2005-01-26  Sven Neumann  <sven@gimp.org>
      
      	* libgimpbase/Makefile.am
      	* libgimpbase/gimppath.[ch]: removed these two files again.
      
      	* libgimpconfig/gimpconfig-path.[ch]: merged the path type and
      	param spec here. Renamed to GimpConfigPath and GimpParamConfigPath.
      
      	* libgimpbase/gimpbase.h
      	* libgimpbase/gimpbasetypes.[ch]
      	* libgimpconfig/gimpconfig-deserialize.c
      	* libgimpconfig/gimpconfig-params.h
      	* app/config/gimpbaseconfig.c
      	* app/config/gimpconfig-dump.c
      	* app/config/gimpcoreconfig.c
      	* app/config/gimpguiconfig.c
      	* app/config/gimppluginconfig.c
      	* app/widgets/gimppropwidgets.c: changed accordingly.
      
      	* libgimpbase/gimpbase.def: updated.
      4aa2bf93
    • William Skaggs's avatar
      continuing commit after broken pipe · 1cee9b72
      William Skaggs authored
      1cee9b72
  31. 24 Jan, 2005 1 commit
    • Sven Neumann's avatar
      app/config/Makefile.am app/config/gimpconfig-file.[ch] more new files, · 73c055bb
      Sven Neumann authored
      2005-01-24  Sven Neumann  <sven@gimp.org>
      
      	* app/config/Makefile.am
      	* app/config/gimpconfig-file.[ch]
      	* app/config/gimprc-utils.[ch]: more new files, code factored out
      	of gimpconfig-utils.[ch].
      
      	* app/config/gimpconfig-path.[ch]
      	* app/config/gimpconfig-utils.[ch]
      	* app/config/gimpcoreconfig.c
      	* app/config/gimpguiconfig.c
      	* app/config/gimppluginconfig.c
      	* app/config/gimprc.c
      	* app/core/gimp-units.c
      	* app/dialogs/user-install-dialog.c
      	* app/gui/session.c: changed accordingly.
      73c055bb
  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. 01 Feb, 2004 1 commit
    • Michael Natterer's avatar
      when calculating the length of the expanded path, add the length of the · 28f95f9c
      Michael Natterer authored
      2004-02-01  Michael Natterer  <mitch@gimp.org>
      
      	* app/config/gimpconfig-path.c (gimp_config_path_expand_only):
      	when calculating the length of the expanded path, add the length
      	of the UTF-8 converted substitution, not its length in filesystem
      	encoding. Finally enables GIMP2_DIRECTORY containing non-ascii
      	chars (at least on linux). Should fix bug #130118.
      28f95f9c
  34. 28 Jan, 2004 1 commit
  35. 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