1. 11 Nov, 2012 2 commits
  2. 08 Oct, 2012 1 commit
  3. 23 May, 2012 1 commit
  4. 12 May, 2012 3 commits
  5. 04 Dec, 2011 1 commit
  6. 29 Aug, 2011 1 commit
  7. 28 Apr, 2011 1 commit
  8. 07 Mar, 2011 1 commit
  9. 29 Jun, 2010 1 commit
  10. 29 Jan, 2010 1 commit
    • Martin Nordholts's avatar
      libgimpbase: Support changing GIMP2_DIRECTORY at run-time · 5d9dde1d
      Martin Nordholts authored
      In order to be able to change GIMP2_DIRECTORY during run-time, check
      for changes to GIMP2_DIRECTORY in gimp_directory().
      
      This is typically useful in test case where you could read from one
      GIMP2_DIRECTORY at start-up and then write to a different
      GIMP2_DIRECTORY at shut down.
      
      The documentation for this function does not suggest that the value is
      cached and thus the old behavior can be considered a bug. It is hard
      to imagine why anyone would change GIMP2_DIRECTORY at run-time in a
      script for example and *not* expect gimp_directory() to return the
      updated gimp_dir.
      5d9dde1d
  11. 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
  12. 10 Jan, 2008 1 commit
  13. 12 Dec, 2007 2 commits
    • Tor Lillqvist's avatar
      Use g_win32_locale_filename_from_utf8() instead of duplicating its code. · 2159cbbc
      Tor Lillqvist authored
      2007-12-12  Tor Lillqvist  <tml@novell.com>
      
      	* libgimpbase/gimpenv.c (gimp_locale_directory) [Win32]: Use
      	g_win32_locale_filename_from_utf8() instead of duplicating its
      	code.
      
      
      svn path=/trunk/; revision=24345
      2159cbbc
    • Tor Lillqvist's avatar
      Use the location of the libgimpbase DLL and not that of the main · e698ec93
      Tor Lillqvist authored
      2007-12-12  Tor Lillqvist  <tml@novell.com>
      
      	* libgimpbase/gimpenv.c (gimp_toplevel_directory) [Win32]: Use the
      	location of the libgimpbase DLL and not that of the main
      	executable (which will be the Python interpreter in the case of
      	python-fu) to determine the top-level GIMP installation
      	folder. (#502506)
      
      	(gimp_locale_directory) [Win32]: Guard against the possibility
      	that we can't get the system codepage form of the locale
      	directory, in case the installation folder contains characters not
      	in the system codepage. In that case use the short name instead.
      
      
      svn path=/trunk/; revision=24333
      e698ec93
  14. 31 Oct, 2007 1 commit
    • Michael Natterer's avatar
      libgimpbase/Makefile.am removed. · 36bda892
      Michael Natterer authored
      2007-10-31  Michael Natterer  <mitch@gimp.org>
      
      	* libgimpbase/Makefile.am
      	* libgimpbase/xdg-user-dir.[ch]: removed.
      
      	* libgimpbase/gimpbaseenums.[ch]: deprecate enum GimpUserDirectory.
      
      	* libgimpbase/gimpenv.[ch]: deprecate gimp_user_directory() and make
      	the implementation call g_get_user_special_dir().
      
      	* libgimp/Makefile.am: #undef GIMP_DISABLE_DEPRECATED in gimpenums.c
      
      	* app/widgets/gimpfiledialog.c: use g_get_user_special_dir() instead.
      
      	* plug-ins/pygimp/gimpmodule.c: #undef GIMP_DISABLE_DEPRECATED.
      
      
      svn path=/trunk/; revision=24018
      36bda892
  15. 26 Oct, 2007 1 commit
    • Tor Lillqvist's avatar
      Drop the Win9x code path here, too. · d9c7e99d
      Tor Lillqvist authored
      2007-10-27  Tor Lillqvist  <tml@novell.com>
      
      	* libgimpbase/gimpenv.c (gimp_toplevel_directory): Drop the Win9x
      	code path here, too.
      
      	* libgimpbase/gimpenv.c (gimp_locale_directory): On Windows return
      	the pathname in system codepage and not UTF-8.
      
      
      svn path=/trunk/; revision=23962
      d9c7e99d
  16. 28 Aug, 2007 1 commit
  17. 11 Aug, 2007 1 commit
    • Michael Natterer's avatar
      libgimpbase/gimpbaseenums.[ch] changed enum GimpUserDirectory and API of · 0d17856e
      Michael Natterer authored
      2007-08-11  Michael Natterer  <mitch@gimp.org>
      
      	* libgimpbase/gimpbaseenums.[ch]
      	* libgimpbase/gimpenv.[ch]: changed enum GimpUserDirectory and API
      	of gimp_user_directory() so that g_get_user_special_dir() can be
      	used instead as soon as we depend on GLib 2.14.
      
      	* tools/pdbgen/enums.pl: regenerated.
      
      	* app/widgets/gimpfiledialog.c
      	* plug-ins/pygimp/gimpmodule.c: changed accordingly.
      
      
      svn path=/trunk/; revision=23212
      0d17856e
  18. 06 Jun, 2007 1 commit
  19. 14 May, 2007 2 commits
    • Michael Natterer's avatar
      #include <CoreServices/CoreServices.h>, not "...". · 3ac7a286
      Michael Natterer authored
      2007-05-14  Michael Natterer  <mitch@gimp.org>
      
      	* libgimpbase/gimpenv.c: #include <CoreServices/CoreServices.h>,
      	not "...".
      
      
      svn path=/trunk/; revision=22489
      3ac7a286
    • Michael Natterer's avatar
      added check for OSX' Carbon framework. · 86eac2cc
      Michael Natterer authored
      2007-05-14  Michael Natterer  <mitch@gimp.org>
      
      	* configure.in: added check for OSX' Carbon framework.
      
      	* libgimpbase/Makefile.am (libgimpbase_2_0_la_LDFLAGS): add
      	$(CARBON_LDFLAGS)
      
      	* libgimpbase/gimpenv.c (gimp_user_directory): add Carbon version.
      
      	(find_folder): new Crabon-only utility function.
      
      
      svn path=/trunk/; revision=22488
      86eac2cc
  20. 13 May, 2007 2 commits
    • Tor Lillqvist's avatar
      Undef DATADIR before including <shlobj.h> to avoid collision with DATADIR · e0719dfd
      Tor Lillqvist authored
      2007-05-14  Tor Lillqvist  <tml@novell.com>
      
      	* libgimpbase/gimpenv.c: Undef DATADIR before including <shlobj.h>
      	to avoid collision with DATADIR enum in objidl.h. Define
      	CSIDL_MYDOCUMENTS, CSIDL_MYMUSIC and CSIDL_MYVIDEO in case missing
      	from shlobj.h.
      
      	* libgimpbase/Makefile.am: Link with -lole32 on Win32 for
      	CoTaskMemFree().
      
      
      svn path=/trunk/; revision=22483
      e0719dfd
    • Sven Neumann's avatar
      app/file/Makefile.am removed here ... · 6c285197
      Sven Neumann authored
      2007-05-13  Sven Neumann  <sven@gimp.org>
      
      	* app/file/Makefile.am
      	* app/file/xdg-user-dir.c[ch]: removed here ...
      
      	* libgimpbase/Makefile.am
      	* libgimpbase/xdg-user-dir.[ch]: ... and moved to libgimpbase.
      
      	* libgimpbase/gimpbaseenums.[ch]: added GimpUserDirectory enum.
      
      	* libgimpbase/gimpenv.[ch]: added new function to identify 
      special
      	user folders. Added Win32 specific code and use 
      xdg_user_dir_lookup()
      	on other platforms.
      
      	* libgimpbase/gimpbase.def: regenerated.
      
      
      svn path=/trunk/; revision=22475
      6c285197
  21. 28 Nov, 2006 1 commit
    • Michael Natterer's avatar
      removed gimp_foo_version variables. · 9b9542a6
      Michael Natterer authored
      2006-11-28  Michael Natterer  <mitch@gimp.org>
      
      	* libgimp/gimp.[ch]: removed gimp_foo_version variables.
      
      	* libgimpbase/gimpenv.[ch]: added them here.
      
      	* app/sanity.c: added sanity_check_gimp() and abort if the libgimp
      	version gimp is compiled with is not exactly the same we encounter
      	at runtime.
      9b9542a6
  22. 16 Nov, 2005 1 commit
  23. 06 Nov, 2005 1 commit
    • Sven Neumann's avatar
      Added support for binary relocation by means of binreloc, largely based on · 39e866d9
      Sven Neumann authored
      2005-11-06  Sven Neumann  <sven@gimp.org>
      
      	Added support for binary relocation by means of binreloc, largely
      	based on a patch by Hongli Lai:
      
      	* m4macros/Makefile.am
      	* m4macros/binreloc.m4: new file providing a macro to check for
      	binreloc support.
      
      	* acinclude.m4
      	* configure.in: use the macro.
      
      	* libgimpbase/Makefile.am
      	* libgimpbase/gimpreloc.[ch]: new files providing binreloc support
      	on Linux.
      
      	* libgimpbase/gimpenv.[ch]: use binreloc, provide a function to
      	initialize the environment machinery.
      
      	* libgimpbase/gimpbase.def: updated.
      
      	* app/Makefile.am: fiddle with the LDFLAGS for binreloc.
      
      	* app/main.c (main): gimp_env_init(FALSE).
      
      	* libgimp/gimp.c (gimp_main): gimp_env_init(TRUE).
      39e866d9
  24. 24 Aug, 2005 1 commit
    • Tor Lillqvist's avatar
      Make GIMP work on Win32 even if installed in a path containing random · 1e295cb0
      Tor Lillqvist authored
      2005-08-24  Tor Lillqvist  <tml@novell.com>
      
      	Make GIMP work on Win32 even if installed in a path containing
      	random non-ASCII characters.
      
      	* libgimpbase/gimpenv.c (gimp_toplevel_directory): [Win32] Use
      	wide-char API on NT-based Windowses. Keep the toplevel directory
      	name in UTF-8. The rest of GIMP assumes it is UTF-8 anyway, and
      	for instance passes file names constructed from it to g_open().
      
      	* app/plug-in/plug-in.c (plug_in_open): On Win32, if compiled
      	against GLib < 2.8.2, convert the pathname arguments passed to
      	g_spawn_async() to locale charset (system codepage). The
      	g_spawn*() functions in GLib < 2.8.2 take system codepage
      	arguments and not UTF-8.
      1e295cb0
  25. 04 Apr, 2005 1 commit
  26. 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
  27. 13 Dec, 2004 1 commit
    • Sven Neumann's avatar
      added GIMP_API_VERSION to the generated gimpversion.h. · f428c0ed
      Sven Neumann authored
      2004-12-14  Sven Neumann  <sven@gimp.org>
      
      	* configure.in: added GIMP_API_VERSION to the generated gimpversion.h.
      
      	* libgimpbase/gimpenv.c (gimp_toplevel_directory): use
      	GIMP_API_VERSION instead of GIMP_MACRO_VERSION.GIMP_MINOR_VERSION
      	when building a path to test the plug-in executable path against.
      f428c0ed
  28. 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
  29. 11 Jan, 2004 1 commit
    • Tor Lillqvist's avatar
      Convert to native encoding (if requested) only after expanding completely. · 6ee79a75
      Tor Lillqvist authored
      2004-01-11  Tor Lillqvist  <tml@iki.fi>
      
      	* app/config/gimpconfig-path.c: Convert to native encoding (if
      	requested) only after expanding completely. (Mentioned in #130118,
      	patch by Sven.)
      
      	* app/base/tile-swap.c
      	* app/pdb/image_cmds.c
      	* app/plug-in/plug-in.c
      	* libgimp/gimp.c
      	* libgimpbase/gimpdatafiles.c
      	* libgimpbase/gimpenv.c
      	* libgimpmodule/gimpmoduledb.c
      	* plug-ins/common/bz2.c
      	* plug-ins/common/gz.c
      	* plug-ins/common/mail.c
      	* plug-ins/common/ps.c
      	* plug-ins/common/url.c
      	* plug-ins/gfig/gfig-preview.c
      	* plug-ins/helpbrowser/helpbrowser.c
      	* plug-ins/print/print.c
      	* plug-ins/script-fu/script-fu-scripts.c
      	* tools/pdbgen/pdb/image.pdb: Remove __EMX__ ifdefs. EMX port is
      	unmaintained, presumed dead. (#131109)
      6ee79a75
  30. 09 Jan, 2004 1 commit
  31. 06 Jan, 2004 1 commit
    • Manish Singh's avatar
      remove unnecessary GTK_WIDGET() cast. · ba92cb3e
      Manish Singh authored
      2004-01-06  Manish Singh  <yosh@gimp.org>
      
              * app/widgets/gimpdasheditor.c (gimp_dash_editor_new): remove
              unnecessary GTK_WIDGET() cast.
      
              * app/widgets/gimpstrokeeditor.c (gimp_stroke_editor_constructor):
              remove unnecessary G_OBJECT() casts.
      
              * libgimpbase/gimplimits.h: cosmetic cleanup.
      
              * libgimpbase/gimpenv.c (gimp_toplevel_directory): add (void)
              to prototype.
      
              * plug-ins/script-fu/script-fu-console.c (script_fu_cc_key_function):
              set cursor to end of line after history navigation.
      
              * plug-ins/common/struc.c (strucpi): use CLAMP0255.
      ba92cb3e
  32. 05 Dec, 2003 1 commit
    • Michael Natterer's avatar
      libgimp/gimp.h libgimp/gimpbrushmenu.h libgimp/gimpbrushselect.[ch] · 7efa81d1
      Michael Natterer authored
      2003-12-05  Michael Natterer  <mitch@gimp.org>
      
      	* libgimp/gimp.h
      	* libgimp/gimpbrushmenu.h
      	* libgimp/gimpbrushselect.[ch]
      	* libgimp/gimpfontmenu.[ch]
      	* libgimp/gimpfontselect.[ch]
      	* libgimp/gimpgradientmenu.h
      	* libgimp/gimpgradientselect.[ch]
      	* libgimp/gimpmenu.h
      	* libgimp/gimpmisc.[ch]
      	* libgimp/gimpmiscui.[ch]
      	* libgimp/gimppatternmenu.h
      	* libgimp/gimppatternselect.[ch]
      	* libgimp/gimppixelrgn.[ch]
      	* libgimp/gimpproceduraldb.c
      	* libgimp/gimpselection.c
      	* libgimp/gimptile.h
      	* libgimp/gimptypes.h
      	* libgimp/gimpui.h
      	* libgimp/gimpuitypes.h
      	* libgimp/libgimp-intl.h
      	* libgimp/stdplugins-intl.h
      	* libgimpbase/gimpbase.h
      	* libgimpbase/gimpdatafiles.c
      	* libgimpbase/gimpenv.c
      	* libgimpbase/gimpparasite.[ch]
      	* libgimpbase/gimpparasiteio.[ch]
      	* libgimpbase/gimpsignal.[ch]
      	* libgimpbase/gimputils.c
      	* libgimpcolor/gimpadaptivesupersample.[ch]
      	* libgimpcolor/gimpbilinear.[ch]
      	* libgimpmath/gimpmath.h
      	* libgimpmath/gimpmathtypes.h
      	* libgimpwidgets/gimpbutton.[ch]
      	* libgimpwidgets/gimpchainbutton.h
      	* libgimpwidgets/gimpcolorarea.[ch]
      	* libgimpwidgets/gimpcolornotebook.h
      	* libgimpwidgets/gimpcolorscale.[ch]
      	* libgimpwidgets/gimpcolorscales.h
      	* libgimpwidgets/gimpcolorselect.h
      	* libgimpwidgets/gimpoffsetarea.h
      	* libgimpwidgets/gimppixmap.[ch]: removed trailing whitespace.
      7efa81d1
  33. 23 Nov, 2003 1 commit