1. 18 Aug, 2004 1 commit
  2. 17 Aug, 2004 1 commit
  3. 15 Aug, 2004 2 commits
  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. 17 Nov, 2003 1 commit
  6. 19 Jul, 2003 1 commit
    • Sven Neumann's avatar
      save some space by showing the stock_id instead of the colorselector's · 30c946af
      Sven Neumann authored
      2003-07-19  Sven Neumann  <sven@gimp.org>
      
      	* libgimpwidgets/gimpcolornotebook.c: save some space by showing
      	the stock_id instead of the colorselector's name.
      
      	* libgimpwidgets/gimpcolorselect.c
      	* modules/colorsel_cmyk.c
      	* modules/colorsel_triangle.c
      	* modules/colorsel_water.c: removed now unused mnemonics.
      
      	* app/widgets/gimpcoloreditor.c: no need to strip mnemonics from
      	the name here any longer.
      30c946af
  7. 05 Jan, 2003 2 commits
    • Manish Singh's avatar
      cleanup, removed unecessary G_OBJECT() casts. Should do the same for · 1a44f212
      Manish Singh authored
      2003-01-05  Manish Singh  <yosh@gimp.org>
      
              * many files in app, modules and libgimp*: cleanup, removed unecessary
              G_OBJECT() casts. Should do the same for plug-ins, when more of them
              get undeprecated.
      1a44f212
    • Manish Singh's avatar
      app/undo_history.c app/core/gimpbrush.c app/core/gimpimage-new.c · 013e30db
      Manish Singh authored
      2003-01-05  Manish Singh  <yosh@gimp.org>
      
              * app/undo_history.c
              * app/core/gimpbrush.c
              * app/core/gimpimage-new.c
              * app/core/gimpobject.c
              * app/core/gimppalette-import.c
              * app/core/gimppattern.c
              * app/plug-in/plug-in.c
              * app/tools/gimpbezierselecttool.c
              * libgimpwidgets/gimpunitmenu.c
              * plug-ins/MapObject/mapobject_ui.c
              * plug-ins/common/convmatrix.c
              * plug-ins/common/curve_bend.c
              * plug-ins/common/sample_colorize.c
              * plug-ins/common/tiff.c
              * plug-ins/flame/flame.c
              * plug-ins/gflare/gflare.c
              * plug-ins/gimpressionist/general.c
              * plug-ins/gimpressionist/orientation.c
              * plug-ins/gimpressionist/preview.c
              * plug-ins/gimpressionist/size.c
              * plug-ins/imagemap/imap_grid.c
              * plug-ins/imagemap/imap_menu.c
              * plug-ins/maze/algorithms.c
              * plug-ins/script-fu/interp_regex.c
              * plug-ins/script-fu/interp_sliba.c
              * plug-ins/script-fu/script-fu-console.c
              * plug-ins/script-fu/script-fu-server.c
              * plug-ins/webbrowser/webbrowser.c: added GINT_TO_POINTER and friends,
              fixed format strings, for 64-bitness.
      
              * modules/colorsel_triangle.c
              * plug-ins/tools/tool-safe-mode-plug-in.c: #include missing header
              files
      013e30db
  8. 02 Jan, 2003 1 commit
    • Michael Natterer's avatar
      added GIMP_MODULE_ABI_VERSION define and a "guint32 abi_version" field to · 7eefdb54
      Michael Natterer authored
      2003-01-02  Michael Natterer  <mitch@gimp.org>
      
      	* libgimpmodule/gimpmodule.[ch]: added GIMP_MODULE_ABI_VERSION
      	define and a "guint32 abi_version" field to GimpModuleInfo.  When
      	querying a module, check if it was compiled against the same ABI
      	version as the code loading it. Fixes bug #5744.
      
      	* modules/cdisplay_colorblind.c
      	* modules/cdisplay_gamma.c
      	* modules/cdisplay_highcontrast.c
      	* modules/colorsel_triangle.c
      	* modules/colorsel_water.c: changed accordingly.
      7eefdb54
  9. 05 Nov, 2002 1 commit
    • Michael Natterer's avatar
      added virtual functions set_toggles_visible() and set_toggles_sensitive(). · 2743f9fa
      Michael Natterer authored
      2002-11-05  Michael Natterer  <mitch@gimp.org>
      
      	* libgimpwidgets/gimpcolorselector.[ch]: added virtual functions
      	set_toggles_visible() and set_toggles_sensitive(). Added a
      	stock_id. Emit "color_changed" and "channel_changed" on
      	set_color() and set_channel() resp.
      
      	* libgimpwidgets/gimpcolornotebook.[ch]: implement the new
      	methods.  Added gimp_color_notebook_set_has_page() to control
      	which selectors a notebook contains.
      
      	* libgimpwidgets/gimpcolorscales.[ch]: removed the toggle
      	API and implement the new methods.
      
      	* libgimpwidgets/gimpcolorselect.c: added toggle buttons for the
      	channels so the widget doesn't need external ones.
      
      	* app/gui/color-notebook.c: changed accordingly.
      
      	* libgimpwidgets/gimpstock.[ch]
      	* themes/Default/images/Makefile.am
      	* themes/Default/images/stock-color-triangle-16.png: added a
      	(bad) icon for the triangle color selector.
      
      	* modules/colorsel_triangle.c: use the new icon.
      	* modules/colorsel_water.c: use the "Paintbrush" icon for now.
      
      	* app/widgets/gimpcoloreditor.[ch]: new widget for editing the
      	FG/BG color featuring a color notebook, stock buttons for
      	selecting the pages and a GimpPickButton.
      
      	* app/widgets/Makefile.am
      	* app/widgets/widgets-types.h: changed accordingly.
      
      	* app/gui/dialogs-constructors.[ch]
      	* app/gui/dialogs.c: added a dockable wrapper for GimpColorEditor.
      
      	* app/gui/menus.c: added it to the menus. Also added separate
      	Layers, Channels and Paths entries. Bind <ctrl>L to the new
      	callback so it doesn't always create a new layers dialog.
      2743f9fa
  10. 30 Oct, 2002 2 commits
    • Sven Neumann's avatar
      use a mnemonic that doesn't collide with the rest of the dialog. · 1c0e9df2
      Sven Neumann authored
      2002-10-30  Sven Neumann  <sven@gimp.org>
      
      	* libgimpwidgets/gimpcolorselect.c: use a mnemonic that doesn't
      	collide with the rest of the dialog.
      
      	* modules/Makefile.am
      	* modules/colorsel_gtk.c: removed the GTK color selector module.
      
      	* modules/cdisplay_gamma.c
      	* modules/cdisplay_highcontrast.c
      	* modules/colorsel_triangle.c
      	* modules/colorsel_water.c: translate in the gimp14-libgimp domain.
      1c0e9df2
    • Michael Natterer's avatar
      create the notebook labels with mnemonics. · 0ea33ada
      Michael Natterer authored
      2002-10-30  Michael Natterer  <mitch@gimp.org>
      
      	* libgimpwidgets/gimpcolornotebook.c: create the notebook labels
      	with mnemonics.
      
      	* libgimpwidgets/gimpcolorselect.c
      	* modules/colorsel_triangle.c
      	* modules/colorsel_water.c: added mnemonics to the tab strings.
      
      	* libgimpwidgets/gimpcolorscale.c: looks finished now.
      
      	* libgimpwidgets/gimpcolorscales.c: tie the test color scale to
      	the right channel adjustment and update its color and channel
      	accordingly. Added mnemonics for the channels.
      0ea33ada
  11. 28 Oct, 2002 1 commit
    • Michael Natterer's avatar
      the color scales from the main color selection as GimpColorSelector · 89452261
      Michael Natterer authored
      2002-10-28  Michael Natterer  <mitch@gimp.org>
      
      	* libgimpwidgets/gimpcolorscales.[ch]: the color scales from
      	the main color selection as GimpColorSelector subclass.
      
      	* libgimpwidgets/Makefile.am
      	* libgimpwidgets/gimpwidgets.h
      	* libgimpwidgets/gimpwidgetsmarshal.list
      	* libgimpwidgets/gimpwidgetstypes.h: changed accordingly.
      
      	* libgimpwidgets/gimpcolornotebook.c: skip it when iterating the
      	GimpColorSelector subclasses.
      
      	* libgimpwidgets/gimpcolorselector.[ch]: added virtual function
      	set_has_alpha() amd signal "channel_changed". Put RGB, HSV and
      	channel values into to the GimpColorSelector struct where they are
      	available for subclasses.
      
      	* libgimpwidgets/gimpcolorselect.[ch]
      	* modules/colorsel_triangle.c
      	* modules/colorsel_water.c: changed accordingly, cleanup.
      
      	* app/gui/color-notebook.[ch]: use the new GimpColorScales widget,
      	lots of cleanup.
      
      2002-10-28  Michael Natterer  <mitch@gimp.org>
      
      	* libgimpwidgets/tmpl/gimpcolorscales.sgml: added GimpColorScales.
      
      	* libgimpwidgets/libgimpwidgets-docs.sgml
      	* libgimpwidgets/libgimpwidgets-sections.txt
      	* libgimpwidgets/libgimpwidgets.types
      	* libgimpwidgets/tmpl/gimpcolorselect.sgml
      	* libgimpwidgets/tmpl/gimpcolorselector.sgml; updated.
      89452261
  12. 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
  13. 21 Oct, 2002 1 commit
    • Michael Natterer's avatar
      Makefile.am libgimpmodule/.cvsignore libgimpmodule/Makefile.am · 0f77b422
      Michael Natterer authored
      2002-10-21  Michael Natterer  <mitch@gimp.org>
      
      	* Makefile.am
      	* libgimpmodule/.cvsignore
      	* libgimpmodule/Makefile.am
      	* libgimpmodule/gimpmodule.[ch]
      	* libgimpmodule/gimpmodule.def
      	* libgimpmodule/gimpmoduletypes.h
      	* libgimpmodule/makefile.msc: new library for module loading.
      
      	* configure.in: generate Makefiles for libgimpmodule and its
      	devel-docs. Added GMODULE_CFLAGS and GMODULE_LIBS.
      
      	* app/Makefile.am: link the app against it.
      
      	* libgimp/gimpmodule.h
      	* app/core/gimpmoduleinfo.[ch]: removed.
      
      	* libgimp/Makefile.am
      	* app/core/Makefile.am
      	* app/core/core-types.h
      	* app/core/gimpmodules.c
      	* app/gui/module-browser.c: changed accordingly.
      
      	* modules/cdisplay_gamma.c
      	* modules/cdisplay_highcontrast.c
      	* modules/colorsel_triangle.c
      	* modules/colorsel_water.c: #include "libgimpmodule/gimpmodule.h"
      
      2002-10-21  Michael Natterer  <mitch@gimp.org>
      
      	* Makefile.am
      	* libgimpmodule/.cvsignore
      	* libgimpmodule/Makefile.am
      	* libgimpmodule/libgimpmodule-docs.sgml
      	* libgimpmodule/libgimpmodule-sections.txt
      	* libgimpmodule/libgimpmodule.types
      	* libgimpmodule/tmpl/.cvsignore
      	* libgimpmodule/tmpl/gimpmodule.sgml
      	* libgimpmodule/tmpl/gimpmoduletypes.sgml: added API docs for the
      	new module loading lib.
      
      	* libgimp/tmpl/gimpmodule.sgml: removed.
      
      	* libgimp/libgimp-docs.sgml
      	* libgimp/libgimp-sections.txt: changed accordingly.
      
      	* libgimpwidgets/tmpl/gimpcolordisplay.sgml
      	* libgimpwidgets/tmpl/gimpcolorselect.sgml
      	* libgimpwidgets/tmpl/gimpcolorselector.sgml: updated.
      
      2002-10-21  Michael Natterer  <mitch@gimp.org>
      
      	* POTFILES.in: removed app/core/gimpmoduleinfo.c
      
      2002-10-21  Michael Natterer  <mitch@gimp.org>
      
      	* POTFILES.in: added libgimpmodule/gimpmodule.c
      0f77b422
  14. 20 Oct, 2002 2 commits
    • Michael Natterer's avatar
      app/core/gimpmoduleinfo.[ch] separated module query from type registration · 4cb04533
      Michael Natterer authored
      2002-10-20  Michael Natterer  <mitch@gimp.org>
      
      	* app/core/gimpmoduleinfo.[ch]
      	* libgimp/gimpmodule.h: separated module query from type
      	registration by adding a separate "gimp_module_query" function
      	which must be implemented by modules. Make local copies of the
      	strings returned by the query function.
      
      	* app/core/gimpmodules.c
      	* app/gui/module-browser.c: changed accordingly.
      
      	* modules/cdisplay_gamma.c
      	* modules/cdisplay_highcontrast.c
      	* modules/colorsel_triangle.c
      	* modules/colorsel_water.c: added the gimp_module_query() functions.
      4cb04533
    • 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
  15. 01 Sep, 2002 1 commit
    • Manish Singh's avatar
      use AM_CPPFLAGS instead of CPPFLAGS · 97427f3f
      Manish Singh authored
      2002-09-01  Manish Singh  <yosh@gimp.org>
      
              * modules/Makefile.am: use AM_CPPFLAGS instead of CPPFLAGS
      
              * modules/cdisplay_gamma.c
              * modules/cdisplay_highcontrast.c: changed deprecated calls
      
              * modules/colorsel_triangle.c: #undef GTK_DISABLE_DEPRECATED,
              still needs to be fixed for use of GtkPreview
      97427f3f
  16. 29 Oct, 2001 1 commit
    • Sven Neumann's avatar
      rewrote so gcc-3.0 doesn't complain. · de5af18f
      Sven Neumann authored
      2001-10-29  Sven Neumann  <sven@gimp.org>
      
      	* app/base/temp-buf.c (temp_buf_to_gray): rewrote so gcc-3.0 doesn't
      	complain.
      
      	* app/widgets/gimpfontselection-dialog.c: use g_ascii_strcasecmp().
      
      	* libgimp/gimpintl.h
      	* libgimp/stdplugins-intl.h
      	* plug-ins/script-fu/script-fu-intl.h: don't call gtk_set_locale()
      	since gtk_init() does it for us now. Don't set LC_NUMERIC to "C".
      	INIT_I18N_UI() is the same as INIT_I18N_UI() now.
      
      	* app/devices.c
      	* app/gimprc.c
      	* app/core/gimpbrushgenerated.c
      	* app/core/gimpgradient.c
      	* app/gui/color-notebook.c
      	* app/gui/gradients-commands.c
      	* plug-ins/gfig/gfig.c
      	* plug-ins/gflare/gflare.c
      	* plug-ins/gimpressionist/presets.c
      	* plug-ins/ifscompose/ifscompose_storage.c: use g_ascii_formatd() and
      	g_ascii_strtod() to serialize and deserialize floats. These functions
      	are locale-independent. There are probably more places that need to be
      	fixed in this fashion.
      
      	* plug-ins/script-fu/script-fu-console.c
      	* plug-ins/script-fu/script-fu-scripts.c
      	* plug-ins/script-fu/script-fu-server.c
      	* plug-ins/script-fu/script-fu.c: s/INIT_I18N_UI/INIT_I18N/
      
      	* tools/gimp-remote.c
      	* app/widgets/gimpwidgets-utils.c
      	* app/core/gimpimage-contiguous-region.c
      	* app/paint-funcs/paint-funcs-indexeda.c
      	* app/paint-funcs/paint-funcs.c
      	* app/tools/gimppathtool.c
      	* app/tools/path_tool.c
      	* modules/colorsel_triangle.c
      	* plug-ins/common/mpeg.c
      	* plug-ins/imagemap/imap_csim_parse.c: cleanups
      de5af18f
  17. 31 Jul, 2001 1 commit
  18. 30 May, 2001 1 commit
    • Michael Natterer's avatar
      app/base/Makefile.am app/core/Makefile.am app/gui/Makefile.am added · 11c2f6ca
      Michael Natterer authored
      2001-05-30  Michael Natterer  <mitch@gimp.org>
      
      	* app/base/Makefile.am
      	* app/core/Makefile.am
      	* app/gui/Makefile.am
      	* app/paint-funcs/Makefile.am: added makefile.msc to EXTRA_DIST.
      
      	* app/core/gimpimage.c: don't try to create previews with width or
      	height < 1.
      
      	* app/gui/color-notebook.c: Major (??) dialog repacking. Don't
      	show an action_area for the main color selection (it's now about
      	half the size of the 1.2 one).
      
      	* libgimp/gimpcolorselector.h: define some gui size constants
      	here.
      
      	* app/gui/color-select.c
      	* modules/colorsel_triangle.c
      	* modules/colorsel_water.c: use the constants and removed the
      	spacing around the main container.
      
      	* libgimpwidgets/gimpcolorarea.[ch]: rendering in the idle loop
      	fixes a race condition when accessing widget->window during widget
      	resizing.
      
      	* modules/Makefile.am: disabled the "GTK" color notebook page (we
      	will put the GtkHSV widget of gtk+ 2.0 here).
      
      2001-05-30  Michael Natterer  <mitch@gimp.org>
      
      	* libgimpmath/libgimpmath-docs.sgml: s/libgimpcolor/libgimpmath/.
      11c2f6ca
  19. 23 Jan, 2001 1 commit
    • Michael Natterer's avatar
      Makefile.am configure.in added stuff for the new library below. · cb166972
      Michael Natterer authored
      2001-01-24  Michael Natterer  <mitch@gimp.org>
      
      	* Makefile.am
      	* configure.in
      	* gimptool.in: added stuff for the new library below.
      
      	* libgimpmath/.cvsignore
      	* libgimpmath/Makefile.am
      	* libgimpmath/gimpmath.def
      	* libgimpmath/gimpmath.h
      	* libgimpmath/gimpmathtypes.h
      	* libgimpmath/gimpmatrix.c
      	* libgimpmath/gimpmatrix.h
      	* libgimpmath/gimpvector.c
      	* libgimpmath/gimpvector.h
      	* libgimpmath/makefile.mingw.in
      	* libgimpmath/makefile.msc: new shared library. Depends on glib only.
      
      	* libgimp/Makefile.am
      	* libgimp/gimp.def
      	* libgimp/gimp.h: removed the math stuff.
      
      	* libgimp/gimpmath.h
      	* libgimp/gimpmatrix.[ch]
      	* libgimp/gimpvector.[ch]: removed.
      
      	* app/Makefile.am
      	* plug-ins/Lighting/Makefile.am
      	* plug-ins/MapObject/Makefile.am
      	* plug-ins/pagecurl/Makefile.am: link against libgimpmath.la
      
      	* app/[many files]
      	* libgimpcolor/gimpcolorspace.c
      	* libgimpcolor/gimprgb.c
      	* libgimp/gimpadaptivesupersample.c
      	* libgimp/gimpbilinear.c
      	* libgimp/gimpwidgets.c
      	* modules/colorsel_gtk.c
      	* modules/colorsel_triangle.c
      	* modules/colorsel_water.c
      	* plug-ins/libgck/gck/gckcolor.c
      	* tools/pdbgen/pdb/channel.pdb
      	* tools/pdbgen/pdb/image.pdb: include "libgimpmath/gimpmath.h",
      	removed the remaining includes of the old color stuff.
      cb166972
  20. 21 Jan, 2001 1 commit
  21. 16 Jan, 2001 1 commit
    • Sven Neumann's avatar
      fixed RGB to HSV routine · e4a16ae6
      Sven Neumann authored
      2001-01-16  Sven Neumann  <sven@gimp.org>
      
      	* libgimp/gimpcolorspace.c: fixed RGB to HSV routine
      
      	* app/color_notebook.c: tweaked dialog layout a little, disabled
      	toggle_buttons if the colorselector does not implement the set_channel
      	method.
      
      	* modules/colorsel_gtk.c
      	* modules/colorsel_triangle.c
      	* modules/colorsel_water.c: removed empty set_channel methods
      e4a16ae6
  22. 15 Jan, 2001 2 commits
    • Michael Natterer's avatar
      app/color_notebook.c modules/colorsel_gtk.c tweaked dialog layout a bit. · ebaa274c
      Michael Natterer authored
      2001-01-15  Michael Natterer  <mitch@gimp.org>
      
      	* app/color_notebook.c
      	* modules/colorsel_gtk.c
      	* modules/colorsel_triangle.c: tweaked dialog layout a bit.
      
      	* modules/colorsel_water.c: removed all widgets except the color
      	selector itself (the history and the "Reset" button will go
      	to the ColorNotebook).
      ebaa274c
    • Michael Natterer's avatar
      app/color_notebook.[ch] app/color_select.c libgimp/gimpcolorselector.h · 368d0efe
      Michael Natterer authored
      2001-01-15  Michael Natterer  <mitch@gimp.org>
      
      	* app/color_notebook.[ch]
      	* app/color_select.c
      	* libgimp/gimpcolorselector.h
      	* modules/colorsel_gtk.c
      	* modules/colorsel_triangle.c
      	* modules/colorsel_water.c: use GimpRGB and GimpHSV.
      
      	* libgimp/gimpcolor.c
      	* libgimp/gimpcolorspace.[ch]: All rgb_to_hsv functions:
      
      	if r == g == b the difference between the max and min value
      	is 0 and we should avoid to divide by it ;-)
      368d0efe
  23. 09 Jan, 2001 1 commit
    • Michael Natterer's avatar
      app/color_notebook.[ch] moved the scales and the toggle butttons out of · 37fe1a88
      Michael Natterer authored
      2001-01-09  Michael Natterer  <mitch@gimp.org>
      
      	* app/color_notebook.[ch]
      	* app/color_select.c: moved the scales and the toggle butttons out
      	of the notebook. Added an "Aplha" scale (the opacity is not yet
      	shown in the color area). Removed the ColorNotebook structure from
      	the header.
      
      	* app/color_area.c: the ColorNotebook struct is no longer public.
      
      	* libgimp/gimpcolorselector.h
      	* modules/colorsel_gtk.c
      	* modules/colorsel_triangle.c
      	* modules/colorsel_water.c: changed the ColorSelector module
      	interface again: Pass H, S, V, R, G, B and A in all functions
      	and callbacks. Added a "set_channel" method because the channel
      	toggles are outside the notebook now. This needs more work...
      37fe1a88
  24. 08 Jan, 2001 1 commit
    • Michael Natterer's avatar
      app/color_notebook.[ch] moved the "old" and "new" color areas from the · fbd8ec67
      Michael Natterer authored
      2001-01-08  Michael Natterer  <mitch@gimp.org>
      
      	* app/color_notebook.[ch]
      	* app/color_select.c: moved the "old" and "new" color areas from the
      	notebook to the action_area.
      
      	* TODO.xml: updated.
      
      	* app/color_area.c
      	* app/color_panel.c
      	* app/colormap_dialog.c
      	* app/palette.c
      	* libgimp/gimpcolorselector.h
      	* modules/colorsel_gtk.c
      	* modules/colorsel_triangle.c
      	* modules/colorsel_water.c: removed the "set_current" parameter all
      	over the place because it was always TRUE and not used in the modules
      	at all.
      fbd8ec67
  25. 07 Jan, 2001 1 commit
    • Michael Natterer's avatar
      app/by_color_select.c app/channels_dialog.c app/color_area.c · ab014f8b
      Michael Natterer authored
      2001-01-07  Michael Natterer  <mitch@gimp.org>
      
      	* app/by_color_select.c
      	* app/channels_dialog.c
      	* app/color_area.c
      	* app/color_notebook.[ch]
      	* app/color_panel.[ch]
      	* app/color_picker.c
      	* app/color_select.c
      	* app/colormap_dialog.i.c
      	* app/devices.c
      	* app/disp_callbacks.[ch]
      	* app/gimpdnd.[ch]
      	* app/palette.c
      	* app/qmask.c
      
      	* libgimp/gimpcolorselector.h
      
      	* modules/colorsel_gtk.c
      	* modules/colorsel_triangle.c
      	* modules/colorsel_water.c: made the color_notebook, the color_area
      	and DND speak in terms of RGBA instead of GRB. The alpha value is
      	not used yet, only the API changed. Everything should work exactly
      	as before.
      ab014f8b
  26. 01 Jan, 2001 1 commit
    • Michael Natterer's avatar
      plug-ins/libgck/gck/gck.h removed the GckRGB color type and all it's · 4245ab65
      Michael Natterer authored
      2001-01-01  Michael Natterer  <mitch@gimp.org>
      
      	* plug-ins/libgck/gck/gck.h
      	* plug-ins/libgck/gck/gckcolor.c: removed the GckRGB color type
      	and all it's functions.
      
      	* libgimp/Makefile.am
      	* libgimp/gimpcolor.[ch]: new files containing the new GimpRGB color
      	type and assorted functions.
      
      	* libgimp/gimpcolorspace.[ch]: colorspace conversion routines for
      	the new GimpRGB type. Also taken from LibGCK.
      
      	* libgimp/gimp.h
      	* libgimp/gimptypes.h: #include "gimpcolor.h". It's ugly to include
      	it in both files but unavoidable to follow our new "*.c" file include
      	policy. This will go away as libgimp will be chopped up into pieces
      	anyway.
      
      	* app/apptypes.h
      	* app/asupsample.[ch]
      	* app/blend.c
      	* app/color_transfer.h
      	* app/gradient_header.h: removed "color_t" and use GimpRGB instead.
      
      	* plug-ins/Lighting/lighting_apply.c
      	* plug-ins/Lighting/lighting_image.c
      	* plug-ins/Lighting/lighting_image.h
      	* plug-ins/Lighting/lighting_main.c
      	* plug-ins/Lighting/lighting_main.h
      	* plug-ins/Lighting/lighting_preview.c
      	* plug-ins/Lighting/lighting_shade.c
      	* plug-ins/Lighting/lighting_shade.h
      	* plug-ins/MapObject/mapobject_apply.c
      	* plug-ins/MapObject/mapobject_image.c
      	* plug-ins/MapObject/mapobject_image.h
      	* plug-ins/MapObject/mapobject_main.c
      	* plug-ins/MapObject/mapobject_main.h
      	* plug-ins/MapObject/mapobject_preview.c
      	* plug-ins/MapObject/mapobject_shade.c
      	* plug-ins/MapObject/mapobject_shade.h
      	* modules/colorsel_triangle.c: s/GckRGB/GimpRGB/g
      
      	* plug-ins/gdyntext/gdyntextcompat.h: check also for GIMP's minor
      	version when deciding if to add a missing PDB wrapper.
      	(All this compat cruft including libgimp/gimpcompat.h should go
      	away ASAP)
      4245ab65
  27. 31 Dec, 2000 1 commit
    • Michael Natterer's avatar
      More preparation for LibGCK removal: · 40916e09
      Michael Natterer authored
      2000-12-31  Michael Natterer  <mitch@gimp.org>
      
      	More preparation for LibGCK removal:
      
      	* libgimp/gimpcolorspace.[ch]: added a "_int" suffix to all functions
      	operating on 3 gint pointers, just like the gdouble functions have
      	a "_double" suffix.
      
      	* app/color_balance.c
      	* app/hue_saturation.c
      	* app/paint_funcs.c
      	* modules/colorsel_triangle.c
      	* plug-ins/common/CML_explorer.c
      	* plug-ins/common/scatter_hsv.c
      	* plug-ins/common/sparkle.c
      	* plug-ins/common/vinvert.c
      	* plug-ins/gflare/gflare.c: changed accordingly.
      40916e09
  28. 29 Dec, 2000 2 commits
  29. 28 Dec, 2000 1 commit
  30. 27 May, 2000 1 commit
    • Michael Natterer's avatar
      Libgimp cleanup part II (with a little help from Yosh who moved the CVS · 6fa33d68
      Michael Natterer authored
      2000-05-27  Michael Natterer  <mitch@gimp.org>
      
      	Libgimp cleanup part II (with a little help from Yosh
      	who moved the CVS files).
      
      	* libgimp/Makefile.am
      	* libgimp/gimpchannel_pdb.c
      	* libgimp/gimpdisplay_pdb.c
      	* libgimp/gimpdrawable_pdb.c
      	* libgimp/gimpgradient_pdb.c
      	* libgimp/gimphelp_pdb.c
      	* libgimp/gimpimage_pdb.c
      	* libgimp/gimplayer_pdb.c
      	* libgimp/gimppalette_pdb.c
      	* libgimp/gimpparasite_pdb.c
      	* libgimp/gimpselection_pdb.c
      	* libgimp/gimpunit_pdb.c: new names of all files which contain
      	PDB wrappers.
      
      	* modules/Makefile.am
      	* libgimp/gimpcolordisplay.h
      	* libgimp/gimpcolorselector.h
      	* modules/gimpmodregister.[ch]: renamed.
      
      	* libgimp/gimpparasiteF.h
      	* libgimp/gimpparasiteP.h: removed because gimp.h had to include
      	the private header anyway.
      
      	* app/color_notebook.c
      	* app/color_select.c
      	* app/gdisplay_color.[ch]
      	* app/gdisplay_color_ui.c
      	* app/gimpbrushpipe.c
      	* app/gimpdrawable.[ch]
      	* app/gimpimage.c
      	* app/gimpimage.h
      	* app/gimpparasite.[ch]
      	* app/gimprc.c
      	* app/image_new.c
      	* app/layer.c
      	* app/parasite_cmds.c
      	* app/parasitelist.[ch]
      	* app/plug_in.c
      	* app/procedural_db.c
      	* app/undo.c
      	* app/xcf.c
      	* libgimp/gimp.[ch]
      	* libgimp/gimpcolordisplay.h
      	* libgimp/gimpparasite.[ch]
      	* modules/cdisplay_gamma.c
      	* modules/cdisplay_highcontrast.c
      	* modules/colorsel_gtk.c
      	* modules/colorsel_triangle.c
      	* modules/colorsel_water.c
      	* plug-ins/FractalExplorer/Dialogs.c
      	* plug-ins/FractalExplorer/Events.c
      	* plug-ins/Lighting/lighting_apply.c
      	* plug-ins/Lighting/lighting_shade.c
      	* plug-ins/MapObject/mapobject_image.c
      	* plug-ins/common/gpb.c
      	* plug-ins/common/psp.c
      	* plug-ins/sel2path/sel2path.c
      	* po-libgimp/POTFILES.in
      	* tools/pdbgen/pdb.pl
      	* tools/pdbgen/pdb/parasite.pdb: changed includes accordingly.
      6fa33d68
  31. 30 Jan, 2000 1 commit
  32. 25 Jan, 2000 1 commit
    • Michael Natterer's avatar
      configure.in po-plug-ins/POTFILES.in plug-ins/common/Makefile.am · fa30ba04
      Michael Natterer authored
      2000-01-25  Michael Natterer  <mitch@gimp.org>
      
      	* configure.in
      	* po-plug-ins/POTFILES.in
      	* plug-ins/common/Makefile.am
      	* plug-ins/common/plugin-defs.pl
      	* plug-ins/megawidget/*: removed. (There were only 3 functions
      	left which were used by ~5 plugins, so I moved the resp. functions
      	to the plugins). More preview stuff to come...
      
      	* app/airbrush_blob.c
      	* modules/colorsel_triangle.c
      	* modules/colorsel_water.c: use G_PI instead of M_PI.
      
      	* app/procedural_db.h
      	* libgimp/gimpenums.h
      	* plug-ins/script-fu/script-fu-constants.c
      	* tools/pdbgen/enums.pl: new PDB return value STATUS_CANCEL which
      	indicates that "Cancel" was pressed in a plugin dialog. (Useful
      	only for file load/save plugins).
      
      	* app/fileops.[ch]
      	* app/menus.c: changes to handle STATUS_CANCEL correctly. Did some
      	code cleanup in fileops.[ch]. Pop up a warning if File->Save
      	failed.
      
      	* app/plug_in.c: return_val[0] is of type PDB_STATUS, not
      	PDB_INT32.
      
      	* libgimp/gimpmath.h: new constant G_MAXRAND which equals to
      	RAND_MAX if it exists or to G_MAXINT otherwise.
      
      	* libgimp/gimpwidgets.[ch]: new function gimp_random_seed_new()
      	which creates a spinbutton and a "Time" toggle.
      	Call the function which does the "set_sensitive" magic from the
      	radio button callback.
      
      	* plug-ins/[75 plugins]:
      
      	- Return STATUS_CANCEL in all file load/save dialogs if "Cancel"
      	  was pressed.
      	- Standardized the file plugins' "run" functions.
      	- Use G_PI and G_MAXRAND everywhere.
      	- Added tons of scales and spinbuttons instead of text entries.
      	- Applied uniform packing/spacings all over the place.
      	- Reorganized some UIs (stuff like moving the preview to the top
      	  left corner of the dialog).
      	- Removed many ui helper functions and callbacks and use the stuff
      	  from libgimp instead.
      	- I tried not to restrict the range of possible values when I
      	  replaced entries with spinbuttons/scales but may have failed,
      	  though in some cases. Please test ;-)
      	- #include <libgimp/gimpmath.h> where appropriate and use it's
      	  constants.
      	- Indentation, s/int/gint/ et.al., code cleanup.
      
      	RFC: The plugins are definitely not useable with GIMP 1.0 any
      	     more, so shouldn't we remove all the remaining compatibility
      	     stuff ??? (like "#ifdef GIMP_HAVE_PARASITES")
      fa30ba04
  33. 14 Jan, 2000 1 commit
  34. 17 Nov, 1999 1 commit