Commit graph

22 commits

Author SHA1 Message Date
Sven Neumann 3fb6adbcfb changed wm_name to app_name in the GimpConfig struct; increased
2004-02-17  Sven Neumann  <sven@gimp.org>

	* libgimpbase/gimpprotocol.[ch]: changed wm_name to app_name in
	the GimpConfig struct; increased GIMP_PROTOCOL_VERSION.

	* app/plug-in/plug-in-run.c (plug_in_run): pass the return value
	of g_get_application_name() to the plug-ins.

	* libgimp/gimp.[ch]: removed function gimp_wm_name(). Set the
	plug-in's application name if an app_name is passed in the config
	message.

	* libgimp/gimpui.c: removed usage of gimp_wm_name(); it was wrong
	to do it this way and caused all plug-ins claim to be the gimp-1.3
	executable in their error messages.

	* libgimp/gimp.def: removed symbol gimp_wm_name.

	* configure.in: reset gimp_binary_age and gimp_interface_age.

	* app/core/gimpimage.c (gimp_image_name_changed): removed unused
	variable.
2004-02-17 14:03:07 +00:00
Michael Natterer 9887f19729 libgimpbase/tmpl/gimpdatafiles.sgml
2004-01-28  Michael Natterer  <mitch@gimp.org>

	* libgimpbase/tmpl/gimpdatafiles.sgml
	* libgimpwidgets/libgimpwidgets-sections.txt
	* libgimpwidgets/tmpl/gimppatheditor.sgml: updated.
2004-01-28 22:01:59 +00:00
Sven Neumann c723e826e8 bumped version number to 2.0pre3 (1.3.26), binary age 2, interface age 0.
2004-01-19  Sven Neumann  <sven@gimp.org>

	* configure.in: bumped version number to 2.0pre3 (1.3.26),
	binary age 2, interface age 0.

	* libgimpbase/gimpsignal.h: removed unused definition of
	gimp_signal_syscallrestart().
2004-01-19 17:35:20 +00:00
Sven Neumann 6d506d51bb include "libgimpbase/gimpbase.h" where needed; removed now unnecessary
2004-01-19  Sven Neumann  <sven@gimp.org>

	* app/*/*.c: include "libgimpbase/gimpbase.h" where needed; removed
	now unnecessary inclusions of "file/file-utils.h".
2004-01-19 01:54:11 +00:00
Sven Neumann d4a318ddba updated after removal of SA_RESTART for EMX.
2004-01-12  Sven Neumann  <sven@gimp.org>

	* libgimpbase/tmpl/gimpsignal.sgml: updated after removal of
	SA_RESTART for EMX.
2004-01-12 09:43:49 +00:00
Sven Neumann 4ce2b2718c libgimpbase/libgimpbase-sections.txt added GIMP_MAX_MEMSIZE, documented
2003-11-25  Sven Neumann  <sven@gimp.org>

	* libgimpbase/libgimpbase-sections.txt
	* libgimpbase/tmpl/gimplimits.sgml: added GIMP_MAX_MEMSIZE,
	documented all limits.
2003-11-25 20:07:39 +00:00
Sven Neumann 0aec8c079e added GIMP_MAX_MEMSIZE, an arbitrary upper limit for memory sizes. It must
2003-11-25  Sven Neumann  <sven@gimp.org>

	* libgimpbase/gimplimits.h: added GIMP_MAX_MEMSIZE, an arbitrary
	upper limit for memory sizes. It must be smaller than G_MAXDOUBLE
	since our memsize entry doesn't handle anything larger.

	* app/widgets/gimppropwidgets.c (gimp_prop_memsize_entry_new):
	check against GIMP_MAX_MEMSIZE, not G_MAXDOUBLE.

	* app/config/gimpbaseconfig.c
	* app/config/gimpcoreconfig.c
	* app/config/gimpguiconfig.c: use GIMP_MAX_MEMSIZE instead of
	G_MAXULONG. The latter is larger than G_MAXDOUBLE on 64bit
	machines and caused bug #127908.

	* libgimpwidgets/gimpmemsizeentry.c: added casts to guint64.
2003-11-25 19:45:01 +00:00
Michael Natterer 6e09825008 ignore "gimpunitcache.h".
2003-11-16  Michael Natterer  <mitch@gimp.org>

	* libgimp/Makefile.am: ignore "gimpunitcache.h".

	* libgimpbase/Makefile.am: ignore "gimpbase-private.h".

	* libgimpbase/tmpl/gimpunit.sgml: removed docs because the
	gimpunit.c file is in the right place to be parsed correctly now.
2003-11-15 23:09:17 +00:00
Sven Neumann 74c8218a3f added GIMP_CONFIG_ERROR_VERSION to GimpConfigError enum.
2003-11-08  Sven Neumann  <sven@gimp.org>

	* app/config/gimpconfig-error.h: added GIMP_CONFIG_ERROR_VERSION
	to GimpConfigError enum.

	* libgimpbase/gimpprotocol.h: renamed GP_VERSION to
	GIMP_PROTOCOL_VERSION.

	* libgimp/gimp.c
	* app/plug-in/plug-in-run.c: changed accordingly.

	* app/plug-in/plug-in-rc.[ch]: write the protocol version to the
	pluginrc and stop parsing when a wrong protocol version is found.

	* app/plug-in/plug-ins.c: pass a GError to plug_in_rc_parse().
2003-11-07 23:47:35 +00:00
Michael Natterer 3fc87b6107 libgimp/libgimp-sections.txt libgimp/tmpl/gimp.sgml updated.
2003-11-07  Michael Natterer  <mitch@gimp.org>

	* libgimp/libgimp-sections.txt
	* libgimp/tmpl/gimp.sgml
	* libgimpbase/tmpl/gimpprotocol.sgml: updated.
2003-11-07 18:11:35 +00:00
Sven Neumann 42c46dbd12 added gimp_any_to_utf8() 2003-10-17 09:38:24 +00:00
Henrik Brix Andersen f36a63f68c removed function gimp_menu_path_strip_uline() ...
2003-08-09 Henrik Brix Andersen <brix@gimp.org>

* gimp/app/widgets/gimpwidgets-utils.[ch]: removed function
gimp_menu_path_strip_uline() ...

* gimp/libgimpbase/gimputils.[ch]: ... and added it here under the
name gimp_strip_uline()

* gimp/devel-docs/libgimpbase/libgimpbase-sections.txt: added
gimp_strip_uline to gimputils section

* gimp/app/plug-in/plug-in.c
* gimp/app/widgets/gimpitemfactory.c
* gimp/app/widgets/gimptoolbox.
* gimp/app/gui/plug-in-menus.c: changed accordingly

* gimp/plug-ins/script-fu/script-fu-scripts.c
(script_fu_interface): use gimp_strip_uline() to strip mnemonics
from script-fu menu paths

* gimp/app/gui/vectors-menu.c
* gimp/app/gui/templates-menu.c
* gimp/app/gui/qmask-menu.c
* gimp/app/gui/palettes-menu.c
* gimp/app/gui/palette-editor-menu.c
* gimp/app/gui/images-menu.c
* gimp/app/gui/gradients-menu.c
* gimp/app/gui/gradient-editor-menu.c
* gimp/app/gui/documents-menu.c
* gimp/app/gui/dialogs-menu.c
* gimp/app/gui/colormap-editor-menu.c
* gimp/app/gui/channels-menu.c
* gimp/app/gui/buffers-menu.c
* gimp/app/gui/brushes-menu.c
* gimp/app/gui/layers-menu.c
* gimp/plug-ins/pygimp/plug-ins/clothify.py
* gimp/plug-ins/pygimp/plug-ins/shadow_bevel.py
* gimp/plug-ins/pygimp/plug-ins/whirlpinch.py
* gimp/plug-ins/pygimp/plug-ins/foggify.py
* gimp/plug-ins/script-fu/scripts/*.scm
* gimp/plug-ins/script-fu/script-fu.c: added mnemonics fixing more
of bug #106991

* gimp/app/gui/error-console-menu.c (error_console_menu_update):
updated menu item names, added mnemonics

* gimp/plug-ins/common/animoptimize.c *
gimp/plug-ins/common/animationplay.c: don't prepend every menu
entry with "Animation"
2003-08-11 17:14:32 +00:00
Michael Natterer 43ff579702 libgimpbase/tmpl/gimpbasetypes.sgml regenerated.
2003-07-02  Michael Natterer  <mitch@gimp.org>

	* libgimpbase/tmpl/gimpbasetypes.sgml
	* libgimpbase/tmpl/gimpdatafiles.sgml: regenerated.
2003-07-02 17:12:31 +00:00
Michael Natterer 93b50614b3 libgimpbase/libgimpbase-sections.txt added gimp_memsize_to_string()
2003-04-04  Michael Natterer  <mitch@gimp.org>

	* libgimpbase/libgimpbase-sections.txt
	* libgimpbase/tmpl/gimputils.sgml: added gimp_memsize_to_string()
2003-04-04 15:13:57 +00:00
Sven Neumann 9302789d87 libgimpbase/tmpl/gimputils.sgml minor updates.
2003-02-06  Sven Neumann  <sven@gimp.org>

	* libgimpbase/tmpl/gimputils.sgml
	* libgimpmodule/libgimpmodule-sections.txt: minor updates.
2003-02-06 13:43:54 +00:00
Sven Neumann 7aaff76971 libgimpbase/Makefile.am added new files that hold the new
2003-02-05  Sven Neumann  <sven@gimp.org>

	* libgimpbase/Makefile.am
	* libgimpbase/gimputils.[ch]: added new files that hold the new
	gimp_utf8_strtrim() routine; it might be useful in more places.

	* libgimpbase/gimpdatafiles.c (gimp_datafiles_read_directories):
	silently ignore directories in the path that can't be opened.

	* app/core/gimpobject.c (gimp_object_set_name_safe): use
	gimp_utf8_strtrim().

	* app/widgets/gimpwidgets-utils.[ch]
	* app/tools/gimptextoptions.c: try to make the text tool options
	look more like all other tool options. Still needs work; I'll
	leave this up to Mitch ...

        This byte --> <-- is the millionth in this file!
2003-02-05 22:15:39 +00:00
Michael Natterer cce6105e5a removed. ignore gimpcompat.h
2003-01-07  Michael Natterer  <mitch@gimp.org>

	* libgimp/tmpl/gimpcompat.sgml: removed.
	* libgimp/Makefile.am: ignore gimpcompat.h

	* libgimp/libgimp-sections.txt
	* libgimp/tmpl/gimp.sgml
	* libgimpbase/tmpl/gimpprotocol.sgml
	* libgimpwidgets/libgimpwidgets-sections.txt
	* libgimpwidgets/tmpl/gimphelpui.sgml: updated after the
	gimp_help_*() changes.
2003-01-07 17:36:53 +00:00
Michael Natterer c7ac6aff52 Moved generic datafile loading to LibGimpBase:
2002-10-23  Michael Natterer  <mitch@gimp.org>

	Moved generic datafile loading to LibGimpBase:

	* app/core/gimpdatafiles.[ch]: removed...

	* libgimpbase/gimpdatafiles.[ch]: ...and add here with a changed
	API which requires no more global variables.

	* libgimpbase/Makefile.am
	* libgimpbase/gimpbase.h
	* libgimpbase/gimpbasetypes.h
	* app/core/Makefile.am
	* app/core/core-types.h
	* app/core/gimpdatafactory.c
	* app/gui/gui.c
	* app/plug-in/plug-in.c
	* app/plug-in/plug-ins.c
	* app/tools/tools.c: changed accordingly.

	Moved module loading to LibGimpModule:

	* app/core/gimpmodules.c: removed lots of code...

	* libgimpmodule/gimpmoduledb.[ch]: ...and added it here as
	GimpModuleDB object.

	* libgimpmodule/Makefile.am
	* libgimpmodule/gimpmoduletypes.h: changed accordingly.

	* app/core/gimp.[ch]: replaced gimp->modules by gimp->module_db.

	* libgimpmodule/gimpmodule.[ch]: added
	gimp_module_query(). Internal cleanup. Stuff...

	* app/gui/module-browser.c: changed accordingly. Unfinished...

	* app/core/gimpcontainer.c
	* app/core/gimplist.c: reverted the HACKS introduced recently.

	* app/core/gimpobject.[ch]: added gimp_g_object_get_memsize()
	utility function.

	* libgimpproxy/gimpobject.[ch]: regenerated.

	Changed display filter configuration stuff:

	* libgimpwidgets/gimpcolordisplay.[ch]: made the virtual
	configure() function return a GtkWidget instead of opening a
	dialog. Changed configure_cancel() to configure_reset(). Added
	"changed" signal.

	* app/display/gimpdisplayshell-filter-dialog.c: embed the filters'
	config GUI in the dialog. Connect to "changed" and added a "Reset"
	button which resets the filter.

	* modules/cdisplay_gamma.c
	* modules/cdisplay_highcontrast.c: changed accordingly.

	* modules/colorsel_triangle.c
	* modules/colorsel_water.c: minor fixes.

2002-10-23  Michael Natterer  <mitch@gimp.org>

	* libgimpbase/libgimpbase-docs.sgml
	* libgimpbase/libgimpbase-sections.txt
	* libgimpbase/tmpl/gimpbasetypes.sgml
	* libgimpbase/tmpl/gimpdatafiles.sgml: added GimpDatafiles

	* libgimpmodule/libgimpmodule-docs.sgml
	* libgimpmodule/libgimpmodule-sections.txt
	* libgimpmodule/tmpl/gimpmoduledb.sgml: added GimpModuleDB.

	* libgimpwidgets/libgimpwidgets.types: added gimp_dialog_get_type

	* libgimpmodule/tmpl/gimpmodule.sgml
	* libgimpwidgets/tmpl/gimpcolordisplay.sgml
	* libgimpwidgets/tmpl/gimpdialog.sgml: updated.
2002-10-23 14:55:07 +00:00
Michael Natterer dba356d815 libgimpbase/gimpprotocol.[ch] pass "gpointer user_data" to all functions,
2002-05-16  Michael Natterer  <mitch@gimp.org>

	* libgimpbase/gimpprotocol.[ch]
	* libgimpbase/gimpwire.[ch]: pass "gpointer user_data" to all
	functions, which in gets turn passed to the registered reader,
	writer, and flusher funcs.

	* libgimp/gimp.c
	* libgimp/gimptile.c: pass NULL as user_data. We have only one
	pipe on the plug-in side.

	* app/plug-in/plug-in.c: pass the PlugIn as user_data. As a
	consequence, got rid of more global variables. The global
	"current_plug_in" and the plug_in_push()/pop() madness are still
	there. Will reeplace them by some less ugly hack later...

2002-05-16  Michael Natterer  <mitch@gimp.org>

	* libgimpbase/tmpl/gimpprotocol.sgml
	* libgimpbase/tmpl/gimpwire.sgml: regenerated after API change.
2002-05-16 17:41:38 +00:00
Sven Neumann 378cfc793d ignore gimpbase.h.
2002-05-13  Sven Neumann  <sven@gimp.org>

	* libgimpbase/Makefile.am: ignore gimpbase.h.

	* libgimpbase/libgimpbase-docs.sgml: removed GimpBase and GimpUtils
	sections, added GimpProtocol.

	* libgimpbase/libgimpbase-sections.txt: updated.

	* libgimpbase/tmpl/gimpbase.sgml
	* libgimpbase/tmpl/gimputils.sgml: removed.

	* libgimpbase/tmpl/gimpbasetypes.sgml
	* libgimpbase/tmpl/gimpenv.sgml
	* libgimpbase/tmpl/gimpparasite.sgml
	* libgimpbase/tmpl/gimpprotocol.sgml
	* libgimpbase/tmpl/gimpunit.sgml: updated.
2002-05-13 11:13:41 +00:00
Sven Neumann 906a8784ba Handle gtk-doc just like GTK+ does it now:
2002-03-08  Sven Neumann  <sven@gimp.org>

	Handle gtk-doc just like GTK+ does it now:

	* configure.in: check for gtk-doc version 0.9. Do not build the API
	reference by default.

	* autogen.sh: pass --enable-gtk-doc to configure.

	* Makefile.am: Added a slightly modified distcheck rule that passes
        --enable-gtk-doc to the configure inside.

	* NEWS: updated.

Revival of the API reference framework.
Misc fixes.
2002-03-08 12:36:40 +00:00
Michael Natterer ced2d1481b new directory devel-docs/libgimpbase/
2001-05-25  Michael Natterer  <mitch@gimp.org>

	* configure.in: new directory devel-docs/libgimpbase/

2001-05-25  Michael Natterer  <mitch@gimp.org>

	* Makefile.am
	* libgimpbase/*: new gtk-doc module for the new library.

	* libgimp/*: removed the files which belong to libgimpbase, updates.

	* libgimpmath/libgimpmath-decl.txt
	* libgimpmath/libgimpmath.hierarchy
	* libgimpwidgets/libgimpwidgets-decl.txt
	* libgimpwidgets/libgimpwidgets-sections.txt
	* libgimpwidgets/libgimpwidgets.hierarchy
	* libgimpwidgets/tmpl/gimpbutton.sgml
	* libgimpwidgets/tmpl/gimpoffsetarea.sgml
	* libgimpwidgets/tmpl/gimpwidgetstypes.sgml: updated.
2001-05-25 20:44:40 +00:00