Commit 08381903 authored by Kevin Cozens's avatar Kevin Cozens Committed by Kevin Cozens

Updated URL for Tiny-Fu.

2007-03-15  Kevin Cozens  <kcozens@cvs.gnome.org>

	* MAINTAINERS: Updated URL for Tiny-Fu.

	* TODO: Updated.

	* scripts/script-fu-set-cmap.scm: Change location of menu entry to
	something that makes a bit more sense.

	The following is from changes made to Script-Fu by Michael Natterer.

	* scripts/difference-clouds.scm: use RUN-INTERACTVE instead of 0,
	added (gimp-displays-flush)

	* scripts/spyrogimp.scm: update the progress to avoid looking like
	the script hangs. Fixes bug #356677.

	* tiny-fu/script-fu-interface.c (script_fu_interface_report_cc): if
	the command starts with "gimp-progress-", the script is obviously
	showing a progress bar for itself, so clear the text instead of
	showing an endless number of "gimp-progress-update" messages. Also
	fixed manual main loop iteration.

svn path=/trunk/; revision=350
parent a5aa145a
2007-03-15 Kevin Cozens <kcozens@cvs.gnome.org>
* MAINTAINERS: Updated URL for Tiny-Fu.
* TODO: Updated.
* scripts/script-fu-set-cmap.scm: Change location of menu entry to
something that makes a bit more sense.
The following is from changes made to Script-Fu by Michael Natterer.
* scripts/difference-clouds.scm: use RUN-INTERACTVE instead of 0,
added (gimp-displays-flush)
* scripts/spyrogimp.scm: update the progress to avoid looking like
the script hangs. Fixes bug #356677.
* tiny-fu/script-fu-interface.c (script_fu_interface_report_cc): if
the command starts with "gimp-progress-", the script is obviously
showing a progress bar for itself, so clear the text instead of
showing an endless number of "gimp-progress-update" messages. Also
fixed manual main loop iteration.
2007-01-30 Kevin Cozens <kcozens@cvs.gnome.org>
Removed obsolete .cvsignore files due to switch to Subversion.
2007-01-21 Kevin Cozens <kcozens@cvs.gnome.org>
* plug-ins/script-fu/scripts/guides-new-percent.scm: replaced
license statement according to bug #119667. From a change mad
to Script-Fu by Michael Schumacher.
* scripts/guides-new-percent.scm: replaced license statement according
to bug #119667. From a change made to Script-Fu by Michael Schumacher.
* scripts/news-text.scm: Fixed typos (bug #396169). From a change
made to Script-Fu by Sven Neumann.
......@@ -15,12 +37,12 @@
* scripts/Makefile.am: Updated due to renamed files.
* tiny-fu-set-cmap.scm: Renamed to script-fu-set-cmap.scm
* scripts/tiny-fu-set-cmap.scm: Renamed to script-fu-set-cmap.scm
* tiny-fu-util.scm: Renamed to script-fu-util.scm
* scripts/tiny-fu-util.scm: Renamed to script-fu-util.scm
* tiny-fu-util-setpt.scm: Renamed to script-fu-util-setpt.scm and
removed wrong information from header block.
* scripts/tiny-fu-util-setpt.scm: Renamed to script-fu-util-setpt.scm
and removed wrong information from header block.
2007-01-11 Kevin Cozens <kcozens@cvs.gnome.org>
......
Name: Kevin Cozens
Email: kcozens@cvs.gnome.org
url: http://www.interlog.com/~kcozens/software/gimp/tiny-fu.html
url: http://www.ve3syb.ca/software/gimp/tiny-fu.html
ircnick: Kevin
expertise: TinyScheme, Scheme, GIMP Scripting, and many other things.
current work: getting ready for UTF-8 support
......
- Change TinyScheme to use a symbol instead of a string for the type argument
of make-array.
- If there is no data in the clipboard, make the "paste-as-..." scripts show
"There is no image data in the clipboard to paste." (bug #374854)
- A line beginning with a ; just before some close brackets will result in
'Error: unmatched parentheses: 1'.
Fixed in TinyScheme 1.37 with change in parsing of comments??
NOTE: This message is still appearing when GIMP starts when it loads the
layer-effects-_en20.scm script.
- Fix parsing when encountering stuff that is not valid UTF-8 characters.
Is this the cause of the 'Error: unmatched parentheses: 1' message??
- Update the Tiny-Fu web page.
- Add SF-RADIO parameter type to register block
Comments from joao on #gimp:
......@@ -11,6 +19,8 @@
- Review handling of brushes.
The non-deprecated set and get calls only take one parameter and not a list.
- Update the autogen.sh script based on the newer version in GIMP.
- Change TinyScheme to use a symbol instead of a string for the type argument
of make-array.
- Is tiny-fu-util-image-resize-from-layer still needed or can the built-in
function 'Fit Canvas to Layers' be used instead?
- Get some examples of how to work with parasites in Scheme.
......
......@@ -53,12 +53,14 @@
(gimp-layer-translate diff-clouds offset-x offset-y))
; Show the solid noise dialog
(plug-in-solid-noise 0 image diff-clouds 0 0 0 1 4.0 4.0)
(plug-in-solid-noise RUN-INTERACTIVE image diff-clouds 0 0 0 1 4.0 4.0)
; Merge the clouds layer with the layer below
(gimp-image-merge-down image diff-clouds EXPAND-AS-NECESSARY)
(gimp-image-undo-group-end image)
(gimp-displays-flush)
)
)
......
......@@ -22,6 +22,11 @@
; You should have received a copy of the GNU General Public License
; along with this program; if not, write to the Free Software
; Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
;
;
; March 7, 2007 Kevin Cozens <kcozens@interlog.com>
; Changed menu register call so the script appears in a more logical place.
(define (script-fu-make-cmap-array palette)
(let* (
......@@ -63,4 +68,4 @@
)
(script-fu-menu-register "script-fu-set-cmap"
"<Image>/Colors/Map")
"<Image>/Tools/Color Tools")
......@@ -24,14 +24,14 @@
#include <libgimp/gimpui.h>
#include "tinyscheme/scheme-private.h"
#include "ts-wrapper.h"
#include "scheme-wrapper.h"
#include "tiny-fu-types.h"
#include "script-fu-types.h"
#include "tiny-fu-interface.h"
#include "tiny-fu-scripts.h"
#include "script-fu-interface.h"
#include "script-fu-scripts.h"
#include "tiny-fu-intl.h"
#include "script-fu-intl.h"
#define RESPONSE_RESET 1
......@@ -131,26 +131,38 @@ script_fu_interface_report_cc (const gchar *command)
if (sf_interface->last_command &&
strcmp (sf_interface->last_command, command) == 0)
{
gchar *new_command;
sf_interface->command_count++;
new_command = g_strdup_printf ("%s <%d>",
command, sf_interface->command_count);
gtk_label_set_text (GTK_LABEL (sf_interface->progress_label),
new_command);
g_free (new_command);
if (! g_str_has_prefix (command, "gimp-progress-"))
{
gchar *new_command;
new_command = g_strdup_printf ("%s <%d>",
command, sf_interface->command_count);
gtk_label_set_text (GTK_LABEL (sf_interface->progress_label),
new_command);
g_free (new_command);
}
}
else
{
sf_interface->command_count = 1;
gtk_label_set_text (GTK_LABEL (sf_interface->progress_label), command);
g_free (sf_interface->last_command);
sf_interface->last_command = g_strdup (command);
if (! g_str_has_prefix (command, "gimp-progress-"))
{
gtk_label_set_text (GTK_LABEL (sf_interface->progress_label), command);
}
else
{
gtk_label_set_text (GTK_LABEL (sf_interface->progress_label), "");
}
}
while (gtk_main_iteration ());
while (g_main_context_pending (NULL))
g_main_context_iteration (NULL, TRUE);
}
void
......@@ -222,7 +234,7 @@ script_fu_interface (SFScript *script,
if (tmp && tmp == (sf_interface->title + strlen (sf_interface->title) - 3))
*tmp = '\0';
title = g_strdup_printf (_("Tiny-Fu: %s"), sf_interface->title);
title = g_strdup_printf (_("Script-Fu: %s"), sf_interface->title);
sf_interface->dialog = dialog =
gimp_dialog_new (title, "script-fu",
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment