Commit Graph

101 Commits

Author SHA1 Message Date
Michael Natterer 2aaa133442 libgimpmodude: increment GIMP_MODULE_ABI_VERSION
We don't want 2.x modules to be loaded into 2.99
2018-07-16 00:24:39 +02:00
Michael Natterer 5f700549e7 Change the license URL from http://www.gnu.org/licenses/ to https:// 2018-07-11 23:29:46 +02:00
Michael Natterer 7990b1d57c libgimp: update all .def files 2018-05-25 22:13:33 +02:00
Michael Natterer 58aa0092b9 libgimpmodule: move all GimpModuleDB members to private 2018-05-20 21:06:33 +02:00
Michael Natterer f4f106ad26 libimp*: add private pointers to all instance structs
even if we don't have private members (yet). Also make class padding 8
pointers in all headers. This commit moves nothing to private, it just
makes all headers consistent and adjusts .c files accordigly.
2018-05-20 21:06:33 +02:00
Michael Natterer 5e10894334 libgimpmodule: remove all deprecated cruft 2018-05-20 21:06:29 +02:00
Michael Natterer 8005eea835 Remove the "GIMP" from all "Since: GIMP 2.x" API doc comments
because it confuses gtk-doc and breaks some links. Also change the
"Index of new symbols in GIMP 2.x" sections to be what seems to be the
modern standard (looked at the GLib and GTK+ docs), and update some
other stuff.
2015-05-31 21:18:09 +02:00
Michael Natterer d0608fce22 libgimpmodule: disconnect from the modules' "modified" signal
when GimpModuleDB is finalized.
2014-10-06 20:32:20 +02:00
Jehan 8c1cd7caac Makefile: fix VPATH builds for win32. 2014-09-14 18:28:26 +02:00
Michael Henning 1115f14a00 libgimpmodule: Link to GIO
This has been necesary since at least a0b9e5c7
2014-08-09 15:21:15 -04:00
Michael Natterer cd8fa8cbc3 libgimpmodule: remove obsolete docs from gimp_module_db_load() 2014-08-03 23:09:30 +02:00
Michael Natterer 6209b1f571 libgimpbase, app: move gimp_file_has_extension() to libgimpbase
and use it in GimpModuleDB.
2014-08-03 20:47:37 +02:00
Michael Natterer a0b9e5c702 libgimpmodule, app: port GimpModuleDB to GFileEnumerator
this implies passing the UTF-8 encoded raw module path from gimprc to
gimp_module_db_load() and gimp_module_db_refresh(), which is strictly
speaking an API break, but I seriously doubt that anyone but GIMP is
actually using libgimpmodule.
2014-08-03 18:30:02 +02:00
Michael Natterer 9e265e7855 libgimpmodule: always build the module debug code, just don't call it
It was already rotting and had to be fixed.
2014-08-02 23:47:10 +02:00
Daniel Sabo b54b59c9e8 Use EXTRA_foo_DEPENDENCIES for adding .def files
The foo_DEPENDENCIES rule replaces the default dependencies, where
EXTRA_foo_DEPENDENCIES just appends to it. This was causing libgimp
and libgimpui to build out of order.
2014-03-15 14:23:38 -07:00
Michael Natterer 697572ccc0 app,libgimp*: fix includes to follow our include policy
- don't include <gdk-pixbuf/gdk-pixbuf.h> in headers in app/
- instead, include it in many .c files instead of <glib-object.h>,
  finally acknowledging the fact that app/ depends on gdk-pixbuf almost
  globally
- fix up includes as if libgimpbase depended in GIO, which it soon will
2013-10-15 01:58:39 +02:00
Michael Natterer ec786816bb */Makefile.am: merge INCLUDES into AM_CPPFLAGS
automake-1.13 finally warns about this anachronism.
2013-06-05 20:48:37 +02:00
Michael Natterer b26430db19 libgimpmodule: fix typo in comment in GimpModuleDB 2012-09-13 09:14:17 +02:00
Michael Natterer 486e76bdab libgimp*: use GIMP_API_VERSION in Makefile.am instead of hardcoding 2.0 2012-05-04 15:38:45 +02:00
Michael Natterer 0d481702c7 libgimp*: add GIMP_DEPRECATED macros using G_DEPRECATED
and start using them instead of GIMP_DISABLE_DEPRECATED where possible.
2012-05-03 00:54:21 +02:00
Michael Natterer 056e09a6cb Remove the makefile.msc build system, it is unmaintained since 2008 2011-12-16 15:53:56 +01:00
Michael Natterer 844df2b4df libgimp*: add guards that #error out if individual files are included
This only helps to maintain proper includes in app/ and shouldn't
affect plug-ins at all, because these are supposed to only include the
main headers from libgimp/ since the beginning of time.

The gimpfootypes.h files do not have these guards, so we can continue
to maintain app/'s include policy that is very likely to error out if
wrong things are included.
2011-04-28 14:30:41 +02:00
Michael Natterer a5e28dec57 libgimpmodule: fix some gtk-doc warnings 2010-07-01 22:33:28 +02:00
Michael Natterer fcc0a5a424 libgimpmodule: move docs from templates to inline comments 2010-07-01 22:33:28 +02:00
Martin Nordholts 4d7a6b10d1 Added .gitignore files generated with git svn create-ignore.
svn path=/trunk/; revision=27972
2009-01-31 11:37:44 +00:00
Michael Natterer d9b5207aa2 Change licence to GPLv3 (and to LGPLv3 for libgimp).
2009-01-17  Michael Natterer  <mitch@gimp.org>

	* all files with a GPL header and all COPYING files:

	Change licence to GPLv3 (and to LGPLv3 for libgimp).

	Cleaned up some copyright headers and regenerated the parsers in
	the ImageMap plugin.


svn path=/trunk/; revision=27913
2009-01-17 22:28:01 +00:00
Sven Neumann d990457022 sorted. updated.
2008-11-12  Sven Neumann  <sven@gimp.org>

	* libgimpbase/gimpbase.def: sorted.
	* libgimpmodule/gimpmodule.def: updated.


svn path=/trunk/; revision=27631
2008-11-12 14:52:25 +00:00
Sven Neumann 7fa22ebf17 added GIMP_MODULE_ERROR domain.
2008-11-12  Sven Neumann  <sven@gimp.org>

	* libgimpmodule/gimpmodule.[ch]: added GIMP_MODULE_ERROR domain.

	* modules/gimpinputdevicestore-hal.c
	* modules/gimpinputdevicestore-dx.c
	* modules/controller-dx-dinput.c: use GIMP_MODULE_ERROR as error
	domain instead of 0.


svn path=/trunk/; revision=27629
2008-11-12 11:19:31 +00:00
Hans Breuer 6f5bbfe0bd updated and removed -GD to let msvc9 complain less
2007-12-09  Hans Breuer  <hans@breuer.org>

	* **/makefile.msc : updated and removed -GD to let msvc9 complain less


svn path=/trunk/; revision=24305
2007-12-09 14:11:09 +00:00
Michael Natterer 251fbfd8b0 simply check for G_MODULE_SUFFIX and remove utility function
2007-10-18  Michael Natterer  <mitch@gimp.org>

	* libgimpmodule/gimpmoduledb.c (gimp_module_db_module_initialize):
	simply check for G_MODULE_SUFFIX and remove utility function
	is_valid_module_name().


svn path=/trunk/; revision=23876
2007-10-18 15:57:44 +00:00
Sven Neumann 09578ea070 removed extra check for gthread and fold it into the GLIB and GTK checks.
2007-06-25  Sven Neumann  <sven@gimp.org>

	* configure.in: removed extra check for gthread and fold it into
	the GLIB and GTK checks.

	* */Makefile.am: changed accordingly.

	* app/main.c (main): always call g_thread_init().

svn path=/trunk/; revision=22832
2007-06-25 12:41:59 +00:00
Sven Neumann 203930da11 allocate structs using GSlice.
2007-05-22  Sven Neumann  <sven@gimp.org>

	* libgimpbase/gimpprotocol.c: allocate structs using GSlice.

	* libgimpmodule/gimpmodule.c: allocate GimpModuleInfo using GSlice.

svn path=/trunk/; revision=22564
2007-05-22 13:09:56 +00:00
Sven Neumann 930d6149da removed all .cvsignore files from SVN
svn path=/trunk/; revision=21612
2006-12-30 14:31:03 +00:00
Simon Budig a8f50bfebd put the module prototypes into a proper place.
2006-11-24  Simon Budig  <simon@gimp.org>

	* libgimpmodule/gimpmodule.[ch]: put the module prototypes into a
	proper place.

	* modules/cdisplay_colorblind.c
	* modules/cdisplay_gamma.c
	* modules/cdisplay_highcontrast.c
	* modules/cdisplay_lcms.c
	* modules/cdisplay_proof.c
	* modules/colorsel_cmyk.c
	* modules/colorsel_cmyk_lcms.c
	* modules/colorsel_triangle.c
	* modules/colorsel_water.c
	* modules/controller_linux_input.c
	* modules/controller_midi.c: reverted.
2006-11-24 22:20:00 +00:00
Michael Natterer 63e257c768 fixed wrong include guard comment.
2006-11-09  Michael Natterer  <mitch@gimp.org>

	* libgimpmodule/gimpmodule.h: fixed wrong include guard comment.
2006-11-09 13:07:11 +00:00
Sven Neumann ca43fb9645 formatting 2006-09-07 12:56:02 +00:00
Michael Schumacher d5c8cea9ae added missing GLIB_LIBS to LIBADD. The recent changes to the gmodule check
2006-05-15  Michael Schumacher  <schumaml@cvs.gnome.org>

	* libgimpmodule/Makefile.am: added missing GLIB_LIBS to
	LIBADD. The recent changes to the gmodule check in configure.in
	had broken the build.
2006-05-15 22:40:31 +00:00
Sven Neumann 6ebcf700d1 removed erroneous semicolon after G_DEFINE_TYPE macros.
2006-05-15  Sven Neumann  <sven@gimp.org>

	* app/*/*.c:
	* lib*/*.c: removed erroneous semicolon after G_DEFINE_TYPE macros.
2006-05-15 09:46:31 +00:00
Michael Natterer f94ec804a4 check for gmodule-no-export-2.0, not for gmodule-2.0. Also removed
2006-05-12  Michael Natterer  <mitch@gimp.org>

	* configure.in: check for gmodule-no-export-2.0, not for
	gmodule-2.0. Also removed gobject-2.0 from the gmodule check, i
	have no idea why it was there.

	* libgimpmodule/Makefile.am: s/GMODULE/GMODULE_NO_EXPORT/ because
	we only want to import modules here, not export our own symbols.

	(note that this change is actually useless, because libgimpmodule
	 exports its symbols anyway, but it's more correct this way).
2006-05-12 15:18:13 +00:00
Sven Neumann f2df31a50e converted tabs to spaces.
2006-04-12  Sven Neumann  <sven@gimp.org>

	* libgimp*/gimp*.[ch]: converted tabs to spaces.
2006-04-12 10:53:28 +00:00
Sven Neumann 7ccaa9d587 don't ignore the return value of g_list_remove().
2006-04-10  Sven Neumann  <sven@gimp.org>

	* libgimpmodule/gimpmoduledb.c (gimp_module_db_module_remove_func):
	don't ignore the return value of g_list_remove().
2006-04-10 17:31:37 +00:00
Michael Natterer 33ae55f873 libgimp/*.c libgimpconfig/*.c libgimpmodule/*.c libgimpthumb/*.c port to
2005-12-20  Michael Natterer  <mitch@gimp.org>

	* libgimp/*.c
	* libgimpconfig/*.c
	* libgimpmodule/*.c
	* libgimpthumb/*.c
	* libgimpwidgets/*.c: port to G_DEFINE_TYPE() and friends. Some
	related cleanup.
2005-12-20 20:35:23 +00:00
Michael Natterer 56c2ae4020 print error messages unconditionally and let "verbose" print module access
2005-11-23  Michael Natterer  <mitch@gimp.org>

	* libgimpmodule/gimpmodule.c: print error messages unconditionally
	and let "verbose" print module access debugging stuff. Misc cleanup.
2005-11-23 22:22:23 +00:00
Michael Natterer 9cec74e9a1 deprecated. Changed implementation to simply call
2005-06-15  Michael Natterer  <mitch@gimp.org>

	* libgimpmodule/gimpmodule.[ch] (gimp_module_register_enum):
	deprecated. Changed implementation to simply call
	g_type_module_register_enum().

	* modules/cdisplay_colorblind.c
	* modules/cdisplay_proof.c: use g_type_module_register_enum() instead.
2005-06-15 09:26:01 +00:00
Sven Neumann 3ca90a182e Use the canonical form for signal names in lots of places (but by far not
2005-05-27  Sven Neumann  <sven@gimp.org>

	* (lots of files): Use the canonical form for signal names in lots
	of places (but by far not all).
2005-05-27 13:05:26 +00:00
Sven Neumann 1e6a94e614 app/core/gimpgradient-load.c app/core/gimppalette.c app/core/gimppattern.c
2005-02-20  Sven Neumann  <sven@gimp.org>

	* app/core/gimpgradient-load.c
	* app/core/gimppalette.c
	* app/core/gimppattern.c
	* app/plug-in/plug-in.c
	* libgimpbase/gimputils.c
	* libgimpmodule/gimpmodule.c
	* libgimpwidgets/gimppatheditor.c
	* tools/pdbgen/pdb/image.pdb: use g_filename_display_name() or
	g_filename_display_basename() where appropriate.

	* app/pdb/image_cmds.c: regenerated.
2005-02-20 21:49:53 +00:00
Sven Neumann aed06d70ba s/GIMP_THREAD_FLAGS/GTHREAD_CFLAGS/
2005-02-13  Sven Neumann  <sven@gimp.org>

	* libgimp*/Makefile.am: s/GIMP_THREAD_FLAGS/GTHREAD_CFLAGS/
2005-02-13 15:52:44 +00:00
Sven Neumann 692669f4d8 renamed GIMP_PARAM_ #defines to GIMP_CONFIG_PARAM_.
2005-02-05  Sven Neumann  <sven@gimp.org>

	* libgimpconfig/gimpconfig-params.h: renamed GIMP_PARAM_ #defines
	to GIMP_CONFIG_PARAM_.

	* app/config/gimpbaseconfig.c
	* app/config/gimpconfig-dump.c
	* app/config/gimpcoreconfig.c
	* app/config/gimpdisplayconfig.c
	* app/config/gimpguiconfig.c
	* app/config/gimprc-deserialize.c
	* app/config/gimprc-serialize.c
	* app/config/gimprc.c
	* app/core/gimp.c
	* app/core/gimpstrokedesc.c
	* app/dialogs/preferences-dialog.c
	* app/text/gimptext.c
	* app/tools/gimptextoptions.c
	* libgimpconfig/gimpconfig-deserialize.c
	* libgimpconfig/gimpconfig-iface.c
	* libgimpconfig/gimpconfig-serialize.c
	* libgimpconfig/gimpconfig-utils.c: changed accordingly.

	* libgimpmodule/gimpmoduletypes.h: deprecate the
	GIMP_MODULE_PARAM_SERIALIZE #define, GIMP_CONFIG_PARAM_SERIALIZE
	should be used instead.

	* modules/controller_linux_input.c
	* modules/controller_midi.c: changed accordingly.
2005-02-05 14:52:58 +00:00
Sven Neumann 6ce9ad7fd0 gimp_user_version should be 2.2.
2004-10-25  Sven Neumann  <sven@gimp.org>

	* configure.in: gimp_user_version should be 2.2.

	* libgimpmodule/Makefile.am (AM_CPPFLAGS): cleanup.
2004-10-24 23:55:29 +00:00
Michael Natterer 70ad41f92a converted tabs to spaces, removed unused #if 0'ed prototype and unused
2004-07-29  Michael Natterer  <mitch@gimp.org>

	* libgimpmodule/gimpmoduledb.c: converted tabs to spaces, removed
	unused #if 0'ed prototype and unused #includes, minor cleanups.
2004-07-29 19:22:32 +00:00