gimp/app
Michael Natterer 1c62ddef4d Long overdue core container cleanup:
2004-05-24  Michael Natterer  <mitch@gimp.org>

	Long overdue core container cleanup:

	* app/core/gimplist.[ch]: added "unique-names" and "sort-func"
	properties and merged the resp. code from GimpDataList into
	GimpList. Removed "policy" parameters from gimp_list_new() and
	added "unique_names". Added new constructor gimp_list_new_weak().
	Made public function gimp_list_uniquefy_name() private.

	* app/core/Makefile.am
	* app/core/core-types.h
	* app/core/gimpdatalist.[ch]: removed. Its functionality is
	entirely in GimpList now.

	* app/core/gimpdata.[ch]: added gimp_data_name_compare() which
	used to live in GimpDataList.

	* app/core/gimp.c
	* app/core/gimpdatafactory.c
	* app/core/gimpimage.c
	* app/core/gimptoolinfo.c
	* app/core/gimpundostack.c
	* app/paint/gimp-paint.c
	* app/tools/gimp-tools.c
	* app/widgets/gimpdevices.c
	* app/widgets/gimptemplateeditor.c
	* app/widgets/gimpundoeditor.c: changed list creation accordingly.

	Made gimp->templates, gimp->named_buffers, tool_info->presets and
	the image's lists of layers, channels and vectors automatically
	ensure unique names.

	* app/widgets/gimptemplateview.c
	* app/actions/file-commands.c
	* app/actions/templates-commands.c
	* app/actions/tool-options-commands.c: removed calls to
	gimp_list_uniquefy_name().

	* app/core/gimpitem.c: removed major insanity where the items
	themselves where ensuring their unique names. Bah!

	* app/core/gimplayer.c (gimp_layer_name_changed): chain up
	conditionally.

	* app/core/gimplayermask.c (gimp_layer_mask_name_changed): removed
	because there is no need any more to keep the parent
	implementation from being invoked.
2004-05-24 10:49:34 +00:00
..
actions Long overdue core container cleanup: 2004-05-24 10:49:34 +00:00
base g_return_if_fail() on width, height or bpp <= 0. Doesn't fix anything but 2004-03-25 17:58:26 +00:00
composite new file to keep common definitions for the msc build use common 2004-02-07 23:01:33 +00:00
config Fixes for bug #142996: 2004-05-23 21:02:27 +00:00
core Long overdue core container cleanup: 2004-05-24 10:49:34 +00:00
dialogs Fixes for bug #142996: 2004-05-23 21:02:27 +00:00
display reoedered to somehow reflect the class hierarchy. 2004-05-23 10:04:41 +00:00
file added new PDB function gimp_register_file_handler_mime() that allows to 2004-05-14 00:01:11 +00:00
gui Fixes for bug #142996: 2004-05-23 21:02:27 +00:00
menus Allow plug-ins to register menu icons. Fixes bug #120500. 2004-05-18 21:19:43 +00:00
paint Long overdue core container cleanup: 2004-05-24 10:49:34 +00:00
paint-funcs header cleanup, added some const qualifiers, converted tabs to spaces. 2004-04-15 12:38:54 +00:00
pdb remove unnecessary G_OBJECT() casts. 2004-05-20 01:13:14 +00:00
plug-in Allow plug-ins to register menu icons. Fixes bug #120500. 2004-05-18 21:19:43 +00:00
text define G*_DISABLE_DEPRECATED for all G* modules except GTK+. Don't do so 2004-05-11 17:19:24 +00:00
tools Long overdue core container cleanup: 2004-05-24 10:49:34 +00:00
vectors added "const gchar *stroke_desc" to the GimpItemClass struct and always 2004-04-15 14:41:36 +00:00
widgets Long overdue core container cleanup: 2004-05-24 10:49:34 +00:00
xcf Allow plug-ins to register menu icons. Fixes bug #120500. 2004-05-18 21:19:43 +00:00
.cvsignore tools/Makefile.am app/Makefile.am app, tools, and user dir bumped to 2004-04-16 00:56:25 +00:00
airbrush.c prototype for an extension that allows gmodules as plugins. Known bug: 2001-02-14 04:55:21 +00:00
app_procs.c Get rid of the "current_context" which was in fact just a bunch of global 2004-04-14 23:37:34 +00:00
app_procs.h app/Makefile.am new files implementing sanity_check() for run-time 2004-03-30 11:32:21 +00:00
batch.c Get rid of the "current_context" which was in fact just a bunch of global 2004-04-14 23:37:34 +00:00
batch.h renamed batch_init() to batch_run(). Install an Gimp::exit handler while 2003-11-30 14:44:13 +00:00
errors.c Added a conditional definition of the preprocessor symbol GIMP_UNSTABLE if 2004-02-05 00:34:50 +00:00
errors.h unref the gimp object after dumping the configuration as a test for 2003-11-17 00:17:01 +00:00
gimp-intl.h Makefile.am removed this header file. 2003-03-25 16:38:19 +00:00
gimp.rc
main.c when glibc is used, call mallopt, so that memory chunks >= 4k (= 64*64 2004-04-29 19:47:24 +00:00
Makefile.am cleaned up variable names and external API. Still quite a mess. 2004-05-06 13:17:49 +00:00
makefile.msc build sanity.obj app/text/makefile.msc : gimptextundo.obj 2004-04-11 15:21:09 +00:00
paint_core.h prototype for an extension that allows gmodules as plugins. Known bug: 2001-02-14 04:55:21 +00:00
paint_options.h prototype for an extension that allows gmodules as plugins. Known bug: 2001-02-14 04:55:21 +00:00
plug_in_cmds.c Garry R. Osgood <grosgood@rcn.com> 2001-03-11 13:15:41 +00:00
sanity.c depend on glib 2.4.0, gtk+ 2.4.0, pangoft2 1.4.0 2004-04-15 16:15:04 +00:00
sanity.h app/Makefile.am new files implementing sanity_check() for run-time 2004-03-30 11:32:21 +00:00
transform_core.c prototype for an extension that allows gmodules as plugins. Known bug: 2001-02-14 04:55:21 +00:00
units.c libgimpbase/Makefile.am libgimpbase/gimpbase-private.[ch] new files 2003-11-15 22:53:28 +00:00
units.h libgimpbase/Makefile.am libgimpbase/gimpbase-private.[ch] new files 2003-11-15 22:53:28 +00:00
wilber.ico