2004-11-21 Sven Neumann <sven@gimp.org>
* plug-ins/gimpressionist/Brushes/snow1.pgm: reverted a change
that Hans Breuer committed here, probably accidentally.
* plug-ins/script-fu/script-fu.c
* plug-ins/script-fu/siod-wrapper.c: reverted Hans's changes. There
is indeed a Script-Fu server on Win32.
2004-09-21 Hans Breuer <hans@breuer.org>
* app/dialogs/makefile.msc : [new file]
app/dialogs/Makefile.am : added to EXTRA_DIST
* **/makefile.msc app/gimpcore.def : updated
* app/gimp.rc : let wilber be first
* app/widgets/gimppropwidgets.c : msvc6 can't cast uint64 either
* libgimpbase/gimpwin32-io.h : make up recent loss of ftruncate in GLib
* libgimpthumbnail/gimpthumbnail.c : <process.h> for getpid() on win32
* plug-ins/helpbrowser/dialog.c : include gimpwin32-io.h
* plug-ins/script-fu/siodwrapper.c plug-ins/script-fu/scrip-fu.c : there
is no script-fu-server on win32
2004-11-21 Michael Schumacher <schumaml@cvs.gnome.org>
* plug-ins/script-fu/scripts/addborder.scm: first resize the
image, then add the border layer and then fill it
2004-11-20 Kevin Cozens <kcozens@cvs.gimp.org>
* plug-ins/script-fu/script-fu-scripts.c: Need to call gettext in
script-fu_menu_compare. Spotted by Sven. Removed obsolete #define's.
2004-11-20 Michael Natterer <mitch@gimp.org>
* plug-ins/script-fu/script-fu-scripts.c: renamed variable
"script_list" to "script_tree" because it's a GTree.
(script_fu_remove_script): g_list_free() the right list (don't
leak all lists of scripts at the tree leaves).
2004-11-19 Sven Neumann <sven@gimp.org>
* plug-ins/script-fu/script-fu-scripts.c (script_fu_menu_compare):
compare the menu paths, not the struct pointers.
2004-11-19 Sven Neumann <sven@gimp.org>
* plug-ins/script-fu/scripts/selection-round.scm: moved into the
<Image>/Select/Modify now that we can safely use placeholders from
Script-Fu.
2004-11-18 Kevin Cozens <kcozens@cvs.gimp.org>
* tiny-fu/tiny-fu.c
* tiny-fu/tiny-fu-scripts.c
* tiny-fu/tiny-fu-scripts.h: Added support for (tiny-fu-menu-register)
to allow scripts to register their menu_paths the same undeprecated
way as plug-ins. Fixes bug #158117. Renamed tiny_fu_find_scripts() to
tiny_fu_load_all_scripts(). Added calls to gettext() since TinyScheme
no longer translates marked strings. In tiny_fu_script_proc() changed
some uses of params variable that should have been param.
* tiny-fu/tiny-fu-interface.c: Added a utility function to reduce
code duplication.
* tiny-fu/ts-wrapper.c: Added support for (tiny-fu-menu-register).
* tinyscheme/scheme.c: Don't call gettext() on strings marked for
translation. De-tabified file.
* scripts/test-sphere.sct: Example use of new API for scripts.
2004-11-18 Michael Natterer <mitch@gimp.org>
Script-Fu string cleanup/simplification: apply the same fix for
menu path translation that was done for plug-ins a while ago.
* plug-ins/script-fu/script-fu.c (script_fu_auxillary_init): use
gimp_plugin_menu_register() on the "Refresh" temp_proc.
* plug-ins/script-fu/scripts/*.scm: ported all scripts to use
script-fu-menu-register and pass just the menu label in
script-fu-register. Cleaned up all register calls to share a
somewhat similar formatting.
2004-11-18 Michael Natterer <mitch@gimp.org>
The following fixes have no visible effect because nobody
uses gimp_plugin_menu_register() on temp_procs yet:
* app/actions/plug-in-actions.[ch]: added
plug_in_actions_add_path() which just adds the actions needed for
a given menu math, but not the procedure action itself.
* app/gui/gui-vtable.c (gui_menus_create_entry): create the
menu_path's actions using above function so adding of submenus to
existing ui managers works.
* tools/pdbgen/pdb/plug_in.pdb (plugin_menu_register_invoker):
don't add a menu if "no_interface" is TRUE.
* app/pdb/plug_in_cmds.c: regenerated.
* plug-ins/script-fu/script-fu-scripts.c: pass untranslated
menu_paths to the core, not translated ones. Don't store the
scripts directly in the "script_list" tree but use a list of
scripts per key because there can be identical keys for different
scripts now. Fixed sorting of menu entries and menus.
2004-11-17 Manish Singh <yosh@gimp.org>
* plug-ins/dbbrowser/Makefile.am: make libgimpprocbrowser a libtooled
library.
* plug-ins/dbbrowser/gimpprocbrowser.[ch]: add a user_data pointer
for GimpProcBrowserApplyCallback.
* plug-ins/dbbrowser/gimpprocbrowser.c: only convert the name to
scheme style if scheme_names in the proc info pane too.
* plug-ins/dbbrowser/procedure-browser.c
* plug-ins/script-fu/script-fu-console.c: pass NULL as user_data.
* plug-ins/script-fu/Makefile.am: reference libgimpprocbrowser.la.
* plug-ins/pygimp/Makefile.am
* plug-ins/pygimp/procbrowser.c: new module, which wraps
libgimprocbrowser.
* plug-ins/pygimp/gimpmodule.c
* plug-ins/pygimp/pygimp.h
* plug-ins/pygimp/pygimp-pdb.c: export GimpPDBFunction so other
modules can use it.
* plug-ins/pygimp/plug-ins/pdbbrowse.py
* plug-ins/pygimp/plug-ins/gimpcons.py: use gimpprocbrowser.
2004-11-17 Michael Natterer <mitch@gimp.org>
* plug-ins/script-fu/script-fu-scripts.[ch]
* plug-ins/script-fu/siod-wrapper.c: appled patch from Kevin
Cozens which adds (script-fu-menu-register) and allows scripts to
register their menu_paths the same undeprecated way as plug-ins.
Fixes bug #158117.
* plug-ins/script-fu/scripts/test-sphere.scm: example how to use
the new API. Doesn't change strings because test-shpere.scm is an
untranslated example script.
2004-11-17 Michael Natterer <mitch@gimp.org>
* plug-ins/dbbrowser/gimpprocbox.c
* plug-ins/dbbrowser/gimpprocbrowser.[ch]
* plug-ins/dbbrowser/gimpprocview.c: some cleanup in preparation
of moving it to a more public place.
* plug-ins/dbbrowser/procedure-browser.c
* plug-ins/script-fu/script-fu-console.c: changed accordingly.
2004-11-16 Michael Natterer <mitch@gimp.org>
* tools/pdbgen/pdb/drawable_transform.pdb: renamed the new
drawable_foo_defaults() functions to drawable_foo_default() to be
consistent with paintbrush_default() and friends.
* tools/pdbgen/pdb/transform_tools.pdb
* libgimp/gimp.def: changed accordingly.
* app/pdb/drawable_transform_cmds.c
* app/pdb/transform_tools_cmds.c
* libgimp/gimpdrawabletransform_pdb.[ch]
* libgimp/gimptransformtools_pdb.c: regenerated.
* plug-ins/script-fu/scripts/coolmetal-logo.scm
* plug-ins/script-fu/scripts/image-structure.scm
* plug-ins/script-fu/scripts/text-circle.scm: follow the API change.
2004-11-13 Kevin Cozens <kcozens@cvs.gimp.org>
* plug-ins/script-fu/scripts/gimp-headers.scm
* plug-ins/script-fu/scripts/gimp-labels.scm
* plug-ins/script-fu/scripts/news-text.scm
* plug-ins/script-fu/scripts/speed-text.scm: Changed calls to
gimp-selection-clear to use gimp-selection-none in preparation
for the deprecation of -clear. (bug #156765)
2004-11-11 Michael Natterer <mitch@gimp.org>
* plug-ins/script-fu/scripts/add-bevel.scm
* plug-ins/script-fu/scripts/addborder.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/clothify.scm
* plug-ins/script-fu/scripts/font-map.scm
* plug-ins/script-fu/scripts/slide.scm
* plug-ins/script-fu/scripts/swirltile.scm: don't call gimp-edit-*
functions on drawables which are not added to an image because
this will be forbidden soon (because it can trash the image's undo
stack).
2004-11-08 Sven Neumann <sven@gimp.org>
* plug-ins/script-fu/script-fu-interface.c (script_fu_ok):
actually retrieve the value from the GtkEntry for SF-VALUE.
2004-11-08 Michael Natterer <mitch@gimp.org>
* plug-ins/script-fu/scripts/selection-round.scm: removed garbage
from beginning of file. Removed DOS line breaks.
2004-11-02 Michael Natterer <mitch@gimp.org>
* plug-ins/script-fu/script-fu-interface.c (script_fu_interface):
don't silently return when there is already a script running but
show a message instead. Unfortunately introduces two new strings,
but bugs are bugs. Fixes bug #123882.
2004-10-29 Kevin Cozens <kcozens@cvs.gimp.org>
* plug-ins/script-fu/siod-wrapper.c (init_constants): Updated to
use convert_string() to change name of constant to Scheme format.
2004-10-29 Kevin Cozens <kcozens@cvs.gimp.org>
* tinyscheme/scheme.c: Removed some items from here...
* tinyscheme/scheme-private.h ... and added them here so they
could be used in the ts-wrapper.c file.
2004-10-29 Kevin Cozens <kcozens@cvs.gimp.org>
* scripts/carve-it.sct: Removed three lines no longer needed.
* scripts/contactsheet.sct: Use gimp-drawable-fill instead of
gimp-edit-fill.
* scripts/hsv-graph.sct: Backed out some changes made during first
attempts to get the script working. Fixed text for one toggle.
Reformatted the file.
* scripts/test-sphere.sct: Added note about use of SF_PALETTE
2004-10-28 Sven Neumann <sven@gimp.org>
* plug-ins/script-fu/script-fu-interface.c (script_fu_interface):
use gimp_int_combo_box_connect() so that the initial selection
causes the "changed" callback to be run. Should fix bug #156659.
2004-10-26 Michael Natterer <mitch@gimp.org>
* plug-ins/script-fu/siod-wrapper.c (marshall_proc_db_call):
my last change removed the sanity check for array_length >= 0.
Put it back.
2004-10-25 Michael Natterer <mitch@gimp.org>
* plug-ins/script-fu/siod-wrapper.c (marshall_proc_db_call):
silently accept arrays which are longer than specified. Nothing
bad can happen and it's common practice to resize arrays in fixed
size chunks so avoid frequent resizing. Fixes bug #155359.
2004-10-25 Michael Natterer <mitch@gimp.org>
* libgimpbase/gimpbaseenums.[ch]: register some missing enums.
* tools/pdbgen/enumcode.pl: removed code to generate
plug-ins/script-fu/script-fu-constants.c, generate code to
explicitely initialize and query all of libgimp*'s enums
and write it to libgimp/gimpenums.c.tail
* libgimp/gimpenums.h: regenerated.
* libgimp/Makefile.am: append gimpenums.c.tail to gimpenums.c
* libgimp/gimp.c (gimp_main): call g_type_init() and
_gimp_enums_init().
* libgimp/gimp.def: added gimp_enums_get_type_names().
* plug-ins/script-fu/Makefile.am
* plug-ins/script-fu/script-fu-constants.[ch]: removed these files.
* plug-ins/script-fu/siod-wrapper.c: dynamically register all
constants using gimp_enums_get_type_names() and introspection.
Also register the built-in unit types.
* plug-ins/script-fu/script-fu.c: changed accordingly.
2004-10-25 Kevin Cozens <kcozens@cvs.gimp.org>
* tinyscheme/scheme.c: Applied patch from Dimitrios Souflis which
fixes error when parsing two or more consecutive comment lines.
2004-10-21 Kevin Cozens <kcozens@cvs.gimp.org>
* plug-ins/script-fu/script-fu.c: Removed _() tag from two strings
that should not have been marked for translation.
2004-10-14 Kevin Cozens <kcozens@cvs.gimp.org>
* plug-ins/script-fu/scripts/neon.scm: Fixed minor error in script.
(Related to bug #153900 and compatability with Tiny-Fu)
2004-10-14 Kevin Cozens <kcozens@cvs.gimp.org>
* plug-ins/script-fu/scripts/circuit.scm: Fixed to allow use of
script on original layer. (bug #155358) Fixed spelling error.
2004-10-13 Kevin Cozens <kcozens@cvs.gimp.org>
* plug-ins/script-fu/scripts/add-bevel.scm: two variables were
not defined before first use (bug #153900).
2004-10-12 Sven Neumann <sven@gimp.org>
* plug-ins/script-fu/scripts/selection-round.scm: moved out of the
"Modify" placeholder. Using placeholders from Script-Fu breaks
i18n. We will need to change menu registration for scripts but
this will have to wait..
2004-10-12 Sven Neumann <sven@gimp.org>
* app/actions/layers-actions.c (layers_actions_update): set
"layers-crop" insensitive if the selection is empty.
* plug-ins/script-fu/scripts/alien-glow-button.scm
* plug-ins/script-fu/scripts/alien-glow-logo.scm
* plug-ins/script-fu/scripts/basic2-logo.scm
* plug-ins/script-fu/scripts/gradient-bevel-logo.scm: use "Sans
Bold" instead of "Futura_Poster". The underscore in the font name
used to confuse intltool (bug #137029) and the freefont package
isn't that widely used any longer anyway.
2004-10-09 Kevin Cozens <kcozens@cvs.gimp.org>
* re/Makefile.am: Added more files missing from the distribution.
* re/debug.c
* re/main.c
* re/regcomp.c
* re/regerror.c
* re/regexec.c: Changed <regex.h> to "regex.h" to emphasize local
header is being used rather than standard libc header file.
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.