1. 09 Oct, 2004 1 commit
    • Kevin Cozens's avatar
      ftx/Makefile.am re/Makefile.am scripts/Makefile.am · af2eb68c
      Kevin Cozens authored
      2004-10-08 Kevin Cozens <kcozens@cvs.gimp.org>
      
          * ftx/Makefile.am
          * re/Makefile.am
          * scripts/Makefile.am
          * scripts/images/Makefile.am
          * tiny-fu/Makefile.am
          * tinyscheme/Makefile.am: Cleaned up files, added EXTRA_DIST with
          list of files to include in a distribution. Fixed typo in filename
          in the re/Makefile.am file.
      af2eb68c
  2. 07 Oct, 2004 3 commits
  3. 06 Oct, 2004 4 commits
  4. 05 Oct, 2004 2 commits
    • Michael Natterer's avatar
      tools/pdbgen/pdb/brushes.pdb (brushes_get_brush_data) · caf47869
      Michael Natterer authored
      2004-10-06  Michael Natterer  <mitch@gimp.org>
      
      	* tools/pdbgen/pdb/brushes.pdb (brushes_get_brush_data)
      	* tools/pdbgen/pdb/gradients.pdb (gradients_sample_uniform)
      	(gradients_sample_custom) (gradients_get_gradient_data)
      	* tools/pdbgen/pdb/patterns.pdb (patterns_get_pattern_data):
      	deprecated.
      
      	* tools/pdbgen/pdb/brush.pdb
      	* tools/pdbgen/pdb/gradient.pdb
      	* tools/pdbgen/pdb/palette.pdb
      	* tools/pdbgen/pdb/pattern.pdb: added replacements for the
      	deprecated functions. Removed the silly feature that passing NULL
      	as name operates on the current brush, pattern etc.
      
      	* app/pdb/brush_cmds.c
      	* app/pdb/brushes_cmds.c
      	* app/pdb/gradient_cmds.c
      	* app/pdb/gradients_cmds.c
      	* app/pdb/internal_procs.c
      	* app/pdb/palette_cmds.c
      	* app/pdb/pattern_cmds.c
      	* app/pdb/patterns_cmds.c
      	* libgimp/gimpbrush_pdb.[ch]
      	* libgimp/gimpbrushes_pdb.[ch]
      	* libgimp/gimpgradient_pdb.[ch]
      	* libgimp/gimpgradients_pdb.[ch]
      	* libgimp/gimppalette_pdb.c
      	* libgimp/gimppattern_pdb.[ch]
      	* libgimp/gimppatterns_pdb.[ch]: regenerated.
      
      	* libgimp/gimpbrushmenu.c
      	* libgimp/gimpgradientmenu.c
      	* libgimp/gimppatternmenu.c
      	* plug-ins/FractalExplorer/Dialogs.c
      	* plug-ins/common/gradmap.c
      	* plug-ins/common/sample_colorize.c
      	* plug-ins/flame/flame.c
      	* plug-ins/gfig/gfig-style.c
      	* plug-ins/gflare/gflare.c
      	* plug-ins/pagecurl/pagecurl.c
      	* plug-ins/script-fu/scripts/spyrogimp.scm: changed accordingly.
      caf47869
    • Sven Neumann's avatar
      simple change to make the script work on all image types, not only RGB. · 045aeed7
      Sven Neumann authored
      2004-10-05  Sven Neumann  <sven@gimp.org>
      
      	* plug-ins/script-fu/scripts/addborder.scm: simple change to make
      	the script work on all image types, not only RGB.
      045aeed7
  5. 04 Oct, 2004 8 commits
    • Sven Neumann's avatar
      left-justify the label. · 2284ab06
      Sven Neumann authored
      2004-10-05  Sven Neumann  <sven@gimp.org>
      
      	* libgimpwidgets/gimpwidgets.c (gimp_table_attach_aligned):
      	left-justify the label.
      
      	* libgimpwidgets/gimpdialog.c: if a button with GTK_RESPONSE_HELP
      	is being added, hide the automatically added help button.
      
      	* plug-ins/script-fu/script-fu-interface.c: five buttons are too
      	much for the action area. Renamed the About button to Help and
      	resurrected the help button in the about dialog as a way to get to
      	the actual help pages (pressing F1 will get you there as well).
      2284ab06
    • Michael Natterer's avatar
      - check the number of elements of array parameters against the actually · 59766a4e
      Michael Natterer authored
      2004-10-05  Michael Natterer  <mitch@gimp.org>
      
      	* plug-ins/script-fu/siod-wrapper.c (marshall_proc_db_call):
      	- check the number of elements of array parameters against
      	  the actually passed array and spit a proper error message
      	  instead of trashing the wire. Fixes bug #154266.
      	- g_strdup()/g_free() the proc_name so it doesn't get mungled
      	  by convert_string().
      	- added missing implementation of INT16ARRAY return values.
      	- cleaned up STRINGARRAY value implementations to work like
      	  all other array values.
      59766a4e
    • Sven Neumann's avatar
      fixed reset for SF_TEXT values. · 779473f2
      Sven Neumann authored
      2004-10-04  Sven Neumann  <sven@gimp.org>
      
      	* plug-ins/script-fu/script-fu-interface.c (script_fu_reset):
      	fixed reset for SF_TEXT values.
      779473f2
    • Sven Neumann's avatar
      oops, didn't meant to remove that line. · b42b519a
      Sven Neumann authored
      2004-10-04  Sven Neumann  <sven@gimp.org>
      
      	* plug-ins/script-fu/script-fu-interface.c (script_fu_interface):
      	oops, didn't meant to remove that line.
      b42b519a
    • Sven Neumann's avatar
      set the help_func again (but not the help_id). · 4872d236
      Sven Neumann authored
      2004-10-04  Sven Neumann  <sven@gimp.org>
      
              * plug-ins/script-fu/script-fu-interface.c (script_fu_about): set
              the help_func again (but not the help_id).
      4872d236
    • Sven Neumann's avatar
      enabled line wrapping on labels. (script_fu_interface): substitute · 6a5b3015
      Sven Neumann authored
      2004-10-04  Sven Neumann  <sven@gimp.org>
      
      	* plug-ins/script-fu/script-fu-interface.c (script_fu_about):
      	enabled line wrapping on labels.
      	(script_fu_interface): substitute underscores by hyphens to
      	generate the help_id from the procedure name.
      6a5b3015
    • Sven Neumann's avatar
      set a minimum width for the color button again. (script_fu_about): don't · c6579be8
      Sven Neumann authored
      2004-10-04  Sven Neumann  <sven@gimp.org>
      
      	* plug-ins/script-fu/script-fu-interface.c (script_fu_interface):
      	set a minimum width for the color button again.
      	(script_fu_about): don't set help_func and help_id on the about
      	dialog.
      c6579be8
    • Sven Neumann's avatar
      a cleaned up version of the script contributed by Kevin Cozens (see bug · 97b66364
      Sven Neumann authored
      2004-10-04  Sven Neumann  <sven@gimp.org>
      
      	* plug-ins/script-fu/scripts/asc2img.scm: a cleaned up version of
      	the script contributed by Kevin Cozens (see bug #153900).
      
      	* plug-ins/script-fu/scripts/predator.scm: applied patch by Kevin
      	Cozens that fixes use of the script on original layer (bug #152678).
      97b66364
  6. 03 Oct, 2004 3 commits
    • Sven Neumann's avatar
      plug-ins/script-fu/scripts/3d-outline.scm · 2119f890
      Sven Neumann authored
      2004-10-04  Sven Neumann  <sven@gimp.org>
      
      	* plug-ins/script-fu/scripts/3d-outline.scm
      	* plug-ins/script-fu/scripts/blended-logo.scm
      	* plug-ins/script-fu/scripts/camo.scm
      	* plug-ins/script-fu/scripts/clothify.scm
      	* plug-ins/script-fu/scripts/flatland.scm
      	* plug-ins/script-fu/scripts/glossy.scm
      	* plug-ins/script-fu/scripts/land.scm
      	* plug-ins/script-fu/scripts/predator.scm
      	* plug-ins/script-fu/scripts/rendermap.scm
      	* plug-ins/script-fu/scripts/ripply-anim.scm
      	* plug-ins/script-fu/scripts/speed-text.scm
      	* plug-ins/script-fu/scripts/spinning-globe.scm: applied patches
      	from Kevin Cozens that define variables before first use (bug
      	#153900).
      2119f890
    • Sven Neumann's avatar
      handle allocation > requisition for the gradient preview. · 224633fe
      Sven Neumann authored
      2004-10-04  Sven Neumann  <sven@gimp.org>
      
      	* libgimp/gimpgradientmenu.c: handle allocation > requisition for
      	the gradient preview.
      
      	* plug-ins/script-fu/script-fu-interface.c: added a horizontal
      	size group for the left-aligned controls.
      224633fe
    • Michael Schumacher's avatar
      plug-ins/dbbrowser/Makefile.am moved the libgimpprocbrowser to the · d270b23a
      Michael Schumacher authored
      2004-10-03  Michael Schumacher <schumaml@gmx.de>
      
      	* plug-ins/dbbrowser/Makefile.am
      	* plug-ins/script-fu/Makefile.am: moved the libgimpprocbrowser to
      	the beginning of LDADD
      d270b23a
  7. 30 Sep, 2004 2 commits
    • Michael Natterer's avatar
      renamed member "decription" to "menu_path". · 18af15ee
      Michael Natterer authored
      2004-09-30  Michael Natterer  <mitch@gimp.org>
      
      	* plug-ins/script-fu/script-fu-types.h (struct SFScript): renamed
      	member "decription" to "menu_path".
      
      	* plug-ins/script-fu/script-fu-interface.c: changed accordingly.
      
      	* plug-ins/script-fu/script-fu-scripts.c: ditto. Don't pass the
      	menu_path as "blurb" to gimp_install_temp_proc(). Instead,
      	pass "help" as "blurb" and nothing as "help".
      
      	* plug-ins/script-fu/scripts/test-sphere.scm: shortened overly
      	long and useless help text.
      18af15ee
    • Michael Natterer's avatar
      Cleaned up the DB Browser and Plugin Details code and GUI. It's not · 95c903ec
      Michael Natterer authored
      2004-09-30  Michael Natterer  <mitch@gimp.org>
      
      	Cleaned up the DB Browser and Plugin Details code and GUI.  It's
      	not perfect yet but at least they don't look like crap any more.
      	Fixes bug #131490.
      
      	* plug-ins/common/plugin-defs.pl
      	* plug-ins/common/plugindetails.c: removed this plugin.
      
      	* plug-ins/common/.cvsignore
      	* plug-ins/common/Makefile.am: regenerated.
      
      	* plug-ins/dbbrowser/Makefile.am
      	* plug-ins/dbbrowser/dbbrowser.c
      	* plug-ins/dbbrowser/dbbrowser_utils.[ch]: removed these files.
      
      	* plug-ins/dbbrowser/gimpprocbrowser.[ch]
      	* plug-ins/dbbrowser/gimpprocview.[ch]: new cleaned up files.
      
      	* plug-ins/dbbrowser/plugin-browser.c: the former plugindetails.
      	* plug-ins/dbbrowser/procedure-browser.c: the former dbbrowser.
      
      	* plug-ins/script-fu/Makefile.am: link against the new library
      	libgimpprocbrowser.a
      
      	* plug-ins/script-fu/script-fu-console.c: changed #includes
      	accordingly. Monir cleanup.
      
      	* tools/pdbgen/pdb/plug_in.pdb (plugins_query): fixed menu_path
      	return value. Was broken since the plug-in menu registering
      	changes.
      
      	* app/pdb/plug_in_cmds.c: regenerated.
      95c903ec
  8. 23 Sep, 2004 7 commits
    • Sven Neumann's avatar
      put the text view into a scrolled window. Removed "changed" callbacks for · 58b08f86
      Sven Neumann authored
      2004-09-23  Sven Neumann  <sven@gimp.org>
      
      	* plug-ins/script-fu/script-fu-interface.c: put the text view into
      	a scrolled window. Removed "changed" callbacks for GtkEntry and
      	GtkTextView. Instead retrieve the final string when the dialog is
      	confirmed.
      
      	* plug-ins/script-fu/scripts/carved-logo.scm
      	* plug-ins/script-fu/scripts/chrome-it.scm
      	* plug-ins/script-fu/scripts/crystal-logo.scm
      	* plug-ins/script-fu/scripts/sota-chrome-logo.scm: use
      	gimp-data-directory instead of the deprecated constant
      	gimp-data-dir.
      
      	* plug-ins/script-fu/scripts/mkbrush.scm: unmarked strings for
      	translation that I marked yesterday. Won't work unfortunately.
      58b08f86
    • Sven Neumann's avatar
      fixed context push/pop. · 803b797a
      Sven Neumann authored
      2004-09-23  Sven Neumann  <sven@gimp.org>
      
      	* plug-ins/script-fu/scripts/blended-logo.scm: fixed context
      	push/pop.
      803b797a
    • Sven Neumann's avatar
      plug-ins/script-fu/script-fu-enums.h · b36cb4f0
      Sven Neumann authored
      2004-09-23  Sven Neumann  <sven@gimp.org>
      
      	* 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/siod-wrapper.c: applied a patch by Kevin
      	Cozens, based on a patch by Dov Grobgeld. Implements multi-line
      	text input in Script-Fu (bug #124394).
      
      	* plug-ins/script-fu/scripts/test-sphere.scm: test the new SF-TEXT
      	parameter.
      b36cb4f0
    • Michael Natterer's avatar
      plug-ins/script-fu/scripts/3d-outline.scm · fc8241a0
      Michael Natterer authored
      2004-09-23  Michael Natterer  <mitch@gimp.org>
      
      	* plug-ins/script-fu/scripts/3d-outline.scm
      	* plug-ins/script-fu/scripts/beveled-pattern-arrow.scm
      	* plug-ins/script-fu/scripts/beveled-pattern-bullet.scm
      	* plug-ins/script-fu/scripts/beveled-pattern-button.scm
      	* plug-ins/script-fu/scripts/beveled-pattern-heading.scm
      	* plug-ins/script-fu/scripts/beveled-pattern-hrule.scm
      	* plug-ins/script-fu/scripts/blended-logo.scm
      	* plug-ins/script-fu/scripts/carve-it.scm
      	* plug-ins/script-fu/scripts/carved-logo.scm
      	* plug-ins/script-fu/scripts/chip-away.scm
      	* plug-ins/script-fu/scripts/chrome-it.scm
      	* plug-ins/script-fu/scripts/coffee.scm
      	* plug-ins/script-fu/scripts/comic-logo.scm
      	* plug-ins/script-fu/scripts/coolmetal-logo.scm
      	* plug-ins/script-fu/scripts/crystal-logo.scm
      	* plug-ins/script-fu/scripts/frosty-logo.scm
      	* plug-ins/script-fu/scripts/glossy.scm
      	* plug-ins/script-fu/scripts/hsv-graph.scm
      	* plug-ins/script-fu/scripts/land.scm
      	* plug-ins/script-fu/scripts/lava.scm
      	* plug-ins/script-fu/scripts/mkbrush.scm
      	* plug-ins/script-fu/scripts/rendermap.scm
      	* plug-ins/script-fu/scripts/select-to-brush.scm
      	* plug-ins/script-fu/scripts/select-to-pattern.scm
      	* plug-ins/script-fu/scripts/sota-chrome-logo.scm
      	* plug-ins/script-fu/scripts/spyrogimp.scm
      	* plug-ins/script-fu/scripts/starburst-logo.scm
      	* plug-ins/script-fu/scripts/starscape-logo.scm
      	* plug-ins/script-fu/scripts/t-o-p-logo.scm
      	* plug-ins/script-fu/scripts/test-sphere.scm
      	* plug-ins/script-fu/scripts/textured-logo.scm: use the new
      	opacity, paint_mode, brush, pattern, gradient, palette and font
      	accessors.
      fc8241a0
    • Sven Neumann's avatar
      Converted the last bunch of scripts to the new context API: · 748021dd
      Sven Neumann authored
      2004-09-23  Sven Neumann  <sven@gimp.org>
      
      	Converted the last bunch of scripts to the new context API:
      
      	* plug-ins/script-fu/scripts/[s-z]*.scm
      748021dd
    • Sven Neumann's avatar
      Converted more scripts to the new context API: · cf221a14
      Sven Neumann authored
      2004-09-23  Sven Neumann  <sven@gimp.org>
      
      	Converted more scripts to the new context API:
      
      	* plug-ins/script-fu/scripts/glossy.scm
      	* plug-ins/script-fu/scripts/hsv-graph.scm
      	* plug-ins/script-fu/scripts/image-structure.scm
      	* plug-ins/script-fu/scripts/perspective-shadow.scm
      	* plug-ins/script-fu/scripts/pupi-button.scm
      	* plug-ins/script-fu/scripts/rendermap.scm
      	* plug-ins/script-fu/scripts/ripply-anim.scm
      cf221a14
    • Sven Neumann's avatar
      oops, should probably pop, not push a context in gimp_context_pop(). · ce1ee987
      Sven Neumann authored
      2004-09-23  Sven Neumann  <sven@gimp.org>
      
      	* tools/pdbgen/pdb/context.pdb: oops, should probably pop, not
      	push a context in gimp_context_pop().
      
      	* app/pdb/context_cmds.c: regenerated.
      
      	* plug-ins/script-fu/scripts/mkbrush.scm: don't fiddle with the
      	brush description, simply use the name choosen by the user.
      ce1ee987
  9. 22 Sep, 2004 5 commits
    • Sven Neumann's avatar
      Converted the next bunch of scripts to the new context API: · 617c7c07
      Sven Neumann authored
      2004-09-23  Sven Neumann  <sven@gimp.org>
      
      	Converted the next bunch of scripts to the new context API:
      
      	* plug-ins/script-fu/scripts/[d-n]*.scm: push and pop a context.
      	Removed code that used to restore the context values changed by
      	the scripts.
      617c7c07
    • Michael Natterer's avatar
      tools/pdbgen/Makefile.am tools/pdbgen/groups.pl removed the "Palette" pdb · 35b372ea
      Michael Natterer authored
      2004-09-22  Michael Natterer  <mitch@gimp.org>
      
      	* tools/pdbgen/Makefile.am
      	* tools/pdbgen/groups.pl
      	* tools/pdbgen/pdb/palette.pdb: removed the "Palette" pdb group...
      
      	* tools/pdbgen/pdb/context.pdb: and added its functions to the
      	"Context" namespace instead.
      
      	* app/pdb/Makefile.am
      	* app/pdb/palette_cmds.c: removed.
      
      	* app/pdb/procedural_db.c: added them to the pdb_compat hash table.
      
      	* libgimp/Makefile.am
      	* libgimp/gimppalette_pdb.[ch]: removed.
      
      	* libgimp/gimppalette.[ch]: new files holding compat functions
      	which call gimp_context_*() functions.
      
      	* libgimp/gimp.h
      	* libgimp/gimpui.c: changed accordingly.
      
      	* app/pdb/context_cmds.c
      	* app/pdb/internal_procs.c
      	* libgimp/gimp_pdb.h
      	* libgimp/gimpcontext_pdb.[ch]: regenerated.
      
      	* plug-ins/MapObject/mapobject_image.c
      	* plug-ins/MapObject/mapobject_preview.c
      	* plug-ins/common/apply_lens.c
      	* plug-ins/common/blinds.c
      	* plug-ins/common/borderaverage.c
      	* plug-ins/common/checkerboard.c
      	* plug-ins/common/colortoalpha.c
      	* plug-ins/common/cubism.c
      	* plug-ins/common/exchange.c
      	* plug-ins/common/film.c
      	* plug-ins/common/gif.c
      	* plug-ins/common/grid.c
      	* plug-ins/common/mapcolor.c
      	* plug-ins/common/mblur.c
      	* plug-ins/common/mng.c
      	* plug-ins/common/mosaic.c
      	* plug-ins/common/papertile.c
      	* plug-ins/common/png.c
      	* plug-ins/common/polar.c
      	* plug-ins/common/semiflatten.c
      	* plug-ins/common/sinus.c
      	* plug-ins/common/sparkle.c
      	* plug-ins/common/vpropagate.c
      	* plug-ins/common/warp.c
      	* plug-ins/common/whirlpinch.c
      	* plug-ins/gfig/gfig-style.c
      	* plug-ins/gfli/gfli.c
      	* plug-ins/ifscompose/ifscompose.c
      	* plug-ins/maze/handy.c
      	* plug-ins/pagecurl/pagecurl.c
      	* plug-ins/pygimp/gimpmodule.c
      	* plug-ins/script-fu/scripts/*.scm: changed accordingly.
      35b372ea
    • Sven Neumann's avatar
      plug-ins/script-fu/siod-wrapper.c plug-ins/script-fu/scripts/mkbrush.scm · 6dafb0c6
      Sven Neumann authored
      2004-09-22  Sven Neumann  <sven@gimp.org>
      
      	* plug-ins/script-fu/siod-wrapper.c
      	* plug-ins/script-fu/scripts/mkbrush.scm
      	* plug-ins/script-fu/scripts/select-to-brush.scm
      	* plug-ins/script-fu/scripts/select-to-pattern.scm: applied a
      	patch from Kevin Cozens that adds constants for the directory
      	names exposed by libgimpbase. Fixes bug #153327.
      6dafb0c6
    • Sven Neumann's avatar
      Converted the first bunch of Script-Fu to the new context API: · 0ef809d6
      Sven Neumann authored
      2004-09-22  Sven Neumann  <sven@gimp.org>
      
      	Converted the first bunch of Script-Fu to the new context API:
      
      	* plug-ins/script-fu/scripts/[3a-c]*.scm: push and pop a context.
      	Removed code that used to restore the context values changed by
      	the scripts.
      0ef809d6
    • Michael Natterer's avatar
      removed assertion about proc_rec != NULL because that happens when · 2dffdbeb
      Michael Natterer authored
      2004-09-22  Michael Natterer  <mitch@gimp.org>
      
      	* app/plug-in/plug-in-proc-frame.[ch] (plug_in_proc_frame_init):
      	removed assertion about proc_rec != NULL because that happens
      	when query()ing and init()int plug-ins.
      
      	Replaced "context" by "main_context" plus "context_stack".
      
      	* app/plug-in/plug-in-context.c: implement plug_in_context_push()
      	and plug_in_context_pop().
      
      	* app/plug-in/plug-in-message.c
      	* app/plug-in/plug-in-progress.c: changed accordingly.
      
      	* tools/pdbgen/pdb/context.pdb: use the return values of
      	plug_in_context_push() and _pop().
      
      	* app/pdb/context_cmds.c: regenerated.
      
      	* plug-ins/script-fu/scripts/test-sphere.scm: use
      	gimp-context-push and gimp-context-pop instead of remembering the
      	old values for FG, BG etc.
      2dffdbeb
  10. 21 Sep, 2004 2 commits
  11. 16 Sep, 2004 1 commit
  12. 02 Sep, 2004 1 commit
    • Michael Natterer's avatar
      plug-ins/script-fu/script-fu-interface.c (script_fu_ok) use a GString for · dc572fc9
      Michael Natterer authored
      2004-09-02  Michael Natterer  <mitch@gimp.org>
      
      	* plug-ins/script-fu/script-fu-interface.c (script_fu_ok)
      	* plug-ins/script-fu/script-fu-scripts.c (script_fu_script_proc):
      	use a GString for assembling the commands string instead of
      	g_sprintf()ing into a buffer. Removes the need for a separate loop
      	over all args to determine the buffer's length and makes the
      	remaining code smaller and more readable.
      dc572fc9
  13. 01 Sep, 2004 1 commit
    • Michael Natterer's avatar
      changed "guint history" to "gint history". · aeb28886
      Michael Natterer authored
      2004-09-01  Michael Natterer  <mitch@gimp.org>
      
      	* plug-ins/script-fu/script-fu-types.h (struct SFOptions): changed
      	"guint history" to "gint history".
      
      	* plug-ins/script-fu/script-fu-interface.c: added callbacks for
      	string entries and combo boxes and connect *all* widgets to callbacks.
      
      	(script_fu_ok): don't touch the widgets at all but get the values
      	directly now that the callbacks correctly write them to their
      	structs.
      
      	(script_fu_reset): don't copy the default values manually but
      	simply set the default values on the widgets; their callbacks will
      	do the rest.
      
      	* plug-ins/script-fu/script-fu-scripts.c (script_fu_add_script):
      	added some line breaks and spaces to make it more readable.
      aeb28886