1. 28 Apr, 2011 2 commits
  2. 18 Mar, 2011 1 commit
  3. 07 Mar, 2011 1 commit
  4. 04 Nov, 2010 1 commit
  5. 31 Oct, 2010 1 commit
  6. 03 Oct, 2010 1 commit
  7. 08 Aug, 2010 1 commit
  8. 09 Jul, 2010 1 commit
    • Michael Natterer's avatar
      pdb: add a new PDB group "item" and move lots of functions to it · 2d6f808f
      Michael Natterer authored
      The item groups has all the duplicated functionality from drawable
      and vectors (name, visible, linked etc).
      
      Hijack the unused GIMP_PDB_REGION and turn it into GIMP_PDB_ITEM;
      change all protocol aware files accordingly and bump the protocol
      version number. Change script-fu to handle the new type.
      2d6f808f
  9. 06 Jul, 2010 1 commit
    • Martin Nordholts's avatar
      libgimpbase: Disable gimp_wire_read() warning · 9ddbc55a
      Martin Nordholts authored
      Disable gimp_wire_read() warning, most of the time it just gives this
      confusing error message when the GIMP core crashes:
      
      (script-fu:28495): LibGimpBase-WARNING **: script-fu: gimp_wire_read(): error
      9ddbc55a
  10. 29 Jun, 2010 1 commit
  11. 24 Feb, 2010 1 commit
  12. 21 Feb, 2010 1 commit
  13. 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
  14. 23 Aug, 2009 1 commit
  15. 21 Aug, 2009 1 commit
  16. 31 Jan, 2009 1 commit
  17. 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
  18. 12 Nov, 2008 1 commit
    • Sven Neumann's avatar
      sorted. updated. · d9904570
      Sven Neumann authored
      2008-11-12  Sven Neumann  <sven@gimp.org>
      
      	* libgimpbase/gimpbase.def: sorted.
      	* libgimpmodule/gimpmodule.def: updated.
      
      
      svn path=/trunk/; revision=27631
      d9904570
  19. 06 Nov, 2008 2 commits
    • Sven Neumann's avatar
      comments · 549d6eae
      Sven Neumann authored
      svn path=/trunk/; revision=27563
      549d6eae
    • Sven Neumann's avatar
      use NC_() to mark enum values for translation. Use a lower-case short form · 02817081
      Sven Neumann authored
      2008-11-06  Sven Neumann  <sven@gimp.org>
      
      	* tools/gimp-mkenums: use NC_() to mark enum values for 
      translation.
      	Use a lower-case short form of the type name as translation 
      context.
      
      	* libgimp/libgimp-intl.h: define the NC_() macro as noop.
      
      	* libgimpbase/gimpbasetypes.[ch]
      	* libgimpbase/gimpbase.def: added new functions to set and
      	get a translation context on an enum type.
      
      	* app/base/Makefile.am
      	* app/core/Makefile.am
      	* app/display/Makefile.am
      	* app/paint/Makefile.am
      	* app/plug-in/Makefile.am
      	* app/text/Makefile.am
      	* app/tools/Makefile.am
      	* app/widgets/Makefile.am
      	* libgimp/Makefile.am
      	* libgimpbase/Makefile.am:
      	* libgimpconfig/Makefile.am
      	* libgimpthumb/Makefile.am
      	* libgimpwidgets/Makefile.am: register the translation context
      	with the enum types.
      
      	* app/display/display-enums.h
      	* libgimpbase/gimpbaseenums.h
      	* libgimpconfig/gimpcolorconfig-enums.h: removed old-style 
      explicit
      	translation context.
      
      	* app/base/base-enums.c
      	* app/core/core-enums.c
      	* app/display/display-enums.c
      	* app/paint/paint-enums.c
      	* app/plug-in/plug-in-enums.c
      	* app/text/text-enums.c
      	* app/tools/tools-enums.c
      	* app/widgets/widgets-enums.c
      	* libgimpbase/gimpbaseenums.c
      	* libgimpconfig/gimpcolorconfig-enums.c
      	* libgimpwidgets/gimpwidgetsenums.c: regenerated.
      
      
      svn path=/trunk/; revision=27562
      02817081
  20. 03 Nov, 2008 1 commit
    • Sven Neumann's avatar
      app/base/Makefile.am app/core/Makefile.am app/display/Makefile.am · fe520925
      Sven Neumann authored
      2008-11-03  Sven Neumann  <sven@gimp.org>
      
      	
      	* app/base/Makefile.am
      	* app/core/Makefile.am
      	* app/display/Makefile.am
      	* app/paint/Makefile.am
      	* app/plug-in/Makefile.am
      	* app/text/Makefile.am
      	* app/tools/Makefile.am
      	* app/widgets/Makefile.am
      	* libgimp/Makefile.am
      	* libgimpbase/Makefile.am: 
      	* libgimpconfig/Makefile.am
      	* libgimpthumb/Makefile.am
      	* libgimpwidgets/Makefile.am: micro-optimization in the 
      generated
      	enum registration code.
      
      	* app/base/base-enums.c
      	* app/core/core-enums.c
      	* app/display/display-enums.c
      	* app/paint/paint-enums.c
      	* app/plug-in/plug-in-enums.c
      	* app/text/text-enums.c
      	* app/tools/tools-enums.c
      	* app/widgets/widgets-enums.c
      	* libgimpbase/gimpbaseenums.c
      	* libgimpconfig/gimpcolorconfig-enums.c
      	* libgimpwidgets/gimpwidgetsenums.c: regenerated.
      
      
      svn path=/trunk/; revision=27538
      fe520925
  21. 29 Oct, 2008 1 commit
  22. 27 Oct, 2008 1 commit
    • Sven Neumann's avatar
      added new enum GimpTextHintStyle. · 033fcf16
      Sven Neumann authored
      2008-10-27  Sven Neumann  <sven@gimp.org>
      
      	* libgimpbase/gimpbaseenums.[ch]: added new enum 
      GimpTextHintStyle.
      
      	* libgimp/gimpenums.c.tail
      	* tools/pdbgen/enums.pl: regenerated.
      
      	* app/text/gimptext.[ch]: added new property "hint-style". 
      Removed
      	"autohint" property and mapped the boolean property "hinting" to
      	the new enum property "hint-style".
      
      	* app/text/gimptextlayout-render.c 
      (gimp_text_layout_render_flags):
      	use "hint-style".
      
      	* app/tools/gimptextoptions.[ch]: changed tool options 
      accordingly.
      
      	* tools/pdbgen/pdb/text_layer.pdb: deprecated the "hinting" API
      	and introduced getters and setters for "hint-style".
      
      	* app/pdb/text-layer-cmds.c
      	* app/pdb/internal-procs.c
      	* libgimp/gimptextlayer_pdb.[ch]: regenerated.
      
      
      svn path=/trunk/; revision=27432
      033fcf16
  23. 03 Oct, 2008 1 commit
  24. 04 Sep, 2008 2 commits
    • Michael Natterer's avatar
      made the error_message variable const. · 8fd8f8ff
      Michael Natterer authored
      2008-09-04  Michael Natterer  <mitch@gimp.org>
      
      	* libgimpbase/gimpreloc.c (set_gerror): made the error_message
      	variable const.
      
      
      svn path=/trunk/; revision=26856
      8fd8f8ff
    • Michael Natterer's avatar
      made the value_desc and value_help members const, just as the · 0b086ecd
      Michael Natterer authored
      2008-09-04  Michael Natterer  <mitch@gimp.org>
      
      	* libgimpbase/gimpbasetypes.h
      	(struct GimpEnumDesc)
      	(struct GimpFlagsDesc): made the value_desc and value_help members
      	const, just as the corresponding GEnumValue and GFlagsValue
      	members. This is technically an API change but shouldn't hurt
      	since it totally reflects how they are used.
      
      
      svn path=/trunk/; revision=26855
      0b086ecd
  25. 19 Aug, 2008 1 commit
  26. 18 Aug, 2008 1 commit
    • Sven Neumann's avatar
      Complements the fix for bug #344818: · 369d991f
      Sven Neumann authored
      2008-08-19  Sven Neumann  <sven@gimp.org>
      
      	Complements the fix for bug #344818:
      
      	* libgimpbase/gimpbaseenums.[ch]: added new enum 
      GimpPDBErrorHandler.
      
      	* tools/pdbgen/enums.pl: regenerated.
      
      	* app/plug-in/gimpplugin.[ch]: added error_handler to 
      GimpPlugIn.
      
      	* app/plug-in/gimpplugin-message.c 
      (gimp_plug_in_handle_proc_run):
      	only display an error message for a failed procedure call if the
      	plug-in's error-handler is set to 
      GIMP_PDB_ERROR_HANDLER_INTERNAL.
      	
      	* tools/pdbgen/pdb/plug_in.pdb: added PDB getter and setter for
      	the plug-in's error-handler.
      
      	* app/pdb/plug-in-cmds.c
      	* app/pdb/internal-procs.c
      	* libgimp/gimpenums.c.tail
      	* libgimp/gimpplugin_pdb.[ch]: regenerated.
      
      	* plug-ins/common/file-compressor.c
      	* plug-ins/file-uri/uri.c: set the error-handler to
      	GIMP_PDB_ERROR_HANDLER_PLUGIN as these plug-ins are forwarding 
      the
      	error with their return values.
      
      
      svn path=/trunk/; revision=26656
      369d991f
  27. 14 Jul, 2008 1 commit
    • Sven Neumann's avatar
      Add new PDB data type PDB_COLORARRAY for using arrays of GimpRGB colors as · 81131c0b
      Sven Neumann authored
      2008-07-14  Sven Neumann  <sven@gimp.org>
      
      	Add new PDB data type PDB_COLORARRAY for using arrays of GimpRGB
      	colors as argument or return value.
      
      	* libgimpbase/gimpbaseenums.[ch] (enum GimpPDBArgType): replaced
      	the unused GIMP_PDB_BOUNDARY with GIMP_PDB_COLORARRAY.
      
      	* libgimpbase/gimpprotocol.h: increased GIMP_PROTOCOL_VERSION.
      	(struct _GPParam): added d_colorarray entry to the union.
      
      	* libgimpbase/gimpprotocol.c
      	* libgimp/gimp.[ch]
      	* app/pdb/gimp-pdb-compat.c
      	* app/plug-in/plug-in-params.c
      	* app/plug-in/gimpplugin-message.c
      	* tools/pdbgen/pdb.pl: deal with the new data type.
      
      	* tools/pdbgen/enums.pl: regenerated.
      
      	* plug-ins/pygimp/pygimp-pdb.c
      	* plug-ins/script-fu/scheme-wrapper.c: handle the new data type.
      
      
      svn path=/trunk/; revision=26189
      81131c0b
  28. 14 Apr, 2008 1 commit
  29. 31 Mar, 2008 1 commit
  30. 28 Mar, 2008 1 commit
    • Sven Neumann's avatar
      deprecate gimp_memsize_to_string() in favor of · fc93cc19
      Sven Neumann authored
      2008-03-28  Sven Neumann  <sven@gimp.org>
      
      	* libgimpbase/gimpmemsize.[ch]: deprecate gimp_memsize_to_string()
      	in favor of g_format_size_for_display().
      
      	* app/actions/edit-commands.c
      	* app/core/gimpimagefile.c
      	* app/dialogs/image-new-dialog.c
      	* app/dialogs/image-scale-dialog.c
      	* app/display/gimpdisplayshell-title.c
      	* app/widgets/gimpimagepropview.c
      	* app/widgets/gimptemplateeditor.c
      	* app/widgets/gimpthumbbox.c
      	* plug-ins/uri/uri-backend-gnomevfs.c
      	* plug-ins/uri/uri-backend-gvfs.c
      	* plug-ins/uri/uri-backend-libcurl.c
      	* plug-ins/uri/uri-backend-wget.c: use g_format_size_for_display()
      	instead of gimp_memsize_to_string().
      
      svn path=/trunk/; revision=25285
      fc93cc19
  31. 27 Mar, 2008 1 commit
    • Sven Neumann's avatar
      Properly pass the focus from the core to plug-in dialogs: · 26d1021e
      Sven Neumann authored
      2008-03-27  Sven Neumann  <sven@gimp.org>
      
      	Properly pass the focus from the core to plug-in dialogs:
      
      	* libgimpbase/gimpprotocol.[ch]: added a user_time member to the
      	GimpConfig struct. Bumped the protocol version to 0x0012.
      
      	* app/core/gimp-gui.[ch]
      	* app/gui/gui-vtable.c: added gimp_get_user_time() to get the
      	timestamp of the last user interaction.
      
      	* app/plug-in/gimppluginmanager-call.c
      	(gimp_plug_in_manager_call_run): pass the timestamp to in the
      	GimpConfig message.
      
      	* libgimp/gimp.[ch]:
      	* libgimp/gimp.def: added method to access the timestamp as set
      	in the config message.
      
      	* libgimp/gimpui.c (gimp_ui_init): construct a fake startup ID and
      	set the DESKTOP_STARTUP_ID environment variable.
      
      svn path=/trunk/; revision=25263
      26d1021e
  32. 10 Jan, 2008 1 commit
  33. 06 Jan, 2008 1 commit
    • Sven Neumann's avatar
      libgimpbase/gimpchecks.c libgimp/gimpunitcache.c · c30c5f60
      Sven Neumann authored
      2008-01-06  Sven Neumann  <sven@gimp.org>
      
      	* libgimpbase/gimpchecks.c
      	* libgimp/gimpunitcache.c
      	* libgimpwidgets/gimppageselector.c
      	* libgimpwidgets/gimpcolorscales.c: removed redundant checks for
      	enum values (which are unsigned) >= 0.
      
      
      svn path=/trunk/; revision=24546
      c30c5f60
  34. 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
  35. 11 Dec, 2007 2 commits
    • Sven Neumann's avatar
      made the code more robust against errors on the wire protocol level. · cc44a689
      Sven Neumann authored
      2007-12-11  Sven Neumann  <sven@gimp.org>
      
      	* libgimpbase/gimpprotocol.c: made the code more robust against
      	errors on the wire protocol level.
      
      	* app/plug-in/gimpplugin-message.c: added sanity checks to message
      	handlers. This doesn't keep us from crashing on invalid input, but
      	we will at least get some warnings before that happens.
      
      svn path=/trunk/; revision=24317
      cc44a689
    • Sven Neumann's avatar
      use g_try_new() so a plug-in can't easily crash the core by sending an · a23029a0
      Sven Neumann authored
      2007-12-11  Sven Neumann  <sven@gimp.org>
      
      	* libgimpbase/gimpwire.c (_gimp_wire_read_string): use g_try_new()
      	so a plug-in can't easily crash the core by sending an invalid
      	string message.
      
      svn path=/trunk/; revision=24316
      a23029a0