1. 29 Jan, 2004 1 commit
    • Michael Natterer's avatar
      reset binary age because of struct changes below. require GIMP 1.3.26. · e8843a23
      Michael Natterer authored
      2004-01-29  Michael Natterer  <mitch@gimp.org>
      
      	* configure.in: reset binary age because of struct changes below.
      	* m4macros/gimp-2.0.m4: require GIMP 1.3.26.
      
      	* libgimpmodule/gimpmodule.h
      	* libgimpmodule/gimpmoduledb.h
      	* libgimpthumb/gimpthumbnail.h
      	* libgimpwidgets/gimpbutton.h
      	* libgimpwidgets/gimpchainbutton.h
      	* libgimpwidgets/gimpcolorarea.h
      	* libgimpwidgets/gimpcolorbutton.h
      	* libgimpwidgets/gimpcolordisplay.h
      	* libgimpwidgets/gimpcolordisplaystack.h
      	* libgimpwidgets/gimpcolornotebook.h
      	* libgimpwidgets/gimpcolorscale.h
      	* libgimpwidgets/gimpcolorselection.h
      	* libgimpwidgets/gimpcolorselector.h
      	* libgimpwidgets/gimpdialog.h
      	* libgimpwidgets/gimpfileentry.h
      	* libgimpwidgets/gimpmemsizeentry.h
      	* libgimpwidgets/gimpoffsetarea.h
      	* libgimpwidgets/gimppickbutton.h
      	* libgimpwidgets/gimppixmap.h
      	* libgimpwidgets/gimpsizeentry.h
      	* libgimpwidgets/gimpunitmenu.h: added 4 function pointers padding
      	to all class structures.
      e8843a23
  2. 23 Nov, 2003 3 commits
    • Sven Neumann's avatar
      libgimpwidgets/gimpcolordisplay.[ch] · 66c6e400
      Sven Neumann authored
      2003-11-23  Sven Neumann  <sven@gimp.org>
      
      	* libgimpwidgets/gimpcolordisplay.[ch]
      	* libgimpwidgets/gimpcolordisplaystack.[ch]
      	* libgimpwidgets/gimpcolorselection.[ch]
      	* libgimpwidgets/gimpcolorselector.[ch]: use proper LibGIMP headers.
      66c6e400
    • Sven Neumann's avatar
      made "enabled" an object property and removed the "enabled_changed" · c7f6f8c8
      Sven Neumann authored
      2003-11-23  Sven Neumann  <sven@gimp.org>
      
      	* libgimpwidgets/gimpcolordisplay.[ch]: made "enabled" an object
      	property and removed the "enabled_changed" signal.
      
      	* libgimpwidgets/gimpcolordisplaystack.c
      	* app/widgets/gimpcolordisplayeditor.c: connect to "notify::enabled"
      	instead.
      
      	* libgimpwidgets/gimpwidgets.def: added new symbols.
      c7f6f8c8
    • Michael Natterer's avatar
      added new signal "enabled_changed"... · cea01088
      Michael Natterer authored
      2003-11-23  Michael Natterer  <mitch@gimp.org>
      
      	* libgimpwidgets/gimpcolordisplay.[ch]: added new signal
      	"enabled_changed"...
      
      	* libgimpwidgets/gimpcolordisplaystack.c: ...which enables optimizing
      	away "changed" signals of disabled filters.
      
      	* app/widgets/gimpcolordisplayeditor.c: connect to "enabled_changed"
      	instead of "changed" to update the toggle column.
      cea01088
  3. 22 Nov, 2003 1 commit
    • Michael Natterer's avatar
      added API to enable/disable a filter. A disabled filter has no effect. · ed3f0eb6
      Michael Natterer authored
      2003-11-23  Michael Natterer  <mitch@gimp.org>
      
      	* libgimpwidgets/gimpcolordisplay.[ch]: added API to
      	enable/disable a filter. A disabled filter has no effect.
      
      	* libgimpmodule/gimpmodule.h: incremented GIMP_MODULE_ABI_VERSION.
      
      	* app/widgets/gimpcolordisplayeditor.c: added a check column to
      	the "Active Filters" tree view so the effect of all filters can
      	quickly be toggled. Cleanup.
      
      	* modules/cdisplay_colorblind.c: removed "none" from the enum and
      	from the GUI because disabling a filter is implemented generically
      	now.
      
      	* modules/cdisplay_colorblind.c
      	* modules/cdisplay_gamma.c
      	* modules/cdisplay_highcontrast.c
      	* modules/cdisplay_proof.c: added mnemonics, cleanup.
      ed3f0eb6
  4. 18 Nov, 2003 1 commit
    • Sven Neumann's avatar
      don't do lazy binding on GIMP modules. We can't recover from missing · 4f82e87d
      Sven Neumann authored
      2003-11-18  Sven Neumann  <sven@gimp.org>
      
      	* libgimpmodule/gimpmodule.c (gimp_module_open): don't do lazy
      	binding on GIMP modules. We can't recover from missing symbols
      	later.
      
      	* libgimpwidgets/gimpquerybox.[ch]: renamed "help_page" parameter
      	to "help_id" and changed the docs accordingly.
      
      	* libgimpwidgets/gimpcolordisplay.[ch]
      	* libgimpwidgets/gimpcolorselector.[ch]: renamed the "help_page"
      	struct members of GimpColorDisplay and GimpColorSelector to
      	"help_id".
      
      	* app/gui/color-notebook.c
      	* app/widgets/gimpcoloreditor.c
      	* libgimpwidgets/gimpcolorbutton.c
      	* libgimpwidgets/gimpcolornotebook.c
      	* libgimpwidgets/gimpcolorscales.c
      	* libgimpwidgets/gimpcolorselect.c
      	* modules/*.c: changed accordingly. Specify a help id instead of
      	a HTML page.
      4f82e87d
  5. 23 Oct, 2002 1 commit
    • Michael Natterer's avatar
      Moved generic datafile loading to LibGimpBase: · c7ac6aff
      Michael Natterer authored
      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.
      c7ac6aff
  6. 20 Oct, 2002 1 commit
    • Michael Natterer's avatar
      Ported module loading to GTypeModule, getting rid of all own module · d7055a33
      Michael Natterer authored
      2002-10-20  Michael Natterer  <mitch@gimp.org>
      
      	Ported module loading to GTypeModule, getting rid of all own
      	module registering/bookkeeping stuff for color selectors and
      	display filters. The modules now simply register GimpColorSelector
      	and GimpColorDisplay subclasses, the list of registered subclasses
      	can then be obtained calling g_type_children() on the abstract
      	base classes.
      
      	This is work in progress and just the first working state after I
      	started breaking everything...
      
      	* app/gui/color-select.[ch]
      	* libgimp/gimpcolordisplay.h
      	* libgimp/gimpcolorselector.h: removed.
      
      	* app/gui/Makefile.am
      	* libgimp/Makefile.am: changed accordingly.
      
      	* libgimp/gimpmodule.h: massively simplified. All voodoo is gone.
      
      	* libgimpwidgets/gimpcolordisplay.[ch]
      	* libgimpwidgets/gimpcolorselector.[ch]: new abstract base classes
      	which need to be subclassed by modules.
      
      	* libgimpwidgets/gimpcolorselect.[ch]: the built-in color selector
      	from app/gui/color-select.* ported to be a GimpColorSelector
      	subclass.
      
      	* libgimpwidgets/Makefile.am
      	* libgimpwidgets/gimpwidgets.h
      	* libgimpwidgets/gimpwidgetsmarshal.list
      	* libgimpwidgets/gimpwidgetstypes.h: changed accordingly.
      
      	* app/core/gimpmoduleinfo.[ch]: made it a GTypeModule subclass
      
      	* app/core/gimpmodules.c: changed accordingly.
      
      	* app/core/gimpcontainer.c
      	* app/core/gimplist.c: HACKED around to allow GimpLists of
      	GObjects (not GimpObjects). This is EEKy, so I will either make
      	gimp->modules a simple GList and revert this bit of change, or
      	allow GObjects all over the place in GimpContainer land...
      
      	* app/display/gimpdisplayshell-filter.[ch]
      	* app/gui/color-notebook.c: removed all module stuff and use
      	g_type_children() to get the list of available color_selectors
      	and display_filters.
      
      	* app/display/gimpdisplayshell-filter-dialog.c
      	* app/display/gimpdisplayshell-render.c
      	* app/gui/module-browser.c: changed accordingly.
      
      	* app/gui/gui.c: ref the built-in color selector's class before
      	the modules are queried so it appears first in the list of
      	GimpColorSelector's children.
      
      	* modules/Makefile.am: build the water color selector again.
      
      	* modules/cdisplay_gamma.c
      	* modules/cdisplay_highcontrast.c
      	* modules/colorsel_triangle.c
      	* modules/colorsel_water.c: ported them all to the new API.
      
      	* modules/gimpmodregister.[ch]: removed the old EMX module hack.
      d7055a33