1. 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
  2. 09 Dec, 2006 1 commit
  3. 27 Jun, 2006 1 commit
    • Sven Neumann's avatar
      Applied patch from Zbigniew Chyla: · 4c73ba1b
      Sven Neumann authored
      2006-06-27  Sven Neumann  <sven@gimp.org>
      
      	Applied patch from Zbigniew Chyla:
      
      	* app/gimp-intl.h
      	* libgimp/stdplugins-intl.h: removed most content and include
      	<glib/gi18n.h> instead.
      
      	* libgimp/libgimp-intl.h: define ngettext() macro as wrapper
      around
      	dngettext().
      4c73ba1b
  4. 25 Mar, 2003 1 commit
    • Sven Neumann's avatar
      Makefile.am removed this header file. · 28fddfd5
      Sven Neumann authored
      2003-03-25  Sven Neumann  <sven@gimp.org>
      
      	* Makefile.am
      	* gimpintl.h: removed this header file.
      
      	* gimpmiscui.c: include libgimp-intl.h.
      
      	* gimp.c (gimp_main): call setlocale() and bind to the libgimp
      	textdomain so that plug-ins don't need to do that explicitely.
      
      	* libgimp/stdplugins-intl.h: added the functionality that used to
      	live in gimpintl.h and removed the libgimp related stuff. Got rid
      	of the INIT_I18N_UI() macro.
      
      	* plug-ins/*/*.c: removed all occurances of INIT_I18N_UI().
      	Plug-ins simply call INIT_I18N() once in their run() function.
      
      	* plug-ins/script-fu/script-fu-intl.h: added the functionality
      	that used to live in gimpintl.h and removed the libgimp related
      	stuff.
      
      	* app/Makefile.am
      	* app/gimp-intl.h: new file that defines the gettext macros for
      	the GIMP core.
      
      	* app/*/*.c: include gimp-intl.h instead of libgimp/gimpintl.h.
      
      	* plug-ins/script-fu/scripts/test-sphere.scm: fixed typos.
      28fddfd5
  5. 21 Mar, 2003 1 commit
    • Sven Neumann's avatar
      added G_SPAWN_CHILD_INHERITS_STDIN to the flags passed to g_spawn_async(). · a981e607
      Sven Neumann authored
      2003-03-21  Sven Neumann  <sven@gimp.org>
      
      	* app/plug-in/plug-in.c (plug_in_open): added
      	G_SPAWN_CHILD_INHERITS_STDIN to the flags passed to g_spawn_async().
      	Needed to get batch-mode working again.
      
      	* app/batch.[ch]: some cleanup.
      
      	* plug-ins/script-fu/script-fu-text-console.c: improved error
      	reporting.
      a981e607
  6. 04 Dec, 2002 1 commit
    • Michael Natterer's avatar
      added -DGIMP_APP_GLUE_COMPILATION to AM_CPPFLAGS. · d79ac249
      Michael Natterer authored
      2002-12-04  Michael Natterer  <mitch@gimp.org>
      
      	* app/Makefile.am: added -DGIMP_APP_GLUE_COMPILATION to
      	AM_CPPFLAGS.
      
      	* app/appenv.h
      	* app/batch.h
      	* app/errors.h: #error if it is not defined to keep these files
      	from being included from anywhere else.
      
      	* app/app_procs.h: added just a #warning because some places still
      	need "the_gimp" and app_exit().
      
      	* app/libgimp_glue.h: #ifdef the #error the same way as the other
      	headers do.
      d79ac249
  7. 01 Dec, 2001 1 commit
    • Michael Natterer's avatar
      app/Makefile.am removed... · 77863d88
      Michael Natterer authored
      2001-11-30  Michael Natterer  <mitch@gimp.org>
      
      	* app/Makefile.am
      	* app/plug_in.[ch]: removed...
      
      	* app/plug-in/Makefile.am
      	* app/plug-in/plug-in-types.h
      	* app/plug-in/plug-in.[ch]: ...and added here.
      
      	* app/appenv.h: removed StackTraceMode and MessageHandlerType...
      
      	* libgimpbase/gimpbasetypes.h: ...and added them here.
      
      	* tools/pdbgen/Makefile.am: don't scan "app/apptypes.h" for enums.
      
      	* tools/pdbgen/enumcode.pl: added a general check to prevent
      	enums which are defined in libgimp* from being written to
      	"libgimp/gimpenums.c".
      
      	* libgimp/gimpenums.h
      	* plug-ins/script-fu/script-fu-constants.c
      	* tools/pdbgen/enums.pl: regenerated.
      
      	* app/core/core-types.h: include "pdb/pdb-types.h" so including
      	"core/core-types.h" gets the whole core type space.
      
      	* app/core/gimp.[ch]: added a "stack_trace_mode" parameter to the
      	constructor and store it in the Gimp struct because the value is
      	also passed to plug-ins and nobody should include "appenv.h".
      
      	* app/gimprc.[ch]: pass the alternate_system_gimprc and
      	alternate_gimprc filenames from the command line to gimprc_prase()
      	so we don't need to include "appenv.h".
      
      	* app/batch.[ch]: pass the "batch_cmds" as parameter, don't
      	include "append.h".
      
      	* app/app_procs.c: pass more parameters around.
      
      	* app/devices.c
      	* app/errors.c
      	* app/gimphelp.c
      	* app/main.c
      	* app/core/gimpgradient.c
      	* app/display/gimpdisplay.c
      	* app/display/gimpdisplayshell.c
      	* app/file/file-open.c
      	* app/file/file-save.c
      	* app/file/file-utils.c
      	* app/gui/commands.c
      	* app/gui/error-console-dialog.c
      	* app/gui/file-dialog-utils.c
      	* app/gui/file-open-dialog.c
      	* app/gui/file-save-dialog.c
      	* app/gui/paths-dialog.c
      	* app/gui/user-install-dialog.c
      	* app/tools/gimpbezierselecttool.c
      	* app/tools/xinput_airbrush.c
      	* app/xcf/xcf.c
      	* tools/pdbgen/pdb/fileops.pdb
      	* tools/pdbgen/pdb/help.pdb
      	* tools/pdbgen/pdb/message.pdb
      	* tools/pdbgen/pdb/plug_in.pdb: changed accordingly:
      
      	- changed "plug-in.h" include where needed.
      	- don't call gimp_fatal_error() directly, it's called via the log
      	  handler when calling g_error().
      	- don't incude "errors.h" except from main.c.
      	- changed stack_trace and message_handler enum names.
      	- get "stack_trace_mode" from Gimp.
      	- removed many inclusions of "appenv.h".
      
      	* app/pdb/fileops_cmds.c
      	* app/pdb/help_cmds.c
      	* app/pdb/message_cmds.c
      	* app/pdb/plug_in_cmds.c
      	* app/pdb/procedural_db.c: regenerated.
      77863d88
  8. 18 Jul, 2001 1 commit
    • Michael Natterer's avatar
      seems Mathieu messed up the last commit :) Added these two files back from · 52475f57
      Michael Natterer authored
      2001-07-18  Michael Natterer  <mitch@gimp.org>
      
      	* app/batch.[ch]: seems Mathieu messed up the last commit :) Added
      	these two files back from the Attic, removed the old STDIN code
      	and added a small hack which calls "extension-script-fu-text-console"
      
      	* app/main.c: reverted to the last version, so old and new batch
      	mode are both there now.
      52475f57
  9. 20 May, 2001 1 commit
    • Michael Natterer's avatar
      app/base/Makefile.am new files for base_init() and base_exit() which · 711a8e70
      Michael Natterer authored
      2001-05-20  Michael Natterer  <mitch@gimp.org>
      
      	* app/base/Makefile.am
      	* app/base/base.[ch]: new files for base_init() and base_exit()
      	which initialize/shutdown the paint_funcs and the tile_cache.
      
      	* app/app_procs.c: removed the stuff here.
      
      	* app/widgets/gimpchannellistitem.c: commented out unused code.
      711a8e70
  10. 21 May, 2000 1 commit
    • Michael Natterer's avatar
      These changes enable help support for 3rd party plug-ins which install · 9c6b0b0c
      Michael Natterer authored
      2000-05-21  Michael Natterer  <mitch@gimp.org>
      
      	These changes enable help support for 3rd party plug-ins which
      	install their help files outside GIMP's main help dir.
      
      	Instead of calling gimp_help(), gimp_plugin_help_func() etc.,
      	all help callbacks now have to call gimp_standard_help_func()
      	which has different implementations in the app and in libgimp.
      
      	There is a new function gimp_plugin_help_register() which can
      	be called during plug-in query. plug_in.c keeps a list of
      	executable_name/help_path pairs. Plug-ins have to pass their
      	exec. name to gimp_help() which uses the list to find the plug-in's
      	help directory.
      
      	* app/gimphelp.[ch]: gimp_help() now takes a help_path parameter.
      	help_path == NULL means the standard help directory. Various
      	changes to pass the help_path to the help browser.
      
      	* app/gimprc.c: save the plug-in's help_path in the pluginrc file.
      
      	* app/menus.c: ugly hack to enable help_paths in the "F1" callback.
      
      	* app/plug_in.[ch]: many help_path related changes. Use g_basename()
      	instead of strrchr(str,G_DIR_SEPARATOR), cosmetic cleanups.
      
      	* app/internal_procs.c
      	* app/gimphelp_cmds.c
      	* tools/pdbgen/pdb/gimphelp.pdb: new procedure
      	gimp_plugin_help_register(). gimp_help() takes a second parameter
      	which is the executable name (not the help_path).
      
      	* app/color_notebook.c
      	* app/commands.c
      	* app/lc_dialog.c
      	* app/preferences_dialog.c
      	* app/tools.c: call gimp_standard_help_func() instead of gimp_help().
      
      	* libgimp/gimp.c: new function gimp_get_progname() which returns
      	the full path of the plug-in's executable.
      
      	* libgimp/gimp.h: export the new function,
      	removed gimp_plugin_help_func(), gimp_help() takes the executable
      	name as second parameter.
      
      	* libgimp/gimpcompat.h: added gimp_plugin_help_func().
      
      	* libgimp/gimphelp.c: a wrapper for gimp_plugin_help_register(),
      	changed the calls to gimp_help.
      
      	* libgimp/gimphelpui.[ch]: call gimp_standard_help_func() instead
      	of gimp_help().
      
      	* plug-ins/helpbrowser/helpbrowser.c: now called with an additional
      	help_path parameter. Various changes to enable
      	help_path != gimp_standard_help_path.
      
      	Unrelated stuff:
      
      	* app/batch.h: added missing GPL header.
      
      	* app/gimpunit.c: had a LGPL header, merged some fprintf's into
      	one call.
      
      	* app/procedural_db.[ch]: cosmetic: g* types, s/g_malloc/g_new/,
      	prototypes, indentation.
      
      	* app/resize.c: use less packing widgets. didn't find the "offset"
      	redraw bug :(
      9c6b0b0c
  11. 24 Nov, 1997 1 commit