Gimp/app/pdb
Michael Natterer 5e950b5501 Cleaned up and improved the message system:
2003-06-13  Michael Natterer  <mitch@gimp.org>

	Cleaned up and improved the message system:

	* app/core/gimp.[ch]: added "const gchar *domain" to
	GimpMessageFunc (a NULL domain means the message is from the GIMP
	core, everything else is a plug-in).

	* app/errors.c: pass "domain == NULL" to gimp_message().

	* tools/pdbgen/pdb/message.pdb: derive the message domain from the
	current plug-in's menu_path (evil hack but works reasonably well).

	* app/pdb/message_cmds.c: regenerated.

	* app/widgets/gimpwidgets-utils.[ch] (gimp_message_box): added a
	header showing the message domain and changed the dialog layout to
	follow the HIG more closely.

	* app/gui/error-console-dialog.[ch]: removed.

	* app/widgets/gimperrorconsole.[ch]
	* app/gui/error-console-commands.[ch]
	* app/gui/error-console-menu.[ch]: new files containing a
	re-implementation of the error console dialog.

	* app/gui/Makefile.am
	* app/gui/dialogs-constructors.c
	* app/gui/gui.c
	* app/gui/menus.c
	* app/widgets/Makefile.am
	* app/widgets/widgets-types.h: changed accordingly.

	* app/display/gimpprogress.c: added more spacing and removed the
	separator (more HIG compliant).

	* plug-ins/[most plug-ins].c: Changed lots of messages and
	progress strings:

	- Removed plug-in names from messages since that's automatically
	  covered by "domain" now.
	- Put all filenames in ''.
	- Changed "Loading" to "Opening".
	- Added "..." to all progress messages.
	- Cleaned up all file open/save error messages to look the
	  same and include g_strerror(errno).
	- Removed special casing for progress bars and *always* show them,
	  not only if run_mode != GIMP_RUN_NONINTERACTIVE (we can't expect
	  all plug-ins to do this correctly but need to hack the core to
	  sort out unwanted progress bars).

	Unrelated:

	- Cleaned up indentation, spacing, #includes, coding style and
	  other stuff while I was at all these files.
2003-06-13 14:37:00 +00:00
..
.cvsignore
brush_select_cmds.c removed generation of includes for enums since including "pdb-types.h" is 2003-05-15 21:24:41 +00:00
brushes_cmds.c removed generation of includes for enums since including "pdb-types.h" is 2003-05-15 21:24:41 +00:00
channel_cmds.c removed generation of includes for enums since including "pdb-types.h" is 2003-05-15 21:24:41 +00:00
color_cmds.c removed generation of includes for enums since including "pdb-types.h" is 2003-05-15 21:24:41 +00:00
convert_cmds.c removed generation of includes for enums since including "pdb-types.h" is 2003-05-15 21:24:41 +00:00
display_cmds.c renamed gdisplays_reconnect() to gimp_displays_reconnect() and added a 2002-12-03 23:00:42 +00:00
drawable_cmds.c removed generation of includes for enums since including "pdb-types.h" is 2003-05-15 21:24:41 +00:00
edit_cmds.c removed generation of includes for enums since including "pdb-types.h" is 2003-05-15 21:24:41 +00:00
fileops_cmds.c convert filename to a uri for find_utils_find_proc. 2003-05-22 16:58:57 +00:00
floating_sel_cmds.c added check_funcs (GIMP_IS_LAYER, GIMP_IS_IMAGE etc.) to all data types 2002-08-29 17:21:21 +00:00
font_select_cmds.c app/gui/Makefile.am added font selection GUI to be used through the PDB. 2003-03-28 14:13:54 +00:00
gimp-pdb.c Makefile.am removed this header file. 2003-03-25 16:38:19 +00:00
gimp-pdb.h Some PDB cleanup: 2002-09-10 20:23:00 +00:00
gimppdb.c Makefile.am removed this header file. 2003-03-25 16:38:19 +00:00
gimppdb.h Some PDB cleanup: 2002-09-10 20:23:00 +00:00
gimppluginprocedure.c added hooks for running plug-ins under a memory debugger. Also, removed 2003-02-11 01:21:21 +00:00
gimppluginprocedure.h One more Plug-In cleanup, it's still a mess... 2003-01-17 18:07:37 +00:00
gimpprocedure.c Makefile.am removed this header file. 2003-03-25 16:38:19 +00:00
gimpprocedure.h Some PDB cleanup: 2002-09-10 20:23:00 +00:00
gimprc_cmds.c added gimp->edit_config which is a copy of gimp->config except for 2002-11-30 13:08:44 +00:00
gradient_select_cmds.c renamed gdisplays_reconnect() to gimp_displays_reconnect() and added a 2002-12-03 23:00:42 +00:00
gradients_cmds.c renamed parameters to be consistent with the other foo-select.* files. 2002-03-13 15:29:59 +00:00
guides_cmds.c removed generation of includes for enums since including "pdb-types.h" is 2003-05-15 21:24:41 +00:00
help_cmds.c One more Plug-In cleanup, it's still a mess... 2003-01-17 18:07:37 +00:00
image_cmds.c fixed offset calculation for 90 and 270 degree rotations. 2003-06-03 16:42:46 +00:00
internal_procs.c moved the image flip entries to the Image->Transform submenu and added 2003-05-19 16:28:35 +00:00
internal_procs.h link the app in a different order as some init functions are called from 2001-10-19 16:41:09 +00:00
layer_cmds.c removed generation of includes for enums since including "pdb-types.h" is 2003-05-15 21:24:41 +00:00
Makefile.am app/gui/Makefile.am added font selection GUI to be used through the PDB. 2003-03-28 14:13:54 +00:00
makefile.msc updated win32 (msvc) build 2003-05-24 17:00:03 +00:00
message_cmds.c Cleaned up and improved the message system: 2003-06-13 14:37:00 +00:00
misc_cmds.c Cleaned up the exit process: 2002-12-05 15:49:59 +00:00
misc_tools_cmds.c removed generation of includes for enums since including "pdb-types.h" is 2003-05-15 21:24:41 +00:00
paint_tools_cmds.c removed generation of includes for enums since including "pdb-types.h" is 2003-05-15 21:24:41 +00:00
palette_cmds.c Fixed most of the bugs the Script-Fu logo scripts triggered: 2003-02-14 22:33:22 +00:00
palette_select_cmds.c renamed gdisplays_reconnect() to gimp_displays_reconnect() and added a 2002-12-03 23:00:42 +00:00
palettes_cmds.c renamed parameters to be consistent with the other foo-select.* files. 2002-03-13 15:29:59 +00:00
parasite_cmds.c Some PDB cleanup: 2002-09-10 20:23:00 +00:00
paths_cmds.c app/vectors/Makefile.am new files implementing a compatibility API for 2003-05-22 19:02:38 +00:00
pattern_select_cmds.c renamed gdisplays_reconnect() to gimp_displays_reconnect() and added a 2002-12-03 23:00:42 +00:00
patterns_cmds.c renamed parameters to be consistent with the other foo-select.* files. 2002-03-13 15:29:59 +00:00
pdb-types.h devel-docs/Makefile.am new file documenting the core's include policy. 2002-05-03 12:45:22 +00:00
pdb_glue.h Some PDB cleanup: 2002-09-10 20:23:00 +00:00
plug_in_cmds.c fixed plugins_query() I broke recently. 2003-02-13 11:32:49 +00:00
procedural_db.c Makefile.am removed this header file. 2003-03-25 16:38:19 +00:00
procedural_db.h Some PDB cleanup: 2002-09-10 20:23:00 +00:00
procedural_db_cmds.c removed generation of includes for enums since including "pdb-types.h" is 2003-05-15 21:24:41 +00:00
README Added another warning about autogenerated files 2001-01-21 22:28:16 +00:00
selection_cmds.c added "gboolean cut_image" parameter so we can float selections without 2003-05-16 12:10:47 +00:00
selection_tools_cmds.c removed generation of includes for enums since including "pdb-types.h" is 2003-05-15 21:24:41 +00:00
text_tool_cmds.c removed generation of includes for enums since including "pdb-types.h" is 2003-05-15 21:24:41 +00:00
transform_tools_cmds.c removed generation of includes for enums since including "pdb-types.h" is 2003-05-15 21:24:41 +00:00
undo_cmds.c added plug_ins_proc_def_find() which takes a ProcRecord and returns the 2003-02-18 14:08:14 +00:00
unit_cmds.c added app/display/ and app/plug-in/. Empty for now except for the types 2001-08-17 14:27:31 +00:00

This directory contains the PDB-wrappers for various internal
Gimp functions.

THESE FILES ARE AUTOGENERATED AND CHANGES HERE ARE USELESS!

If you need to change the code please have a look in ../../tools/pdbgen/pdb.