1. 23 May, 2003 1 commit
    • Michael Natterer's avatar
      Always provide interlibrary dependencies, not just on Win32. · a2f7750d
      Michael Natterer authored
      2003-05-23  Michael Natterer  <mitch@gimp.org>
      
      	* modules/Makefile.am: Always provide interlibrary
      	dependencies, not just on Win32.
      
      	* Makefile.am
      	* app/Makefile.am
      	* app/config/Makefile.am
      	* data/misc/Makefile.am
      	* docs/Makefile.am
      	* libgimp/Makefile.am
      	* libgimpbase/Makefile.am
      	* libgimpcolor/Makefile.am
      	* libgimpmath/Makefile.am
      	* libgimpmodule/Makefile.am
      	* libgimpwidgets/Makefile.am
      	* tools/Makefile.am: replaced many hardcoded "1.3" strings by
      	$(LT_RELEASE). Hopefully didn't break the Win32 build...
      a2f7750d
  2. 06 Feb, 2003 1 commit
    • Sven Neumann's avatar
      libgimp/gimpui.c libgimp/gimpunit.c libgimpbase/gimpenv.c · d26c1ce5
      Sven Neumann authored
      2003-02-06  Sven Neumann  <sven@gimp.org>
      
      	* libgimp/gimpui.c
      	* libgimp/gimpunit.c
      	* libgimpbase/gimpenv.c
      	* libgimpmodule/gimpmodule.c
      	* libgimpmodule/gimpmoduledb.c
      	* libgimpwidgets/gimpchainbutton.c
      	* libgimpwidgets/gimpdialog.c
      	* libgimpwidgets/gimpfileselection.c
      	* libgimpwidgets/gimphelpui.c
      	* libgimpwidgets/gimpquerybox.c
      	* libgimpwidgets/gimpsizeentry.c
      	* libgimpwidgets/gimpunitmenu.c
      	* libgimpwidgets/gimpwidgets.c: documentation fixes / improvements.
      d26c1ce5
  3. 01 Feb, 2003 1 commit
    • Michael Natterer's avatar
      fixed a comment. · 16040dda
      Michael Natterer authored
      2003-02-01  Michael Natterer  <mitch@gimp.org>
      
      	* libgimpmodule/gimpmodule.c: fixed a comment.
      16040dda
  4. 05 Jan, 2003 1 commit
  5. 02 Jan, 2003 2 commits
    • Michael Natterer's avatar
      libgimpmodule/gimpmodule.[ch] added API docs, removed cruft. Fixes bug · b0e77dbf
      Michael Natterer authored
      2003-01-02  Michael Natterer  <mitch@gimp.org>
      
      	* libgimpmodule/gimpmodule.[ch]
      	* libgimpmodule/gimpmoduledb.[ch]: added API docs, removed cruft.
      	Fixes bug #5746.
      b0e77dbf
    • 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
  6. 23 Dec, 2002 1 commit
  7. 19 Dec, 2002 1 commit
  8. 01 Dec, 2002 1 commit
    • Hans Breuer's avatar
      updated · 7c7ff46c
      Hans Breuer authored
      2002-11-30  Hans Breuer  <hans@breuer.org>
      
      	* */makefile.msc */*/makefile.msc : updated
      
      	* themes/Default/images/makefile.msc : new file
      	* themes/Default/makefile.msc : removed
      
      	* libgimpwidgets/gimpwidgets.def : updated
      
      	* app/core/core-types.h : renamed PIXELS and POINTS
      	to SIZE_* to avoid clashes with system headers
      	* app/pdb/text_tool_cmds.c : updated ...
      	* tools/pdbgen/enums.py : ... by renaming here too.
      
      	* app/widgets/gimphistogrambox.c : <string.h> for memcpy()
      	* app/widgets/gimppropwidgets.c : <string.h> for strlen()
      
      	* app/config/gimpconfig.c : on win32 rename always fails
      	if the destination file exists. Delete it first.
      
      	* libgimp/gimp.def : removed all '_'-prefixed exports
      	* plug-ins/common/iwarp.c : replace _gimp_layer_copy()
      	with gimp_layer_copy(), gimp_layer_add_alpha()
      
      	* libgimp/gimpmisc.c : ported gimp_timer funcs to use
      	g_timer to be more portable
      
      	* libgimpbase/gimpdatafiles.c : there are no symlinks on
      	win32, inverted to #ifndef G_OS_WIN32 as it was meant.
      
      	* libgimpbase/gimpbase.def libgimpmodule/gimpmodule.def
      	  libgimpwidgets/gimpwidgets.def : updated externals
      
      	* plug-ins/common/randomize.c plug-ins/common/sinus.c :
      	don't initialize more than the defined struct size
      
      	* plug-ins/common/warp.c : removed unneeded unistd.h and
      	signal.h include
      
      	* regexrepl/regexrepl.def : (new file) needed to build
      	as DLL
      7c7ff46c
  9. 06 Nov, 2002 1 commit
    • Sven Neumann's avatar
      don't say we'd use MMX if it is disabled. · 2ef9706b
      Sven Neumann authored
      2002-11-06  Sven Neumann  <sven@gimp.org>
      
      	* app/base/base.c (base_init): don't say we'd use MMX if it is
      	disabled.
      
      	* libgimpmodule/gimpmodule.[ch]
      	* app/gui/module-browser.c: changed enum values and user-visible
      	strings to saner values.
      
      	* libgimpmodule/gimpmoduledb.c
      	* plug-ins/tools/tool-safe-mode.c: made them less verbose.
      2ef9706b
  10. 04 Nov, 2002 1 commit
    • Michael Natterer's avatar
      on error, always close the module using gimp_module_close(), not · 3e3b5ef3
      Michael Natterer authored
      2002-11-05  Michael Natterer  <mitch@gimp.org>
      
      	* libgimpmodule/gimpmodule.c: on error, always close the module
      	using gimp_module_close(), not g_module_close() so all stuff gets
      	reset. Set module->state *after* calling gimp_module_close().
      	Added more error checking & messages.
      3e3b5ef3
  11. 29 Oct, 2002 1 commit
    • Sven Neumann's avatar
      libgimpmodule/gimpmodule.c libgimpwidgets/gimpcolorscales.c include · e4cd5ecd
      Sven Neumann authored
      2002-10-29  Sven Neumann  <sven@gimp.org>
      
      	* libgimpmodule/gimpmodule.c
      	* libgimpwidgets/gimpcolorscales.c
      	* libgimpwidgets/gimpcolorselect.c: include libgimp-intl.h, not
      	gimpintl.h since this is in the gimp14-libgimp translation domain.
      
      	* libgimpmodule/gimpmoduledb.c
      	* libgimptool/gimptool.c: no need to include intl.h from here, there
      	are no translatable message.
      e4cd5ecd
  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 2 commits
    • Sven Neumann's avatar
      fixed some i18n glitches. · ca6d7dc4
      Sven Neumann authored
      2002-10-21  Sven Neumann  <sven@gimp.org>
      
      	* libgimpmodule/gimpmodule.c: fixed some i18n glitches.
      ca6d7dc4
    • 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. 03 May, 2002 1 commit
    • Michael Natterer's avatar
      devel-docs/Makefile.am new file documenting the core's include policy. · a74a8997
      Michael Natterer authored
      2002-05-03  Michael Natterer  <mitch@gimp.org>
      
      	* devel-docs/Makefile.am
      	* devel-docs/includes.txt: new file documenting the core's
      	include policy.
      
      	* HACKING: mention it here.
      
      	* libgimptool/gimptooltypes.h: removed GimpToolOptions here.
      
      	* app/core/core-types.h: and added it here. This is a temp hack
      	needed because GimpToolInfo needs to know the GimpToolOptions
      	type.
      
      	* libgimpproxy/gimpproxytypes.h: regenerated.
      
      	* libgimptool/gimptoolmodule.h: don't include gimptooltypes.h here...
      	* libgimptool/gimptoolmodule.c: ...but here.
      
      	* app/config/gimpconfig-params.c: include "libgimpbase/gimpbase.h"
      	entirely, not single files from it.
      
      	* app/core/gimp.c
      	* app/core/gimpcontext.c
      	* app/core/gimpcoreconfig.c
      	* app/core/gimpdatafactory.c
      	* app/core/gimpdocuments.c
      	* app/core/gimpdrawable-blend.c
      	* app/core/gimpdrawable-bucket-fill.c
      	* app/core/gimpdrawable-offset.c
      	* app/core/gimpdrawable-transform.c
      	* app/core/gimpdrawable.c
      	* app/core/gimpedit.c
      	* app/core/gimpimage-convert.c
      	* app/core/gimpimage-crop.c
      	* app/core/gimpimage-duplicate.c
      	* app/core/gimpimage-guides.c
      	* app/core/gimpimage-mask.c
      	* app/core/gimpimage-merge.c
      	* app/core/gimpimage-new.c
      	* app/core/gimpimage-projection.c
      	* app/core/gimpimage-qmask.c
      	* app/core/gimpimage-resize.c
      	* app/core/gimpimage-scale.c
      	* app/core/gimpimage.c
      	* app/core/gimpitem.c
      	* app/core/gimpmodules.c
      	* app/core/gimppaintinfo.c
      	* app/core/gimpparasite.c
      	* app/core/gimppreviewcache.c
      	* app/core/gimptoolinfo.c
      	* app/core/gimpunit.c: include "core-types.h" and no other types file.
      
      	* app/display/gimpdisplay.c
      	* app/display/gimpdisplayshell-callbacks.c
      	* app/display/gimpdisplayshell.c: include "tools/tools-types.h"
      	instead of "libgimptool/gimptooltypes.h", warn about inclusion
      	on "gui/gui-types.h"
      
      	* app/file/file-open.c
      	* app/file/file-save.c: don't include "libgimptool/gimptooltypes.h".
      
      	* app/gui/about-dialog.c
      	* app/gui/brush-select.c
      	* app/gui/brushes-commands.c
      	* app/gui/color-select.c
      	* app/gui/data-commands.c
      	* app/gui/device-status-dialog.c
      	* app/gui/dialogs.c
      	* app/gui/gradients-commands.c
      	* app/gui/help-commands.c
      	* app/gui/info-window.c
      	* app/gui/palettes-commands.c
      	* app/gui/patterns-commands.c
      	* app/gui/resize-dialog.c
      	* app/gui/tips-dialog.c
      	* app/gui/tool-options-dialog.c: include "gui-types.h" and no
      	other types file.
      
      	* app/paint/gimpairbrush.c
      	* app/paint/gimpclone.c
      	* app/paint/gimpconvolve.c
      	* app/paint/gimpdodgeburn.c
      	* app/paint/gimperaser.c
      	* app/paint/gimppaintbrush.c
      	* app/paint/gimppaintcore-stroke.c
      	* app/paint/gimppaintcore.c
      	* app/paint/gimppaintoptions.c
      	* app/paint/gimppencil.c
      	* app/paint/gimpsmudge.c
      	* app/paint/paint.c: include "paint-types.h" and no other types file.
      
      	* app/pdb/pdb-types.h: don't include "libgimptool/gimptooltypes.h".
      
      	* app/plug-in/plug-in-progress.c: warn about inclusion of
      	"display/display-types.h"
      
      	* app/tools/tools-types.h: include "libgimptool/gimptooltypes.h".
      
      	* app/tools/gimpairbrushtool.c
      	* app/tools/gimpbezierselecttool.c
      	* app/tools/gimpblendtool.c
      	* app/tools/gimpbrightnesscontrasttool.c
      	* app/tools/gimpbucketfilltool.c
      	* app/tools/gimpbycolorselecttool.c
      	* app/tools/gimpclonetool.c
      	* app/tools/gimpcolorbalancetool.c
      	* app/tools/gimpcolorpickertool.c
      	* app/tools/gimpconvolvetool.c
      	* app/tools/gimpcroptool.c
      	* app/tools/gimpcurvestool.c
      	* app/tools/gimpdodgeburntool.c
      	* app/tools/gimpdrawtool.c
      	* app/tools/gimpeditselectiontool.c
      	* app/tools/gimpellipseselecttool.c
      	* app/tools/gimperasertool.c
      	* app/tools/gimpfliptool.c
      	* app/tools/gimpfreeselecttool.c
      	* app/tools/gimpfuzzyselecttool.c
      	* app/tools/gimphistogramtool.c
      	* app/tools/gimphuesaturationtool.c
      	* app/tools/gimpinktool.c
      	* app/tools/gimplevelstool.c
      	* app/tools/gimpmagnifytool.c
      	* app/tools/gimpmeasuretool.c
      	* app/tools/gimpmovetool.c
      	* app/tools/gimppaintbrushtool.c
      	* app/tools/gimppainttool.c
      	* app/tools/gimppathtool.c
      	* app/tools/gimppenciltool.c
      	* app/tools/gimpperspectivetool.c
      	* app/tools/gimpposterizetool.c
      	* app/tools/gimprectselecttool.c
      	* app/tools/gimprotatetool.c
      	* app/tools/gimpscaletool.c
      	* app/tools/gimpselectiontool.c
      	* app/tools/gimpsheartool.c
      	* app/tools/gimpsmudgetool.c
      	* app/tools/gimptexttool.c
      	* app/tools/gimpthresholdtool.c
      	* app/tools/gimptoolcontrol.c
      	* app/tools/gimptoolcontrol.h
      	* app/tools/gimptransformtool.c
      	* app/tools/gimpvectortool.c
      	* app/tools/tools.c: include "tools-types.h" and no other types file,
      	warn about inclusion of "gui/gui-types.h".
      
      	* app/widgets/gimpcolorpanel.c
      	* app/widgets/gimptoolbox-color-area.c: warn about inclusion of
      	"gui/gui-types.h".
      
      	* app/xcf/xcf-load.c
      	* app/xcf/xcf.c: don't include "libgimptool/gimptooltypes.h".
      
      	Split tool-safe-mode up in two files, one including libgimpproxy,
      	one libgimp.
      
      	* plug-ins/tools/Makefile.am
      	* plug-ins/tools/tool-safe-mode-plug-in.[ch]: new files including
      	libgimp/ stuff only.
      
      	* plug-ins/tools/tool-safe-mode.[ch]: include libgimpproxy/ and
      	libgimptool/ but don't include libgimp/ because of conflicting
      	declarations.
      
      	Unrelated:
      
      	* app/tools/gimpclonetool.c: create the clone core so we don't crash.
      
      	* app/gui/file-open-dialog.c: changed the way we create previews
      	so that only out-of-date previews are created on a click in the
      	preview area. Unconditional creation can still be forced by
      	<Ctrl>+click. Changed the tooltip to document this.
      a74a8997
  16. 29 Mar, 2002 1 commit
  17. 18 Feb, 2002 1 commit
    • Sven Neumann's avatar
      app/app_procs.c app/base/temp-buf.c app/core/gimpmodules.c · fe2c9e8b
      Sven Neumann authored
      2002-02-18  Sven Neumann  <sven@gimp.org>
      
      	* app/app_procs.c
      	* app/base/temp-buf.c
      	* app/core/gimpmodules.c
      	* app/plug-in/plug-in.c
      	* libgimpbase/gimpenv.c
      	* libgimpwidgets/gimpfileselection.c
      	* plug-ins/FractalExplorer/Dialogs.c
      	* plug-ins/FractalExplorer/FractalExplorer.c
      	* plug-ins/flame/flame.c
      	* plug-ins/gfig/gfig.c
      	* plug-ins/gflare/gflare.c
      	* plug-ins/gimpressionist/gimpressionist.[ch]: use g_file_test()
      	instead of stat() whereever possible. Improves code readability.
      fe2c9e8b
  18. 31 Jan, 2002 1 commit
    • Michael Natterer's avatar
      app/core/gimp.c app/core/gimpdocuments.c app/core/gimpmodules.c fixed some · c1f00274
      Michael Natterer authored
      2002-01-31  Michael Natterer  <mitch@gimp.org>
      
      	* app/core/gimp.c
      	* app/core/gimpdocuments.c
      	* app/core/gimpmodules.c
      	* app/core/gimppalette.c: fixed some get_memsize()
      	implementations, give useful names to some global objects so the
      	new mem profile of "the_gimp" looks nicer.
      
      	* app/gui/menus.c
      	* app/gui/commands.[ch]: added a "Debug" menu to the toolbox,
      	offer a mem profile of the global "Gimp" instance.
      c1f00274
  19. 30 Jan, 2002 1 commit
    • Michael Natterer's avatar
      pass a GdkGC to gdk_draw_rgb_image(), fixed dither offsets. · be87dfb5
      Michael Natterer authored
      2002-01-30  Michael Natterer  <mitch@gimp.org>
      
      	* libgimpwidgets/gimpcolorarea.c: pass a GdkGC to
      	gdk_draw_rgb_image(), fixed dither offsets.
      
      	* app/core/gimpobject.[ch]: new virtual function
      	gimp_object_get_memsize().
      
      	* app/base/temp-buf.[ch]
      	* app/base/tile-manager.[ch]: added *_get_memsize() methods.
      
      	* app/core/gimp.c
      	* app/core/gimpbrush.c
      	* app/core/gimpbrushpipe.c
      	* app/core/gimpbuffer.c
      	* app/core/gimpchannel.c
      	* app/core/gimpcontainer.c
      	* app/core/gimpcontext.c
      	* app/core/gimpdata.c
      	* app/core/gimpdatafactory.c
      	* app/core/gimpdrawable.c
      	* app/core/gimpgradient.c
      	* app/core/gimpimage.c
      	* app/core/gimplayer.c
      	* app/core/gimplist.c
      	* app/core/gimpmoduleinfo.c
      	* app/core/gimppalette.c
      	* app/core/gimpparasitelist.c
      	* app/core/gimppattern.c
      	* app/core/gimppreviewcache.[ch]
      	* app/core/gimpundo.[ch]
      	* app/core/gimpundostack.c
      	* app/core/gimpviewable.c: added get_memsize() implementations.
      
      	* app/widgets/gimppreview.c
      	* app/core/gimpobject.[ch]: some #ifdef DEBUG_MEMSIZE code to
      	test the new memsize stuff (middle click any preview to get
      	it's viewable's memory footprint).
      be87dfb5
  20. 03 Dec, 2001 1 commit
    • Sven Neumann's avatar
      Michael Natterer <mitch@gimp.org> · 4ba6db4e
      Sven Neumann authored
      2001-12-03  Sven Neumann  <sven@gimp.org>
      	    Michael Natterer <mitch@gimp.org>
      
      	* app/paint-funcs/paint-funcs-mmx.h: removed redefiniton of HAS_ALPHA
      	macro.
      
      	* app/core/gimp.c: reverted Daniel's change; it doesn't make the code
      	simpler, only more error-prone.
      
      	* app/gui/info-dialog.h
      	* app/gui/resize-dialog.h
      	* app/core/gimp.h
      	* app/core/gimpbrushgenerated.h
      	* app/core/gimpbrushpipe.h
      	* app/core/gimpchannel.[ch]
      	* app/core/gimpcontainer.h
      	* app/core/gimpcoreconfig.h
      	* app/core/gimpdata.h
      	* app/core/gimpdatafactory.[ch]
      	* app/core/gimpdrawable-blend.c
      	* app/core/gimpdrawable.[ch]
      	* app/core/gimpimage.h
      	* app/core/gimpimagefile.h
      	* app/core/gimplayer.h
      	* app/core/gimplayermask.h
      	* app/core/gimpmoduleinfo.h
      	* app/core/gimppalette.h
      	* app/core/gimpundo.h
      	* app/widgets/gimpbrushfactoryview.h
      	* app/widgets/gimpconstrainedhwrapbox.h
      	* app/widgets/gimpcontainermenu.h
      	* app/widgets/gimpcontainerview.h
      	* app/widgets/gimpdialogfactory.h
      	* app/widgets/gimpimagedock.h
      	* app/widgets/gimplistitem.h
      	* app/widgets/gimpmenuitem.h
      	* app/widgets/gimpnavigationpreview.h
      	* app/widgets/gimppreview.h
      	* app/gimprc.h
      	* app/pathP.h
      	* app/tools/gimpbezierselecttool.h
      	* app/tools/gimpcolorbalancetool.h
      	* app/tools/gimpcurvestool.h
      	* app/tools/gimpdodgeburntool.c
      	* app/tools/gimpfreeselecttool.h
      	* app/tools/gimphuesaturationtool.h
      	* app/tools/gimpinktool-blob.h
      	* app/tools/gimpinktool.h
      	* app/tools/gimpiscissorstool.h
      	* app/tools/gimpmagnifytool.h
      	* app/tools/gimpmeasuretool.h
      	* app/tools/gimppainttool.h
      	* app/tools/gimppathtool.h
      	* app/tools/gimprectselecttool.h
      	* app/tools/gimpthresholdtool.h
      	* app/tools/gimptool.h
      	* app/tools/gimptransformtool.h
      	* app/base/base-config.h
      	* app/base/gimplut.[ch]
      	* app/base/pixel-region.h
      	* app/base/pixel-surround.[ch]
      	* app/base/temp-buf.[ch]
      	* app/base/tile-manager-private.h
      	* app/base/tile-manager.[ch]
      	* app/base/tile-private.h
      	* app/base/tile.[ch]
      	* app/display/gimpdisplay.h
      	* app/display/gimpdisplayshell-selection.h
      	* app/display/gimpdisplayshell.h
      	* app/gui/brush-select.h
      	* app/gui/gradient-editor.h
      	* app/gui/gradient-select.h: reverted most of Daniel's changes.
      
      	There's no reason to use unsigned integers here and in lots of places
      	it is even wrong.
      
      	Then it's way too early to convert gbooleans into bitfields. This
      	change may make sense in a few places but can happen later when the
      	API has settled and the code is more stable.
      
      	* app/gimprc.c: reverted Daniel's change. This is a GCC-ism and this
      	code is about to die soon anyway.
      4ba6db4e
  21. 02 Dec, 2001 1 commit
    • Daniel Egger's avatar
      Convert ugly comments into named structure fields. Much cleaner and less · 1ed91801
      Daniel Egger authored
      2001-12-02  Daniel Egger  <degger@fhm.edu>
      
      	* app/gimprc.c: Convert ugly comments into named structure fields.
      	Much cleaner and less errorprone though may cause troubles on
      	older compilers and then needs to be reverted. Please report!
      
      	* app/base/base-types.h: Add FIXME reminder.
      
      	* app/base/gimplut.c: Use CLAMP macro instead of if-cascade.
      
      	* app/base/temp-buf.c: Remove duplicated calculations and simplify
      	checks.
      
      	* app/base/tile-manager.c:
      	- (tile_manager_get_tile_num): Return success and take an additional
      	  pointer for the tilenumber.
      	- Simplify logic in the rest of the file as a result.
      	- Remove rotten debugging cruft.
      
      	* app/core/gimpbrushgenerated.c: Fix two stylistic nits.
      
      	* app/app_procs.c: Include <stdlib.h> for exit () prototype.
      
      	* app/core/gimpdrawable-blend.c: Include <stdlib.h> for abs ()
      	prototype.
      
      	* app/display/gimpdisplay.c: Include <string.h> for memcpy ()
      	prototype.
      
      	* app/core/gimpimage-convert.c: (HIST_RGB): First parameter is
      	not const. Fixes a gcc warning for a wrong return value.
      
      	* libgimpwidgets/gimpunitmenu.c
      	* app/core/gimpunit.c: Add suggested (by gcc 3.1 cvs) parentheses
      	to group correct logic tests together.
      
      	* app/paint-funcs/paint-funcs-generic.h: Fix my HAS_ALPHA macro
      	to avoid gcc 3.1 cvs warning.
      
      	* app/gimprc.h
      	* pathP.h
      	* base-config.h
      	* app/base/boundary.h
      	* app/base/gimplut.[ch]
      	* app/base/pixel-region.h
      	* app/base/pixel-surround.[ch]
      	* app/base/temp-buf.[ch]
      	* app/base/tile-manager-private.h
      	* app/base/tile-manager.c
      	* app/base/tile-private.h
      	* app/base/tile.[ch]
      	* app/core/gimp.h
      	* app/core/gimpbrushgenerated.h
      	* app/core/gimpbrushpipe.h
      	* app/core/gimpchannel.[ch]
      	* app/core/gimpcontainer.h
      	* app/core/gimpcoreconfig.h
      	* app/core/gimpdata.h
      	* app/core/gimpdatafactory.[ch]
      	* app/core/gimpdrawable-blend.c
      	* app/core/gimpdrawable.[ch]
      	* app/core/gimpimage.h
      	* app/core/gimpimagefile.h
      	* app/core/gimplayer.h
      	* app/core/gimplayermask.h
      	* app/core/gimpmoduleinfo.h
      	* app/core/gimppalette.h
      	* app/core/gimpundo.h
      	* app/display/gimpdisplay.h
      	* app/display/gimpdisplayshell-selection.h
      	* app/display/gimpdisplayshell.h
      	* app/gui/brush-select.h
      	* app/gui/gradient-editor.h
      	* app/gui/gradient-select.h
      	* app/gui/info-dialog.h
      	* app/gui/resize-dialog.h
      	* app/tools/gimpbezierselecttool.h
      	* app/tools/gimpcolorbalancetool.h
      	* app/tools/gimpcolorpickertool.h
      	* app/tools/gimpcurvestool.h
      	* app/tools/gimpdodgeburntool.c
      	* app/tools/gimpfreeselecttool.h
      	* app/tools/gimpfuzzyselecttool.h
      	* app/tools/gimphuesaturationtool.h
      	* app/tools/gimpinktool-blob.h
      	* app/tools/gimpinktool.h
      	* app/tools/gimpiscissorstool.h
      	* app/tools/gimpmagnifytool.h
      	* app/tools/gimpmeasuretool.h
      	* app/tools/gimppainttool.h
      	* app/tools/gimppathtool.h
      	* app/tools/gimprectselecttool.h
      	* app/tools/gimpthresholdtool.h
      	* app/tools/gimptool.h
      	* app/tools/gimptransformtool.h
      	* app/tools/path_toolP.h
      	* app/widgets/gimpbrushfactoryview.h
      	* app/widgets/gimpconstrainedhwrapbox.h
      	* app/widgets/gimpcontainermenu.h
      	* app/widgets/gimpcontainerview.h
      	* app/widgets/gimpdialogfactory.h
      	* app/widgets/gimpimagedock.h
      	* app/widgets/gimplistitem.h
      	* app/widgets/gimpmenuitem.h
      	* app/widgets/gimpnavigationpreview.h
      	* app/widgets/gimppreview.h: Unsignify lots of variables and
      	parameters and use bitfields in structs where possible. First
      	part of a huge cleanup all over the code...
      1ed91801
  22. 22 Nov, 2001 1 commit
    • Sven Neumann's avatar
      bumped version number to 1.3.1. Require Glib/GTK+-1.3.11 and Pango-0.22. · 757017a8
      Sven Neumann authored
      2001-11-23  Sven Neumann  <sven@gimp.org>
      
      	* configure.in: bumped version number to 1.3.1.
      	Require Glib/GTK+-1.3.11 and Pango-0.22. Removed GDK_DISABLE_COMPAT_H
      	and GTK_DISABLE_COMPAT_H from our default CFLAGS since they don't
      	exist any longer.
      
      	* RELEASE-TO-CVS.patch: removed since the glib/gtk+ API is supposed to
      	be frozen now.
      
      	* HACKING: removed reference to RELEASE-TO-CVS.patch
      
      	* app/gui/menus.c
      	* app/tools/gimptexttool.c: applied RELEASE-TO-CVS.patch to conform
      	to the new GTK+/Pango API.
      
      	* app/core/Makefile.am: generate marshallers with gimp_marshal prefix.
      
      	* app/core/gimpmarshal.list: added all marshallers we use.
      
      	* app/core/gimpmarshal.[ch]: regenerated.
      
      	* app/[lots of .c files]: use gimp_marshal_* for all marshallers.
      
      	* data/images/
      	* app/app_procs.c
      	* app/gui/splash.c:
      
      	* libgimpbase/Makefile.am
      	* libgimpbase/gimpbase.h
      	* libgimpbase/gimputils.[ch]: removed since they are no longer needed.
      
      	* app/gimprc.c
      	* plug-ins/common/ps.c
      	* plug-ins/gdyntext/gdyntext.c
      	* plug-ins/gdyntext/gdyntextcompat.c
      	* plug-ins/gfig/gfig.c
      	* plug-ins/gflare/gflare.c
      	* plug-ins/script-fu/script-fu-scripts.c: use glib functions instead
      	of gimp_strescape() and gimpstrcompress().
      
      	* cleaned up all header files: use G_BEGIN_DECLS/G_END_DECLS, declared
      	all _get_type function as G_GNUC_CONST.
      
      	* tools/pdbgen/enumcode.pl
      	* tools/pdbgen/lib.pl: make them generate header files using
      	G_BEGIN_DECLS/G_END_DECLS.
      
      	* pixmaps/Makefile.am
      	* pixmaps/wilber3.xpm: removed ...
      	* data/images/tips_wilber.png: ... and added here as PNG
      
      	* app/gui/tips-dialog.c: load the Wilber on demand using GdkPixbuf.
      
      	* data/images/gimp_splash.ppm: removed ...
      	* data/images/gimp_splash.png: ... and added as PNG
      
      	* app/app_procs.c
      	* app/gui/splash.[ch]: load the splash image using GdkPixbuf.
      
      	* app/gui/about-dialog.c: sink the GtkPreview.
      757017a8
  23. 20 Nov, 2001 2 commits
    • Rebecca Walter's avatar
      app/core/gimpedit.c app/core/gimpimagefile.c app/core/gimpmoduleinfo.c · 57c23b69
      Rebecca Walter authored
      2001-11-20  Rebecca Walter <rjp@mail.tele.dk>
      
      	* app/core/gimpedit.c
      	* app/core/gimpimagefile.c
      	* app/core/gimpmoduleinfo.c
      	* app/core/gimpmodules.c
      	* app/core/gimppalette.c
      	* app/core/gimppattern.c: More of the extensive proofing. Fun fun fun!
      57c23b69
    • Michael Natterer's avatar
      put a g_object_ref() on a different line. · 625b5c71
      Michael Natterer authored
      2001-11-20  Michael Natterer  <mitch@gimp.org>
      
      	* app/core/gimp.c: put a g_object_ref() on a different line.
      
      	* app/core/gimpdrawable-bucket-fill.c
      	* app/core/gimpmodules.c: ne need to #include "core/..." here.
      
      	* app/display/gimpdisplay-handlers.c: added debugging output
      	because we have an image refcounting problem :(
      
      	* app/display/gimpdisplayshell-handlers.c: fixed a signal
      	disconnection.
      
      	* app/tools/gimpbezierselecttool.[ch]
      	* app/tools/gimpblendtool.c
      	* app/tools/gimpbucketfilltool.c
      	* app/tools/gimpbycolorselecttool.c
      	* app/tools/gimpclonetool.c
      	* app/tools/gimpcolorpickertool.c
      	* app/tools/gimpcroptool.c
      	* app/tools/gimpellipseselecttool.c
      	* app/tools/gimpfreeselecttool.c
      	* app/tools/gimpfuzzyselecttool.c
      	* app/tools/gimpinktool.c
      	* app/tools/gimpiscissorstool.c
      	* app/tools/gimpmagnifytool.c
      	* app/tools/gimpmeasuretool.c
      	* app/tools/gimprectselecttool.c
      	* app/tools/gimpsmudgetool.c: get the tool's options via
      	tool->tool_info->tool_options, not from the local statis pointer.
      	Some minor cleanups & function reordering.
      
      	* app/widgets/gimpdockbook.c: return TRUE from the notebook tabs'
      	"button_press" handler, connect DND before cnnecting to
      	"button_press" because we now stop it's emission.
      625b5c71
  24. 19 Oct, 2001 1 commit
    • Michael Natterer's avatar
      link the app in a different order as some init functions are called from · cc83594b
      Michael Natterer authored
      2001-10-19  Michael Natterer  <mitch@gimp.org>
      
      	* app/Makefile.am: link the app in a different order as some init
      	functions are called from core/gimp.c instead of app_procs.c now.
      
      	* app/app_procs.[ch]: made app_init_update_status() private and
      	pass it as callback to various init functions.
      
      	* app/plug_in.[ch]: plug_in_init() take "gimp" and "status_callback"
      	parameters.
      
      	* app/undo.c: use "gimage->gimp" instead of "the_gimp", don't
      	include "app_procs.h".
      
      	* app/core/core-types.h: added "GimpInitStatusFunc" typedef.
      
      	* app/core/gimp.[ch]: gimp_initialize() and gimp_restore() now
      	take a "status_callback" as parameter. Don't include "app_procs.h".
      
      	* app/core/gimpmodules.c: putting the modules in a strong
      	container was a bad idea because it may be impossible to finalize
      	a GimpModuleInfo object belonging to a stalled module.
      
      	* app/gui/color-area.c: use G_N_ELEMENTS().
      
      	* app/gui/session.c: don't call app_init_update_status() and don't
      	include "app_procs.h" because this happens after the splash is
      	hidden.
      
      	* tools/pdbgen/app.pl
      	* app/pdb/internal_procs.[ch]: pass a "status_callback" to
      	internal_procs_init(), don't include "app_procs.h".
      
      	* plug-ins/Makefile.am: build gfig, gimpressionist and imagemap
      	again.
      
      	* plug-ins/MapObject/mapobject_preview.c
      	* plug-ins/MapObject/mapobject_ui.c: s/gdk_image_unref/g_object_unref/
      
      	* plug-ins/gfig/gfig.c
      	* plug-ins/gimpressionist/brush.c
      	* plug-ins/gimpressionist/gimpressionist.c
      	* plug-ins/gimpressionist/ppmtool.[ch]
      	* plug-ins/gimpressionist/presets.c
      	* plug-ins/imagemap/imap_browse.[ch]
      	* plug-ins/imagemap/imap_csim.y
      	* plug-ins/imagemap/imap_edit_area_info.c
      	* plug-ins/imagemap/imap_file.c
      	* plug-ins/imagemap/imap_main.c
      	* plug-ins/imagemap/imap_menu.c
      	* plug-ins/imagemap/imap_polygon.c
      	* plug-ins/imagemap/imap_popup.c
      	* plug-ins/imagemap/imap_preferences.c
      	* plug-ins/imagemap/imap_taglist.c
      	* plug-ins/imagemap/imap_tools.c: ported to current GLib/Gtk+.
      
      	* plug-ins/gap/gap_arr_dialog.c
      	* plug-ins/gap/gap_decode_xanim.c
      	* plug-ins/gap/gap_filter_foreach.c
      	* plug-ins/gap/gap_filter_main.c
      	* plug-ins/gap/gap_frontends_main.c
      	* plug-ins/gap/gap_lib.c
      	* plug-ins/gap/gap_main.c
      	* plug-ins/gap/gap_mod_layer.c
      	* plug-ins/gap/gap_mov_dialog.c
      	* plug-ins/gap/gap_navigator_dialog.c
      	* plug-ins/gap/resize.c: half-way fixed this one too but I'm not
      	willing to fix tons of duplicated and deprecated app/ code...
      cc83594b
  25. 18 Oct, 2001 1 commit
    • Michael Natterer's avatar
      app/Makefile.am removed. · be86df2a
      Michael Natterer authored
      2001-10-18  Michael Natterer  <mitch@gimp.org>
      
      	* app/Makefile.am
      	* app/module_db.[ch]: removed.
      
      	* app/core/Makefile.am
      	* app/core/core-types.h
      	* app/core/gimpmoduleinfo.[ch]
      	* app/core/gimpmodules.[ch]: new files containing the module info
      	object and the module list handling code.
      
      	* app/gui/Makefile.am
      	* app/gui/module-browser.[ch]: new files containing the GUI.
      
      	* app/xcf/xcf.[ch]: pass a "Gimp" pointer to xcf_exit().
      
      	* app/core/gimp.[ch]: handle modules and xcf init/exit here too.
      
      	* app/app_procs.c: don't touch the modules and xcf stuff any more.
      
      	* app/gui/dialogs-constructors.c: changed accordingly.
      
      2001-10-18  Michael Natterer  <mitch@gimp.org>
      
      	* POTFILES.in: module_db.c has moved.
      be86df2a