Commit 5997c7dd authored by Sven Neumann's avatar Sven Neumann Committed by Sven Neumann

removed calls to the splash update function during initialization of

2005-11-05  Sven Neumann  <sven@gimp.org>

        * tools/pdbgen/app.pl: removed calls to the splash update function
        during initialization of internal procedures. This only takes time
        and doesn't provide useful information.

        * app/pdb/internal_procs.[ch]: regenerated.

        * app/pdb/procedural_db.[ch]: changed accordingly.

        * core/gimp.c: call the splash update function from here.
parent ce583142
2005-11-05 Sven Neumann <sven@gimp.org>
* tools/pdbgen/app.pl: removed calls to the splash update function
during initialization of internal procedures. This only takes time
and doesn't provide useful information.
* app/pdb/internal_procs.[ch]: regenerated.
* app/pdb/procedural_db.[ch]: changed accordingly.
* core/gimp.c: call the splash update function from here.
2005-11-05 DindinX <dindinx@gimp.org>
* libgimpwidgets/gimpscrolledpreview.c: don't return void in a
......
......@@ -574,6 +574,8 @@ gimp_real_initialize (Gimp *gimp,
if (gimp->be_verbose)
g_print ("INIT: gimp_real_initialize\n");
status_callback (_("Initialization"), NULL, 0.0);
gimp_fonts_init (gimp);
gimp->brush_factory =
......@@ -629,20 +631,22 @@ gimp_real_initialize (Gimp *gimp,
gimp_gradients_init (gimp);
/* register all internal procedures */
status_callback (_("Procedural Database"), NULL, 0.0);
procedural_db_init_procs (gimp, status_callback);
status_callback (NULL,_("Internal Procedures"), 0.2);
procedural_db_init_procs (gimp);
status_callback (_("Plug-In Interpreters"), "", 0.0);
status_callback (NULL, _("Plug-In Interpreters"), 0.8);
path = gimp_config_path_expand (gimp->config->interpreter_path, TRUE, NULL);
gimp_interpreter_db_load (gimp->interpreter_db, path);
g_free (path);
status_callback (_("Plug-In Environment"), "", 0.0);
status_callback (NULL, _("Plug-In Environment"), 0.9);
path = gimp_config_path_expand (gimp->config->environ_path, TRUE, NULL);
gimp_environ_table_load (gimp->environ_table, path);
g_free (path);
status_callback (NULL, "", 1.0);
}
static void
......
......@@ -99,8 +99,7 @@ procedural_db_free (Gimp *gimp)
}
void
procedural_db_init_procs (Gimp *gimp,
GimpInitStatusFunc status_callback)
procedural_db_init_procs (Gimp *gimp)
{
static const struct
{
......@@ -174,9 +173,8 @@ procedural_db_init_procs (Gimp *gimp,
};
g_return_if_fail (GIMP_IS_GIMP (gimp));
g_return_if_fail (status_callback != NULL);
internal_procs_init (gimp, status_callback);
internal_procs_init (gimp);
if (gimp->pdb_compat_mode != GIMP_PDB_COMPAT_OFF)
{
......
......@@ -128,8 +128,7 @@ struct _ProcRecord
void procedural_db_init (Gimp *gimp);
void procedural_db_free (Gimp *gimp);
void procedural_db_init_procs (Gimp *gimp,
GimpInitStatusFunc status_callback);
void procedural_db_init_procs (Gimp *gimp);
void procedural_db_register (Gimp *gimp,
ProcRecord *procedure);
......
......@@ -99,8 +99,7 @@ procedural_db_free (Gimp *gimp)
}
void
procedural_db_init_procs (Gimp *gimp,
GimpInitStatusFunc status_callback)
procedural_db_init_procs (Gimp *gimp)
{
static const struct
{
......@@ -174,9 +173,8 @@ procedural_db_init_procs (Gimp *gimp,
};
g_return_if_fail (GIMP_IS_GIMP (gimp));
g_return_if_fail (status_callback != NULL);
internal_procs_init (gimp, status_callback);
internal_procs_init (gimp);
if (gimp->pdb_compat_mode != GIMP_PDB_COMPAT_OFF)
{
......
......@@ -128,8 +128,7 @@ struct _ProcRecord
void procedural_db_init (Gimp *gimp);
void procedural_db_free (Gimp *gimp);
void procedural_db_init_procs (Gimp *gimp,
GimpInitStatusFunc status_callback);
void procedural_db_init_procs (Gimp *gimp);
void procedural_db_register (Gimp *gimp,
ProcRecord *procedure);
......
......@@ -99,8 +99,7 @@ procedural_db_free (Gimp *gimp)
}
void
procedural_db_init_procs (Gimp *gimp,
GimpInitStatusFunc status_callback)
procedural_db_init_procs (Gimp *gimp)
{
static const struct
{
......@@ -174,9 +173,8 @@ procedural_db_init_procs (Gimp *gimp,
};
g_return_if_fail (GIMP_IS_GIMP (gimp));
g_return_if_fail (status_callback != NULL);
internal_procs_init (gimp, status_callback);
internal_procs_init (gimp);
if (gimp->pdb_compat_mode != GIMP_PDB_COMPAT_OFF)
{
......
......@@ -128,8 +128,7 @@ struct _ProcRecord
void procedural_db_init (Gimp *gimp);
void procedural_db_free (Gimp *gimp);
void procedural_db_init_procs (Gimp *gimp,
GimpInitStatusFunc status_callback);
void procedural_db_init_procs (Gimp *gimp);
void procedural_db_register (Gimp *gimp,
ProcRecord *procedure);
......
......@@ -26,8 +26,6 @@
#include "core/gimp.h"
#include "gimp-intl.h"
/* Forward declarations for registering PDB procs */
void register_brush_procs (Gimp *gimp);
......@@ -80,148 +78,100 @@ void register_vectors_procs (Gimp *gimp);
/* 493 procedures registered total */
void
internal_procs_init (Gimp *gimp,
GimpInitStatusFunc status_callback)
internal_procs_init (Gimp *gimp)
{
g_return_if_fail (GIMP_IS_GIMP (gimp));
g_return_if_fail (status_callback != NULL);
status_callback (_("Internal Procedures"), _("Brush"), 0.0);
register_brush_procs (gimp);
status_callback (NULL, _("Brush UI"), 0.045);
register_brush_select_procs (gimp);
status_callback (NULL, _("Brushes"), 0.051);
register_brushes_procs (gimp);
status_callback (NULL, _("Buffer procedures"), 0.063);
register_buffer_procs (gimp);
status_callback (NULL, _("Channel"), 0.077);
register_channel_procs (gimp);
status_callback (NULL, _("Color"), 0.097);
register_color_procs (gimp);
status_callback (NULL, _("Context"), 0.13);
register_context_procs (gimp);
status_callback (NULL, _("Convert"), 0.174);
register_convert_procs (gimp);
status_callback (NULL, _("Display procedures"), 0.181);
register_display_procs (gimp);
status_callback (NULL, _("Drawable procedures"), 0.191);
register_drawable_procs (gimp);
status_callback (NULL, _("Transformation procedures"), 0.262);
register_drawable_transform_procs (gimp);
status_callback (NULL, _("Edit procedures"), 0.294);
register_edit_procs (gimp);
status_callback (NULL, _("File Operations"), 0.325);
register_fileops_procs (gimp);
status_callback (NULL, _("Floating selections"), 0.347);
register_floating_sel_procs (gimp);
status_callback (NULL, _("Font UI"), 0.359);
register_font_select_procs (gimp);
status_callback (NULL, _("Fonts"), 0.365);
register_fonts_procs (gimp);
status_callback (NULL, _("Gimprc procedures"), 0.369);
register_gimprc_procs (gimp);
status_callback (NULL, _("Gradient"), 0.383);
register_gradient_procs (gimp);
status_callback (NULL, _("Gradient UI"), 0.444);
register_gradient_select_procs (gimp);
status_callback (NULL, _("Gradients"), 0.45);
register_gradients_procs (gimp);
status_callback (NULL, _("Image grid procedures"), 0.46);
register_grid_procs (gimp);
status_callback (NULL, _("Guide procedures"), 0.481);
register_guides_procs (gimp);
status_callback (NULL, _("Help procedures"), 0.493);
register_help_procs (gimp);
status_callback (NULL, _("Image"), 0.495);
register_image_procs (gimp);
status_callback (NULL, _("Layer"), 0.623);
register_layer_procs (gimp);
status_callback (NULL, _("Message procedures"), 0.677);
register_message_procs (gimp);
status_callback (NULL, _("Miscellaneous"), 0.684);
register_misc_procs (gimp);
status_callback (NULL, _("Paint Tool procedures"), 0.69);
register_paint_tools_procs (gimp);
status_callback (NULL, _("Palette"), 0.72);
register_palette_procs (gimp);
status_callback (NULL, _("Palette UI"), 0.748);
register_palette_select_procs (gimp);
status_callback (NULL, _("Palettes"), 0.755);
register_palettes_procs (gimp);
status_callback (NULL, _("Parasite procedures"), 0.763);
register_parasite_procs (gimp);
status_callback (NULL, _("Paths"), 0.787);
register_paths_procs (gimp);
status_callback (NULL, _("Pattern"), 0.824);
register_pattern_procs (gimp);
status_callback (NULL, _("Pattern UI"), 0.828);
register_pattern_select_procs (gimp);
status_callback (NULL, _("Patterns"), 0.834);
register_patterns_procs (gimp);
status_callback (NULL, _("Plug-in"), 0.842);
register_plug_in_procs (gimp);
status_callback (NULL, _("Procedural database"), 0.854);
register_procedural_db_procs (gimp);
status_callback (NULL, _("Progress"), 0.872);
register_progress_procs (gimp);
status_callback (NULL, _("Image mask"), 0.888);
register_selection_procs (gimp);
status_callback (NULL, _("Selection Tool procedures"), 0.923);
register_selection_tools_procs (gimp);
status_callback (NULL, _("Text procedures"), 0.933);
register_text_tool_procs (gimp);
status_callback (NULL, _("Transform Tool procedures"), 0.941);
register_transform_tools_procs (gimp);
status_callback (NULL, _("Undo"), 0.953);
register_undo_procs (gimp);
status_callback (NULL, _("Units"), 0.968);
register_unit_procs (gimp);
status_callback (NULL, _("Paths"), 0.992);
register_vectors_procs (gimp);
}
......@@ -21,7 +21,6 @@
#ifndef __INTERNAL_PROCS_H__
#define __INTERNAL_PROCS_H__
void internal_procs_init (Gimp *gimp,
GimpInitStatusFunc status_callback);
void internal_procs_init (Gimp *gimp);
#endif /* __INTERNAL_PROCS_H__ */
......@@ -99,8 +99,7 @@ procedural_db_free (Gimp *gimp)
}
void
procedural_db_init_procs (Gimp *gimp,
GimpInitStatusFunc status_callback)
procedural_db_init_procs (Gimp *gimp)
{
static const struct
{
......@@ -174,9 +173,8 @@ procedural_db_init_procs (Gimp *gimp,
};
g_return_if_fail (GIMP_IS_GIMP (gimp));
g_return_if_fail (status_callback != NULL);
internal_procs_init (gimp, status_callback);
internal_procs_init (gimp);
if (gimp->pdb_compat_mode != GIMP_PDB_COMPAT_OFF)
{
......
......@@ -128,8 +128,7 @@ struct _ProcRecord
void procedural_db_init (Gimp *gimp);
void procedural_db_free (Gimp *gimp);
void procedural_db_init_procs (Gimp *gimp,
GimpInitStatusFunc status_callback);
void procedural_db_init_procs (Gimp *gimp);
void procedural_db_register (Gimp *gimp,
ProcRecord *procedure);
......
2005-11-05 Sven Neumann <sven@gimp.org>
* POTFILES.in: removed app/pdb/internal_procs.c.
2005-11-04 Sven Neumann <sven@gimp.org>
* it.po: corrected translation that broke the gimp.desktop file.
......
......@@ -216,7 +216,6 @@ app/pdb/drawable_transform_cmds.c
app/pdb/edit_cmds.c
app/pdb/guides_cmds.c
app/pdb/image_cmds.c
app/pdb/internal_procs.c
app/pdb/layer_cmds.c
app/pdb/paths_cmds.c
app/pdb/procedural_db.c
......
......@@ -17,7 +17,7 @@ msgid ""
msgstr ""
"Project-Id-Version: GIMP 2.3\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2005-11-02 16:58+0100\n"
"POT-Creation-Date: 2005-11-05 13:56+0100\n"
"PO-Revision-Date: 2005-11-02 17:04+0100\n"
"Last-Translator: Hendrik Brandt <heb@gnome-de.org>\n"
"Language-Team: German <gnome-de@gnome.org>\n"
......@@ -200,8 +200,8 @@ msgstr "Pinseleditor"
#. initialize the list of gimp brushes
#: ../app/actions/actions.c:101 ../app/actions/dialogs-actions.c:130
#: ../app/core/gimp.c:859 ../app/dialogs/dialogs.c:148
#: ../app/dialogs/preferences-dialog.c:2421 ../app/pdb/internal_procs.c:95
#: ../app/core/gimp.c:863 ../app/dialogs/dialogs.c:148
#: ../app/dialogs/preferences-dialog.c:2421
msgid "Brushes"
msgstr "Pinsel"
......@@ -219,7 +219,7 @@ msgstr "Kanäle"
msgid "Colormap Editor"
msgstr "Farbtabelleneditor"
#: ../app/actions/actions.c:113 ../app/pdb/internal_procs.c:107
#: ../app/actions/actions.c:113
msgid "Context"
msgstr "Kontext"
......@@ -269,8 +269,8 @@ msgstr "Datei"
#. initialize the list of gimp fonts
#: ../app/actions/actions.c:146 ../app/actions/dialogs-actions.c:150
#: ../app/core/gimp.c:875 ../app/dialogs/dialogs.c:156
#: ../app/dialogs/preferences-dialog.c:2437 ../app/pdb/internal_procs.c:134
#: ../app/core/gimp.c:879 ../app/dialogs/dialogs.c:156
#: ../app/dialogs/preferences-dialog.c:2437
msgid "Fonts"
msgstr "Schriften"
......@@ -281,8 +281,8 @@ msgstr "Farbverlaufseditor"
#. initialize the list of gimp gradients
#: ../app/actions/actions.c:152 ../app/actions/dialogs-actions.c:140
#: ../app/core/gimp.c:871 ../app/dialogs/dialogs.c:152
#: ../app/dialogs/preferences-dialog.c:2433 ../app/pdb/internal_procs.c:146
#: ../app/core/gimp.c:875 ../app/dialogs/dialogs.c:152
#: ../app/dialogs/preferences-dialog.c:2433
msgid "Gradients"
msgstr "Farbverläufe"
......@@ -290,8 +290,7 @@ msgstr "Farbverläufe"
msgid "Help"
msgstr "Hilfe"
#: ../app/actions/actions.c:158 ../app/pdb/internal_procs.c:158
#: ../app/tools/tools-enums.c:206
#: ../app/actions/actions.c:158 ../app/tools/tools-enums.c:206
msgid "Image"
msgstr "Bild"
......@@ -313,15 +312,15 @@ msgstr "Farbpaletteneditor"
#. initialize the list of gimp palettes
#: ../app/actions/actions.c:170 ../app/actions/dialogs-actions.c:145
#: ../app/core/gimp.c:867 ../app/dialogs/dialogs.c:154
#: ../app/dialogs/preferences-dialog.c:2429 ../app/pdb/internal_procs.c:179
#: ../app/core/gimp.c:871 ../app/dialogs/dialogs.c:154
#: ../app/dialogs/preferences-dialog.c:2429
msgid "Palettes"
msgstr "Farbpaletten"
#. initialize the list of gimp patterns
#: ../app/actions/actions.c:173 ../app/actions/dialogs-actions.c:135
#: ../app/core/gimp.c:863 ../app/dialogs/dialogs.c:150
#: ../app/dialogs/preferences-dialog.c:2425 ../app/pdb/internal_procs.c:194
#: ../app/core/gimp.c:867 ../app/dialogs/dialogs.c:150
#: ../app/dialogs/preferences-dialog.c:2425
msgid "Patterns"
msgstr "Muster"
......@@ -344,7 +343,7 @@ msgid "Select"
msgstr "Auswählen"
#. initialize the template list
#: ../app/actions/actions.c:188 ../app/core/gimp.c:884
#: ../app/actions/actions.c:188 ../app/core/gimp.c:888
#: ../app/dialogs/dialogs.c:164
msgid "Templates"
msgstr "Vorlagen"
......@@ -365,8 +364,7 @@ msgid "Tools"
msgstr "Werkzeuge"
#: ../app/actions/actions.c:200 ../app/actions/dialogs-actions.c:85
#: ../app/dialogs/dialogs.c:177 ../app/pdb/internal_procs.c:185
#: ../app/pdb/internal_procs.c:224 ../app/tools/gimpvectortool.c:154
#: ../app/dialogs/dialogs.c:177 ../app/tools/gimpvectortool.c:154
msgid "Paths"
msgstr "Pfade"
......@@ -767,7 +765,7 @@ msgstr "_Vereinigung prüfen"
msgid "Sample Merged"
msgstr "Vereinigung prüfen"
#: ../app/actions/data-commands.c:101 ../app/actions/documents-commands.c:320
#: ../app/actions/data-commands.c:102 ../app/actions/documents-commands.c:320
#: ../app/actions/file-commands.c:174 ../app/dialogs/file-open-dialog.c:208
#: ../app/dialogs/file-open-dialog.c:259
#: ../app/dialogs/file-open-location-dialog.c:201
......@@ -784,18 +782,18 @@ msgstr ""
"\n"
"%s"
#: ../app/actions/data-commands.c:127 ../app/core/gimpimage.c:1349
#: ../app/actions/data-commands.c:128 ../app/core/gimpimage.c:1349
#: ../app/core/gimppalette-import.c:218 ../app/core/gimppalette.c:514
#: ../app/core/gimppalette.c:624 ../app/dialogs/palette-import-dialog.c:694
#: ../app/pdb/image_cmds.c:3892 ../app/widgets/gimpdnd-xds.c:83
msgid "Untitled"
msgstr "Namenlos"
#: ../app/actions/data-commands.c:223
#: ../app/actions/data-commands.c:224
msgid "Delete Object"
msgstr "Objekt löschen"
#: ../app/actions/data-commands.c:246
#: ../app/actions/data-commands.c:247
#, c-format
msgid "Are you sure you want to delete '%s' from the list and from disk?"
msgstr "»%s« wirklich aus der Liste und von der Platte löschen?"
......@@ -1259,7 +1257,6 @@ msgid "_Undo"
msgstr "_Rückgängig"
#: ../app/actions/edit-actions.c:71 ../app/dialogs/dialogs.c:193
#: ../app/pdb/internal_procs.c:218
msgid "Undo"
msgstr "Rückgängig"
......@@ -3563,8 +3560,7 @@ msgstr "Farbton"
msgid "Saturation"
msgstr "Sättigung"
#: ../app/base/base-enums.c:121 ../app/pdb/internal_procs.c:104
#: ../app/tools/gimppaintoptions-gui.c:304
#: ../app/base/base-enums.c:121 ../app/tools/gimppaintoptions-gui.c:304
msgid "Color"
msgstr "Farbe"
......@@ -4286,7 +4282,6 @@ msgid "Transparency"
msgstr "Transparenz"
#: ../app/core/core-enums.c:203 ../app/core/core-enums.c:260
#: ../app/pdb/internal_procs.c:188
msgid "Pattern"
msgstr "Muster"
......@@ -4765,35 +4760,39 @@ msgstr "VG nach Transparent"
msgid "GIMP"
msgstr "GIMP"
#: ../app/core/gimp.c:577
msgid "Initialization"
msgstr "Initialisierung"
#. register all internal procedures
#: ../app/core/gimp.c:632
msgid "Procedural Database"
msgstr "Prozedurdatenbank"
#: ../app/core/gimp.c:634
msgid "Internal Procedures"
msgstr "Interne Prozeduren"
#: ../app/core/gimp.c:635
#: ../app/core/gimp.c:637
msgid "Plug-In Interpreters"
msgstr "Plugin-Interpreten"
#: ../app/core/gimp.c:641
#: ../app/core/gimp.c:643
msgid "Plug-In Environment"
msgstr "Plugin-Umgebung"
#. initialize the global parasite table
#: ../app/core/gimp.c:855
#: ../app/core/gimp.c:859
msgid "Looking for data files"
msgstr "Suche nach Arbeitsdaten"
#: ../app/core/gimp.c:855
#: ../app/core/gimp.c:859
msgid "Parasites"
msgstr "Parasiten"
#. initialize the document history
#: ../app/core/gimp.c:880
#: ../app/core/gimp.c:884
msgid "Documents"
msgstr "Dokumente"
#. initialize the module list
#: ../app/core/gimp.c:888 ../app/dialogs/preferences-dialog.c:2449
#: ../app/core/gimp.c:892 ../app/dialogs/preferences-dialog.c:2449
msgid "Modules"
msgstr "Module"
......@@ -4920,7 +4919,7 @@ msgid "Fatal parse error in brush file '%s': File is corrupt."
msgstr ""
"Schwerwiegend Fehler beim Lesen der Pinseldatei »%s«: Datei ist fehlerhaft."
#: ../app/core/gimpchannel.c:296 ../app/pdb/internal_procs.c:101
#: ../app/core/gimpchannel.c:296
msgid "Channel"
msgstr "Kanal"
......@@ -5129,12 +5128,12 @@ msgstr "Ebene transformieren"
msgid "Transformation"
msgstr "Transformation"
#: ../app/core/gimpenvirontable.c:286
#: ../app/core/gimpenvirontable.c:280
#, c-format
msgid "Empty variable name in environment file %s"
msgstr "Umgebungsdatei %s enthält leeren Variablennamen"
#: ../app/core/gimpenvirontable.c:304
#: ../app/core/gimpenvirontable.c:298
#, c-format
msgid "Illegal variable name in environment file %s: %s"
msgstr "Umgebungsdatei %s enthält ungültigen Variablennamen: %s"
......@@ -5570,7 +5569,7 @@ msgstr ""
msgid "Floating Selection to Layer"
msgstr "Schwebende Auswahl in Ebene"
#: ../app/core/gimplayer.c:283 ../app/pdb/internal_procs.c:161
#: ../app/core/gimplayer.c:283
msgid "Layer"
msgstr "Ebene"
......@@ -5738,7 +5737,9 @@ msgstr ""
#: ../app/core/gimppattern.c:380
#, c-format
msgid "Fatal parse error in pattern file '%s': File appears truncated."
msgstr "Schwerwiegender Fehler beim Lesen der Musterdatei »%s«: Datei scheint nicht vollständig zu sein."
msgstr ""
"Schwerwiegender Fehler beim Lesen der Musterdatei »%s«: Datei scheint nicht "
"vollständig zu sein."
#: ../app/core/gimppattern.c:322
#, c-format
......@@ -6133,7 +6134,7 @@ msgstr "Sind Sie sicher, dass Sie fortfahren möchten?"
#: ../app/dialogs/info-dialog.c:377 ../app/dialogs/preferences-dialog.c:1580
#: ../app/dialogs/preferences-dialog.c:1634
#: ../app/dialogs/preferences-dialog.c:1818
#: ../app/widgets/gimpcontrollereditor.c:203
#: ../app/widgets/gimpcontrollereditor.c:205
msgid "General"
msgstr "Allgemein"
......@@ -6260,7 +6261,7 @@ msgid "Location:"
msgstr "Ort:"
#: ../app/dialogs/module-dialog.c:505
#: ../app/widgets/gimpcontrollereditor.c:248
#: ../app/widgets/gimpcontrollereditor.c:250
msgid "State:"
msgstr "Status:"
......@@ -7884,7 +7885,7 @@ msgstr "Plugin konnte das Bild nicht speichern"
msgid "Invalid character sequence in URI"
msgstr "Ungültige Zeichenfolge in URI"
#: ../app/gui/splash.c:118
#: ../app/gui/splash.c:110
msgid "GIMP Startup"
msgstr "GIMP Start"
......@@ -8018,139 +8019,7 @@ msgstr ""
"Da die Auflösung des Bildes außerhalb des gültigen Bereiches liegt, wird die "
"Vorgabeauflösung verwendet."
#: ../app/pdb/internal_procs.c:89
msgid "Internal Procedures"
msgstr "Interne Prozeduren"
#: ../app/pdb/internal_procs.c:89
msgid "Brush"
msgstr "Pinsel"
#: ../app/pdb/internal_procs.c:92
msgid "Brush UI"