1. 30 Aug, 2015 1 commit
  2. 15 Aug, 2014 1 commit
  3. 03 Aug, 2014 1 commit
  4. 07 Apr, 2013 1 commit
  5. 07 Mar, 2011 1 commit
  6. 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
  7. 20 Sep, 2008 1 commit
  8. 19 Sep, 2008 4 commits
    • Michael Natterer's avatar
      rename "menu_path" to "menu_label". Having a full path here is just compat · 00c33082
      Michael Natterer authored
      2008-09-19  Michael Natterer  <mitch@gimp.org>
      
      	* plug-ins/script-fu/script-fu-types.h (struct SFScript): rename
      	"menu_path" to "menu_label". Having a full path here is just
      	compat cruft.
      
      	* plug-ins/script-fu/script-fu-scripts.c
      	* plug-ins/script-fu/script-fu-script.[ch]: changed accordingly.
      
      
      svn path=/trunk/; revision=27016
      00c33082
    • Sven Neumann's avatar
      also apply the menu mapping on scripts that use script-fu-menu-register to · a2b28364
      Sven Neumann authored
      2008-09-19  Sven Neumann  <sven@gimp.org>
      
      	* plug-ins/script-fu/script-fu-scripts.c: also apply the menu
      	mapping on scripts that use script-fu-menu-register to add
      	themselves to the menus.
      
      
      
      svn path=/trunk/; revision=27015
      a2b28364
    • Michael Natterer's avatar
      fix warning about missing braces around array initializer. · bf7b7208
      Michael Natterer authored
      2008-09-19  Michael Natterer  <mitch@gimp.org>
      
      	* plug-ins/script-fu/script-fu-scripts.c (script_fu_script_proc):
      	fix warning about missing braces around array initializer.
      
      
      svn path=/trunk/; revision=27010
      bf7b7208
    • Michael Natterer's avatar
      add new functions script_fu_script_get_title() and · cb702ebd
      Michael Natterer authored
      2008-09-19  Michael Natterer  <mitch@gimp.org>
      
      	* plug-ins/script-fu/script-fu-script.[ch]: add new functions
      	script_fu_script_get_title() and script_fu_script_reset().
      
      	* plug-ins/script-fu/script-fu-scripts.c (script_fu_add_script):
      	don't set all default values *and* values when parsing the script,
      	just set the defaults and call script_fu_script_reset() afterwards.
      
      	* plug-ins/script-fu/script-fu-interface.c (script_fu_interface):
      	use the new script_fu_script_get_title().
      
      	(script_fu_reset): call script_fu_script_reset() and then update
      	the UI from the current values, instead of doing slightly
      	different things for each arg type.
      
      
      svn path=/trunk/; revision=27009
      cb702ebd
  9. 18 Sep, 2008 5 commits
    • Sven Neumann's avatar
      don't leak the GError. · 33500a41
      Sven Neumann authored
      2008-09-18  Sven Neumann  <sven@gimp.org>
      
      	* plug-ins/script-fu/script-fu-scripts.c 
      (script_fu_script_proc):
      	don't leak the GError.
      
      
      svn path=/trunk/; revision=26998
      33500a41
    • Michael Natterer's avatar
      Bug 552785 – Script-fu run errors do not show in UI · be043836
      Michael Natterer authored
      2008-09-18  Michael Natterer  <mitch@gimp.org>
      
      	Bug 552785 – Script-fu run errors do not show in UI
      
      	* plug-ins/script-fu/script-fu-scripts.c (script_fu_script_proc):
      	fix the code that passes the error message back via the pipe.
      
      
      svn path=/trunk/; revision=26997
      be043836
    • Sven Neumann's avatar
      plugged a memory leak. · e0a2e4e5
      Sven Neumann authored
      2008-09-18  Sven Neumann  <sven@gimp.org>
      
      	* plug-ins/script-fu/script-fu-scripts.c 
      (script_fu_run_command):
      	plugged a memory leak.
      
      	* plug-ins/script-fu/script-fu-console.c
      	* plug-ins/script-fu/script-fu-server.c: minor cleanup.
      
      
      svn path=/trunk/; revision=26996
      e0a2e4e5
    • Michael Natterer's avatar
      add new functions script_fu_script_collect_standard_args(), · 3b2661bd
      Michael Natterer authored
      2008-09-18  Michael Natterer  <mitch@gimp.org>
      
      	* plug-ins/script-fu/script-fu-script.[ch]: add new functions
      	script_fu_script_collect_standard_args(),
      	script_fu_script_get_command() and
      	script_fu_script_get_command_from_params().
      
      	* plug-ins/script-fu/script-fu-scripts.c: remove the resp. code
      	here and use above functions instead.
      
      	* plug-ins/script-fu/script-fu-interface.c (script_fu_ok): changed
      	loop over args to only copy all widget content into the script's
      	values and then call script_fu_script_get_command().
      
      
      svn path=/trunk/; revision=26993
      3b2661bd
    • Tor Lillqvist's avatar
      Fix small build break. · 9d28bbdd
      Tor Lillqvist authored
      2008-09-18  Tor Lillqvist  <tml@novell.com>
      
      	* plug-ins/script-fu/script-fu-scripts.c (script_fu_add_script):
      	Fix small build break.
      
      
      svn path=/trunk/; revision=26991
      9d28bbdd
  10. 17 Sep, 2008 2 commits
    • Michael Natterer's avatar
      add struct SFArg which keeps all a script argument's type, label, value · 03f0901d
      Michael Natterer authored
      2008-09-17  Michael Natterer  <mitch@gimp.org>
      
      	* plug-ins/script-fu/script-fu-types.h: add struct SFArg which
      	keeps all a script argument's type, label, value and default
      	value.
      
      	(struct SFScript): replace separate arrays of type, label etc. by
      	one array of SFArg. Remove array of GimpParamDef because they are
      	only needed while registering the temp proc.
      
      	* plug-ins/script-fu/Makefile.am
      	* plug-ins/script-fu/script-fu-script.[ch]: new files implementing
      	script_fu_script_new(), script_fu_script_free(),
      	script_fu_script_register_proc() and
      	script_fu_script_unregister_proc().
      
      	* plug-ins/script-fu/script-fu-scripts.c: remove lots of code now
      	implemented in script-fu-script.c. Changed stuff according to the
      	introduction of SFArg. Moved variables to local scopes. Most
      	changes are in script_fu_add_script(), almost every line changed
      	and it's hopefully more readable now. Lots of cleanup all over the
      	place.
      
      	* plug-ins/script-fu/script-fu-interface.c: changed stuff
      	according to the introduction of SFArg
      
      
      svn path=/trunk/; revision=26978
      03f0901d
    • Sven Neumann's avatar
      tweaked error message. · f00a167d
      Sven Neumann authored
      2008-09-17  Sven Neumann  <sven@gimp.org>
      
      	* plug-ins/script-fu/script-fu-scripts.c 
      (script_fu_load_script):
      	tweaked error message.
      
      
      svn path=/trunk/; revision=26968
      f00a167d
  11. 11 Sep, 2008 3 commits
  12. 10 Sep, 2008 1 commit
    • Michael Natterer's avatar
      Change Script-Fu error handling to properly use the new error message · 0765087a
      Michael Natterer authored
      2008-09-10  Michael Natterer  <mitch@gimp.org>
      
      	Change Script-Fu error handling to properly use the new error
      	message passing in PDB return values:
      
      	* plug-ins/script-fu/script-fu-scripts.[ch]: remove function
      	script_fu_error_msg().
      
      	* plug-ins/script-fu/script-fu-interface.c (script_fu_ok): output
      	errors of interactive script-fu dialogs directly here with
      	g_message().
      
      	* plug-ins/script-fu/script-fu-scripts.c (script_fu_run_command):
      	add GError and return the error message instead of displaying it.
      
      	(script_fu_load_script): show the returned error here (and make it
      	more specific than the former script_fu_error_msg() did).
      
      	(script_fu_script_proc): return error messages via the procedure's
      	return values.
      
      	* plug-ins/script-fu/scheme-wrapper.c
      	(script_fu_marshal_procedure_call): if an error message was
      	returned from the PDB call, pass it to foreign_error() so it ends
      	up where it should (consle, text console or error string).
      
      	* plug-ins/script-fu/script-fu-console.c
      	* plug-ins/script-fu/script-fu-text-console.c: set the error
      	handler to PLUGIN while interpreting scheme, we handle errors
      	from calling back into the PDB ourselves now.
      
      
      svn path=/trunk/; revision=26920
      0765087a
  13. 21 Aug, 2008 1 commit
  14. 10 Apr, 2008 1 commit
    • Sven Neumann's avatar
      fixed compilation on Win32 (bug #527300). · cc57080a
      Sven Neumann authored
      2008-04-10  Sven Neumann  <sven@gimp.org>
      
      	* plug-ins/script-fu/script-fu-scripts.c (script_fu_add_script):
      	fixed compilation on Win32 (bug #527300).
      
      
      svn path=/trunk/; revision=25462
      cc57080a
  15. 09 Apr, 2008 2 commits
  16. 11 Oct, 2007 2 commits
  17. 27 Sep, 2007 1 commit
    • Kevin Cozens's avatar
      Create SF-RUN-MODE constant for use in Script-Fu. Fixes bug #479893. · 0cb80bdc
      Kevin Cozens authored
      2007-09-27  Kevin Cozens  <kcozens@cvs.gnome.org>
      
      	Create SF-RUN-MODE constant for use in Script-Fu. Fixes bug #479893.
      
      	* plug-ins/script-fu/scheme-wrapper.c
      	* plug-ins/script-fu/scheme-wrapper.h: Added set_run_mode_constant()
      	which creates a new constant called SF-RUN-MODE. This constant can
      	be used by Script-Fu scripts when calling a plug-in that needs to
      	know the current run mode.
      
      	* plug-ins/script-fu/script-fu-scripts.c
      	* plug-ins/script-fu/script-fu-console.c
      	* plug-ins/script-fu/script-fu.c
      	* plug-ins/script-fu/script-fu-server.c: Added calls to create the
      	new SF-RUN-MODE constant.
      
      	* plug-ins/script-fu/scripts/difference-clouds.scm: Pass SF-RUN-MODE
      	to the solid noise plug-in instead of always using RUN-INTERACTIVE.
      
      svn path=/trunk/; revision=23674
      0cb80bdc
  18. 07 Sep, 2007 1 commit
    • Michael Natterer's avatar
      applied patch from Kevin Cozens which implements RUN-WITH-LAST-VALS. On · 9112c91d
      Michael Natterer authored
      2007-09-07  Michael Natterer  <mitch@gimp.org>
      
      	* plug-ins/script-fu/script-fu-scripts.c (script_fu_script_proc):
      	applied patch from Kevin Cozens which implements RUN-WITH-LAST-VALS.
      	On top of that, factored out script_fu_collect_standard_args()
      	which collects DISPLAY,IMAGE,[DRAWABLE|LAYER|...] from the passed
      	parameters according to the new calling conventions (the old code
      	for INTERACTIVE was broken). Also cleaned up the function a bit.
      	Fixes bug #472493.
      
      
      svn path=/trunk/; revision=23474
      9112c91d
  19. 31 Aug, 2007 1 commit
    • Simon Budig's avatar
      plug-ins/script-fu/tinyscheme/scheme.[ch] make it possible for foreign · 8d42d089
      Simon Budig authored
      2007-08-31  Simon Budig  <simon@gimp.org>
      
      	* plug-ins/script-fu/tinyscheme/scheme.[ch]
      	* plug-ins/script-fu/tinyscheme/scheme-private.h: make it possible
      	for foreign functions to return an error.
      
      	* plug-ins/script-fu/script-fu-scripts.c
      	* plug-ins/script-fu/scheme-wrapper.c: Make use of this.
      	Fixes bug #472026.
      
      
      svn path=/trunk/; revision=23432
      8d42d089
  20. 30 Aug, 2007 1 commit
    • Simon Budig's avatar
      plug-ins/script-fu/tinyscheme/scheme.[ch] small changes to tinyscheme - · 0928a32a
      Simon Budig authored
      2007-08-30  Simon Budig  <simon@gimp.org>
      
      	* plug-ins/script-fu/tinyscheme/scheme.[ch]
      	* plug-ins/script-fu/tinyscheme/scheme-private.h: small changes
      	to tinyscheme - mostly removing workarounds for message output.
      
      	* plug-ins/script-fu/scheme-wrapper.[ch]: try to channel the
      	output through a central function, have various output functions
      	to handle the messages. Remove some hacks.
      
      	* plug-ins/script-fu/script-fu-text-console.c
      	* plug-ins/script-fu/script-fu-scripts.[ch]
      	* plug-ins/script-fu/script-fu-interface.c
      	* plug-ins/script-fu/script-fu.c
      	* plug-ins/script-fu/script-fu-server.c
      	* plug-ins/script-fu/script-fu-console.[ch]: use the new
      	infrastructure. Remove more hacks.
      
      	* plug-ins/script-fu/servertest.py: small script to test the
      	communication with the script-fu-server.
      
      
      svn path=/trunk/; revision=23400
      0928a32a
  21. 06 Aug, 2007 1 commit
  22. 03 Aug, 2007 1 commit
  23. 22 May, 2007 1 commit
  24. 12 Apr, 2007 1 commit
    • Sven Neumann's avatar
      if a plug-in or script registered with a DISPLAY argument after the · 65f28095
      Sven Neumann authored
      2007-04-12  Sven Neumann  <sven@gimp.org>
      
      	* app/actions/plug-in-commands.c: if a plug-in or script
      	registered with a DISPLAY argument after the run-mode argument,
      	then pass the ID of the active display to the script, optionally
      	followed by image and drawable IDs.
      
      	* plug-ins/script-fu/scheme-wrapper.c
      	* plug-ins/script-fu/script-fu-enums.h
      	* plug-ins/script-fu/script-fu-interface.c
      	* plug-ins/script-fu/script-fu-scripts.c
      	* plug-ins/script-fu/script-fu-types.h: added SF-DISPLAY parameter.
      
      svn path=/trunk/; revision=22241
      65f28095
  25. 19 Feb, 2007 1 commit
  26. 09 Dec, 2006 1 commit
  27. 18 Nov, 2006 1 commit
  28. 16 Nov, 2006 1 commit
    • Simon Budig's avatar
      plug-ins/script-fu/script-fu-enums.h plug-ins/script-fu/scheme-wrapper.c · 4255e608
      Simon Budig authored
      2006-11-16  Simon Budig  <simon@gimp.org>
      
      	* plug-ins/script-fu/script-fu-enums.h
      	* plug-ins/script-fu/scheme-wrapper.c
      	* plug-ins/script-fu/script-fu-types.h
      	* plug-ins/script-fu/script-fu-scripts.c: add a SF-VECTORS type for
      	script-fu.
      
      	* plug-ins/script-fu/script-fu-interface.c: use a vectors
      	combobox for the GUI.
      
      	* plug-ins/script-fu/scripts/test-sphere.scm: test it as well.
      4255e608