mirror of https://github.com/GNOME/gimp.git
plug-ins/gap/gap_filter_foreach.c plug-ins/gap/gap_filter_pdb.c
2000-11-06 Sven Neumann <sven@gimp.org> * plug-ins/gap/gap_filter_foreach.c * plug-ins/gap/gap_filter_pdb.c * plug-ins/gap/gap_lib.c * plug-ins/gap/gap_mod_layer.c * plug-ins/gap/gap_range_ops.c * plug-ins/gap/gap_split.c: check if return_value of PDB calls is != GIMP_PDB_SUCCESS, not == FALSE. Use GIMP_RUN_WITH_LAST_VALS on consecutive calls of gimp_file_save procedures, so the values set in the first interactive call are used for all frames. ... and updated the german translation ....
This commit is contained in:
parent
746c37eb7e
commit
eb3b988d94
12
ChangeLog
12
ChangeLog
|
@ -1,3 +1,15 @@
|
|||
2000-11-06 Sven Neumann <sven@gimp.org>
|
||||
|
||||
* plug-ins/gap/gap_filter_foreach.c
|
||||
* plug-ins/gap/gap_filter_pdb.c
|
||||
* plug-ins/gap/gap_lib.c
|
||||
* plug-ins/gap/gap_mod_layer.c
|
||||
* plug-ins/gap/gap_range_ops.c
|
||||
* plug-ins/gap/gap_split.c: check if return_value of PDB calls is
|
||||
!= GIMP_PDB_SUCCESS, not == FALSE. Use GIMP_RUN_WITH_LAST_VALS on
|
||||
consecutive calls of gimp_file_save procedures, so the values set
|
||||
in the first interactive call are used for all frames.
|
||||
|
||||
2000-11-06 Sven Neumann <sven@gimp.org>
|
||||
|
||||
* app/convolve.[ch]: moved the new enum Garry introduced recently
|
||||
|
|
|
@ -28,6 +28,7 @@
|
|||
*/
|
||||
|
||||
/* revision history:
|
||||
* 1.1.28a; 2000/11/05 hof: check for GIMP_PDB_SUCCESS (not for FALSE)
|
||||
* version 0.97.00 hof: - modul splitted (2.nd part is now gap_filter_pdb.c)
|
||||
* version 0.96.03 hof: - pitstop dialog provides optional backup on each step
|
||||
* (and skip option)
|
||||
|
@ -481,7 +482,7 @@ int p_foreach_multilayer(GimpRunModeType run_mode, gint32 image_id,
|
|||
GIMP_PDB_FLOAT, (gdouble)l_idx, /* current step */
|
||||
GIMP_PDB_INT32, l_plugin_data_len, /* length of stored data struct */
|
||||
GIMP_PDB_END);
|
||||
if (l_params[0].data.d_status == FALSE)
|
||||
if (l_params[0].data.d_status != GIMP_PDB_SUCCESS)
|
||||
{
|
||||
fprintf(stderr, "ERROR: iterator %s failed\n", l_plugin_iterator);
|
||||
l_rc = -1;
|
||||
|
|
|
@ -27,6 +27,7 @@
|
|||
*/
|
||||
|
||||
/* revision history:
|
||||
* 1.1.28a; 2000/11/05 hof: check for GIMP_PDB_SUCCESS (not for FALSE)
|
||||
* version gimp 1.1.17b 2000.02.22 hof: - removed limit PLUGIN_DATA_SIZE
|
||||
* - removed support for old gimp 1.0.x PDB-interface.
|
||||
* version 0.97.00 hof: - created module (as extract gap_filter_foreach)
|
||||
|
@ -169,7 +170,7 @@ gint p_call_plugin(char *plugin_name, gint32 image_id, gint32 layer_id, GimpRunM
|
|||
|
||||
|
||||
|
||||
if (l_ret_params[0].data.d_status == FALSE)
|
||||
if (l_ret_params[0].data.d_status != GIMP_PDB_SUCCESS)
|
||||
{
|
||||
fprintf(stderr, "ERROR: p_call_plugin %s failed.\n", plugin_name);
|
||||
g_free(l_ret_params);
|
||||
|
@ -203,7 +204,7 @@ p_save_xcf(gint32 image_id, char *sav_name)
|
|||
GIMP_PDB_STRING, sav_name, /* raw name ? */
|
||||
GIMP_PDB_END);
|
||||
|
||||
if (l_params[0].data.d_status == FALSE) return(-1);
|
||||
if (l_params[0].data.d_status != GIMP_PDB_SUCCESS) return(-1);
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
|
|
@ -28,6 +28,7 @@
|
|||
*/
|
||||
|
||||
/* revision history:
|
||||
* 1.1.28a; 2000/11/05 hof: check for GIMP_PDB_SUCCESS (not for FALSE)
|
||||
* 1.1.20a; 2000/04/25 hof: new: p_get_video_paste_name p_vid_edit_clear
|
||||
* 1.1.17b; 2000/02/27 hof: bug/style fixes
|
||||
* 1.1.14a; 1999/12/18 hof: handle .xvpics on fileops (copy, rename and delete)
|
||||
|
@ -1092,7 +1093,7 @@ gint32 p_save_named_image(gint32 image_id, char *sav_name, GimpRunModeType run_m
|
|||
g_free (l_drawable);
|
||||
|
||||
|
||||
if (l_params[0].data.d_status == FALSE)
|
||||
if (l_params[0].data.d_status != GIMP_PDB_SUCCESS)
|
||||
{
|
||||
fprintf(stderr, "ERROR: p_save_named_image gimp_file_save failed '%s'\n", sav_name);
|
||||
g_free(l_params);
|
||||
|
@ -1100,6 +1101,7 @@ gint32 p_save_named_image(gint32 image_id, char *sav_name, GimpRunModeType run_m
|
|||
}
|
||||
else
|
||||
{
|
||||
printf("HOF gimp_file_save returned GIMP_PDB_SUCCESS\n");
|
||||
g_free(l_params);
|
||||
return image_id;
|
||||
}
|
||||
|
@ -1202,8 +1204,9 @@ int p_save_named_frame(gint32 image_id, char *sav_name)
|
|||
GIMP_PDB_END);
|
||||
if(gap_debug) fprintf(stderr, "DEBUG: after xcf p_save_named_frame: '%s'\n", l_tmpname);
|
||||
|
||||
if (l_params[0].data.d_status != FALSE)
|
||||
if (l_params[0].data.d_status == GIMP_PDB_SUCCESS)
|
||||
{
|
||||
printf("HOF gimp_xcf_save returned GIMP_PDB_SUCCESS\n");
|
||||
l_rc = image_id;
|
||||
}
|
||||
g_free(l_params);
|
||||
|
|
|
@ -28,6 +28,7 @@
|
|||
*/
|
||||
|
||||
/* revision history:
|
||||
* 1.1.28a; 2000/11/05 hof: check for GIMP_PDB_SUCCESS (not for FALSE)
|
||||
* gimp 1.1.6; 1999/06/21 hof: bugix: wrong iterator total_steps and direction
|
||||
* gimp 1.1.15.1; 1999/05/08 hof: bugix (dont mix GimpImageType with GimpImageBaseType)
|
||||
* version 0.98.00 1998.11.27 hof: - use new module gap_pdb_calls.h
|
||||
|
@ -1081,7 +1082,7 @@ p_frames_modify(t_anim_info *ainfo_ptr,
|
|||
GIMP_PDB_FLOAT, (gdouble)l_cur_step, /* current step */
|
||||
GIMP_PDB_INT32, l_plugin_data_len, /* length of stored data struct */
|
||||
GIMP_PDB_END);
|
||||
if (l_params[0].data.d_status == FALSE)
|
||||
if (l_params[0].data.d_status != GIMP_PDB_SUCCESS)
|
||||
{
|
||||
fprintf(stderr, "ERROR: iterator %s failed\n", l_plugin_iterator);
|
||||
l_rc = -1;
|
||||
|
|
|
@ -32,6 +32,7 @@
|
|||
*/
|
||||
|
||||
/* revision history
|
||||
* 1.1.28a; 2000/11/05 hof: check for GIMP_PDB_SUCCESS (not for FALSE)
|
||||
* 1.1.24a 2000/07/01 hof: bugfix: flatten of singlelayer images has to remove alpha channel
|
||||
* 1.1.17b 2000/02/26 hof: bugfixes
|
||||
* 1.1.14a 2000/01/06 hof: gap_range_to_multilayer: use framerate (from video info file) in framenames
|
||||
|
@ -1059,7 +1060,7 @@ p_type_convert(gint32 image_id, GimpImageBaseType dest_type, gint32 dest_colors,
|
|||
}
|
||||
|
||||
|
||||
if (l_params[0].data.d_status == FALSE)
|
||||
if (l_params[0].data.d_status != GIMP_PDB_SUCCESS)
|
||||
{ l_rc = -1;
|
||||
}
|
||||
|
||||
|
|
|
@ -26,6 +26,7 @@
|
|||
*/
|
||||
|
||||
/* revision history
|
||||
* 1.1.28a; 2000/10/29 hof: subsequent save calls use GIMP_RUN_WITH_LAST_VALS
|
||||
* 1.1.9a; 1999/09/21 hof: bugfix GIMP_RUN_NONINTERACTIVE mode did not work
|
||||
* 1.1.8a; 1999/08/31 hof: accept anim framenames without underscore '_'
|
||||
* 1.1.5a; 1999/05/08 hof: bugix (dont mix GimpImageType with GimpImageBaseType)
|
||||
|
@ -178,7 +179,7 @@ p_split_image(t_anim_info *ainfo_ptr,
|
|||
break;
|
||||
}
|
||||
|
||||
l_run_mode = GIMP_RUN_NONINTERACTIVE; /* for all further calls */
|
||||
l_run_mode = GIMP_RUN_WITH_LAST_VALS; /* for all further calls */
|
||||
|
||||
/* set image name */
|
||||
gimp_image_set_filename (l_new_image_id, l_sav_name);
|
||||
|
|
|
@ -1,3 +1,7 @@
|
|||
2000-11-06 Sven Neumann <sven@gimp.org>
|
||||
|
||||
* de.po: updated german translation
|
||||
|
||||
2000-11-06 Sven Neumann <sven@gimp.org>
|
||||
|
||||
* it.po: updates to the italian translation from
|
||||
|
|
File diff suppressed because it is too large
Load Diff
Loading…
Reference in New Issue