1. 31 May, 2000 3 commits
    • Michael Natterer's avatar
      Sven Neumann <sven@gimp.org> · 21651c25
      Michael Natterer authored
      2000-05-31  Michael Natterer  <mitch@gimp.org>
      	    Sven Neumann  <sven@gimp.org>
      
      	Coming closer to our goal of autogenerating the
      	libgimp PDB wrappers...
      
      	* app/internal_procs.c
      	* app/parasite_cmds.c
      	* tools/pdbgen/pdb/parasite.pdb: removed parasite_new PDB call.
      
      	* libgimp/gimp.h
      	* libgimp/gimp_pdb.h
      	* libgimp/gimpbrushmenu.c
      	* libgimp/gimpcompat.h
      	* libgimp/gimpdrawable_pdb.[ch]
      	* libgimp/gimpexport.c
      	* libgimp/gimpgradientmenu.c
      	* libgimp/gimpimage_pdb.[ch]
      	* libgimp/gimpmenu.[ch]
      	* libgimp/gimpparasite.[ch]
      	* libgimp/gimpparasite_pdb.[ch]
      	* libgimp/gimppatternmenu.c
      	* libgimp/gimpproceduraldb_pdb.[ch]: changes to incorporate the new
      	files listed below
      
      	* libgimp/Makefile.am
      	* libgimp/gimpbrushes_pdb.[ch]
      	* libgimp/gimpbrushselect_pdb.[ch]
      	* libgimp/gimpconvert_pdb.[ch]
      	* libgimp/gimpgradientselect_pdb.[ch]
      	* libgimp/gimppatterns_pdb.[ch]
      	* libgimp/gimppatternselect_pdb.[ch]: new files partly generated
      	using pdbgen
      
      	* tools/pdbgen/lib.pl: some adjustments and fixes to the libgimp
      	pdbgen code
      
      	* tools/pdbgen/pdb/help.pdb
      	* tools/pdbgen/pdb/pattern_select.pdb: make them generate PDB
      	wrappers for libgimp too.
      21651c25
    • Michael Natterer's avatar
      Sven Neumann <sven@gimp.org> · ba9ec2a2
      Michael Natterer authored
      2000-05-31  Michael Natterer  <mitch@gimp.org>
      	    Sven Neumann  <sven@gimp.org>
      
      	Episode IV...
      
      	* app/Makefile.am
      
      	* app/message_cmds.c: new name
      	* app/interface_cmds.c: removed
      
      	* app/help_cmds.c: new name
      	* app/gimphelp_cmds.c: removed
      
      	* app/internal_procs.c
      	* app/gimphelp_cmds.c
      	* app/plug_in_cmds.c: moved gimp_plugin_help_register to
      	plug_in_cmds.c, s/gimp_plugin_domain_add/gimp_plugin_domain_register/
      
      	* libgimp/Makefile.am
      	* libgimp/gimp_pdb.h
      	* libgimp/gimpfileops_pdb.[ch]
      	* libgimp/gimpguides_pdb.[ch]
      	* libgimp/gimpmessage_pdb.[ch]
      	* libgimp/gimpprocedural_db_pdb.[ch]
      	* libgimp/gimpplugin_pdb.[ch]: new files containing PDB wrappers
      	moved out of libgimp/gimp.[ch]
      
      	* libgimp/gimpchannel_pdb.c
      	* libgimp/gimpdisplay_pdb.[ch]
      	* libgimp/gimpdrawable_pdb.[ch]
      	* libgimp/gimphelp_pdb.[ch]
      	* libgimp/gimpimage_pdb.[ch]
      	* libgimp/gimplayer_pdb.c
      	* libgimp/gimpparasite_pdb.c
      	* libgimp/gimpselection_pdb.c: various changes.
      
      	* libgimp/gimpunit.c: new file
      	* libgimp/gimpunit_pdb.[ch]: contains only PDB wrappers prefixed
      	with "_" which are called from libgimp/gimpunit.c only.
      
      	* libgimp/gimpunit.h: minor stuff
      
      	* libgimp/gimpcompat.h: declared the following functions obsolete:
      	 gimp_query_database
      	 gimp_query_images
      
      	* libgimp/gimp.[ch]: removed all PDB wrappers.
      
      	* tools/pdbgen/Makefile.am
      	* tools/pdbgen/groups.pl: changed
      
      	* tools/pdbgen/lib.pl: tried to fix libgimp autogeneration and
      	fixed just a few comments.
      
      	* tools/pdbgen/pdb/interface.pdb
      	* tools/pdbgen/pdb/gimphelp.pdb: removed
      
      	* tools/pdbgen/pdb/help.pdb
      	* tools/pdbgen/pdb/message.pdb: new names
      
      	* plug-ins/script-fu/script-fu.c
      	* plug-ins/perl/Gimp/Lib.xs:
      	s/gimp_plugin_domain_add/gimp_plugin_domain_register/
      
      2000-05-31  Michael Natterer  <mitch@gimp.org>
      
      	* POTFILES.in: s/gimpunit_pdb/gimpunit/
      ba9ec2a2
    • Michael Natterer's avatar
      Sven Neumann <sven@gimp.org> · 053af2f1
      Michael Natterer authored
      2000-05-31  Michael Natterer  <mitch@gimp.org>
      	    Sven Neumann  <sven@gimp.org>
      
      	* libgimp/Makefile.am
      	* libgimp/gimpchannel_pdb.h
      	* libgimp/gimpdisplay_pdb.h
      	* libgimp/gimpdrawable_pdb.h
      	* libgimp/gimpgradient_pdb.h
      	* libgimp/gimphelp_pdb.h
      	* libgimp/gimpimage_pdb.h
      	* libgimp/gimplayer_pdb.h
      	* libgimp/gimpparasite_pdb.h
      	* libgimp/gimpselection_pdb.h
      	* libgimp/gimpunit_pdb.h
      	* libgimp/gimpdrawable.[ch]
      	* libgimp/gimphelp.c
      	* libgimp/gimppixelrgn.h
      	* libgimp/gimptile.h: new files
      
      	* libgimp/gimp.[ch]
      	* libgimp/gimpchannel_pdb.c
      	* libgimp/gimpdrawable_pdb.c
      	* libgimp/gimpgradient_pdb.c
      	* libgimp/gimppalette_pdb.c
      	* libgimp/gimpselection_pdb.c
      	* libgimp/gimphelp_pdb.c
      	* libgimp/gimpimage_pdb.c
      	* libgimp/gimplayer_pdb.c
      	* libgimp/gimpgradientmenu.c
      	* libgimp/gimpbrushmenu.c
      	* libgimp/gimpmenu.[ch]
      	* libgimp/gimppatternmenu.c
      	* libgimp/gimppixelrgn.c
      	* libgimp/gimptile.c: part III of the (final) libgimp cleanup
      
      	Split gimp.h into a bunch of headers. More or less finished the
      	task of moving PDB wrappers into separate files in preparation
      	of the upcoming autogen-it-all-attack.
      
      	* libgimp/gimpcompat.h: declared the following functions obsolete:
      	gimp_[channel|layer]_[width|height]
      	gimp_layer_[bpp|type]
      	gimp_channel_get_[image|layer]_ID
      
      	* libgimp/gimptypes.h: new file:
      	GPlugInInfo
      	GTile
      	GDrawable
      	GPixelRgn
      	GParamColor
      	GParamRegion
      	GParamData
      	GParamDef
      	GParam: s/G/Gimp/
      
      	* app/gimphelp_cmds.c
      	* app/plug_in_cmds.c
      	* tools/pdbgen/pdb/gimphelp.pdb
      	* tools/pdbgen/pdb/plug_in.pdb: changed help texts.
      053af2f1
  2. 28 May, 2000 1 commit
    • Michael Natterer's avatar
      libgimp/gimp.h libgimp/gimpcolordisplay.h libgimp/gimpcolorselector.h · 2b775b6b
      Michael Natterer authored
      2000-05-28  Michael Natterer  <mitch@gimp.org>
      
      	* libgimp/gimp.h
      	* libgimp/gimpcolordisplay.h
      	* libgimp/gimpcolorselector.h
      	* libgimp/gimpmatrix.h
      	* libgimp/gimpmodule.h
      	* libgimp/gimpunit_pdb.c: purely cosmetic stuff and added some
      	typedefs to make the html documentation nicer. Moved the module
      	documentation from the headers to the sgml files.
      
      	* app/module_db.[ch]: The type of the "init" and "unload" functions
      	has changed. Code cleanup.
      
      2000-05-28  Michael Natterer  <mitch@gimp.org>
      
      	* libgimp/libgimp-decl.txt
      	* libgimp/libgimp-docs.sgml
      	* libgimp/libgimp-sections.txt
      	* libgimp/tmpl/gimp.sgml
      	* libgimp/tmpl/gimpcolorbutton.sgml
      	* libgimp/tmpl/gimpcolordisplay.sgml
      	* libgimp/tmpl/gimpcolorselector.sgml
      	* libgimp/tmpl/gimpcolorspace.sgml
      	* libgimp/tmpl/gimpcompat.sgml
      	* libgimp/tmpl/gimpenums.sgml
      	* libgimp/tmpl/gimpfeatures.sgml
      	* libgimp/tmpl/gimplimits.sgml
      	* libgimp/tmpl/gimpmath.sgml
      	* libgimp/tmpl/gimpmodule.sgml
      	* libgimp/tmpl/gimpparasite.sgml
      	* libgimp/tmpl/gimpparasiteio.sgml
      	* libgimp/tmpl/gimppixmap.sgml
      	* libgimp/tmpl/gimpprotocol.sgml
      	* libgimp/tmpl/gimpsignal.sgml
      	* libgimp/tmpl/gimpui.sgml
      	* libgimp/tmpl/gimpunit.sgml
      	* libgimp/tmpl/gimputils.sgml
      	* libgimp/tmpl/gimpvector.sgml
      	* libgimp/tmpl/gimpwire.sgml
      	* libgimp/tmpl/libgimp-unused.sgml: Moved the module documentation
      	from the libgimp headers here, updates, cleanups.
      2b775b6b
  3. 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
  4. 26 May, 2000 2 commits
    • Manish Singh's avatar
      great renaming · 763bd6ab
      Manish Singh authored
      -Yosh
      763bd6ab
    • Michael Natterer's avatar
      Final (1.2) libgimp namespace cleanup part I: · 863f7e1c
      Michael Natterer authored
      2000-05-26  Michael Natterer  <mitch@gimp.org>
      
      	Final (1.2) libgimp namespace cleanup part I:
      
      	* app/gimpbrushpipe.c
      	* app/gimpdrawable.[ch]
      	* app/gimpimage.[ch]
      	* app/gimpparasite.[ch]
      	* app/gimprc.c
      	* app/image_new.c
      	* app/parasite_cmds.c
      	* app/parasitelist.[ch]
      	* app/parasitelistP.h
      	* app/plug_in.c
      	* app/undo.c
      	* app/xcf.c
      	* libgimp/color_display.h
      	* libgimp/gimp.[ch]
      	* libgimp/gimpdrawable.c
      	* libgimp/gimpimage.c
      	* libgimp/gimpparasite.c
      	* libgimp/gimpprotocol.c
      	* libgimp/parasite.[ch]
      	* libgimp/parasiteF.h
      	* libgimp/parasiteP.h
      	* libgimp/parasiteio.[ch]
      	* modules/cdisplay_gamma.c
      	* modules/cdisplay_highcontrast.c
      	* plug-ins/common/csource.c
      	* plug-ins/common/gif.c
      	* plug-ins/common/gpb.c
      	* plug-ins/common/jpeg.c
      	* plug-ins/common/psp.c
      	* plug-ins/common/tiff.c
      	* plug-ins/common/xbm.c
      	* plug-ins/gap/gap_exchange_image.c
      	* plug-ins/gdyntext/gdyntext.c
      	* plug-ins/ifscompose/ifscompose.c
      	* plug-ins/xjt/xjt.c: s/Parasite/GimpParasite/g,
      	                      s/parasite_*/gimp_parasite_*/g
      
      	* libgimp/gimpcompat.h: added the old names.
      
      	* tools/pdbgen/pdb.pl
      	* tools/pdbgen/pdb/parasite.pdb: dito and an ugly perl hack to work
      	around a substitution clash. Perl gurus, feel free to fix it.
      863f7e1c
  5. 21 May, 2000 1 commit
    • Michael Natterer's avatar
      These changes enable help support for 3rd party plug-ins which install · 9c6b0b0c
      Michael Natterer authored
      2000-05-21  Michael Natterer  <mitch@gimp.org>
      
      	These changes enable help support for 3rd party plug-ins which
      	install their help files outside GIMP's main help dir.
      
      	Instead of calling gimp_help(), gimp_plugin_help_func() etc.,
      	all help callbacks now have to call gimp_standard_help_func()
      	which has different implementations in the app and in libgimp.
      
      	There is a new function gimp_plugin_help_register() which can
      	be called during plug-in query. plug_in.c keeps a list of
      	executable_name/help_path pairs. Plug-ins have to pass their
      	exec. name to gimp_help() which uses the list to find the plug-in's
      	help directory.
      
      	* app/gimphelp.[ch]: gimp_help() now takes a help_path parameter.
      	help_path == NULL means the standard help directory. Various
      	changes to pass the help_path to the help browser.
      
      	* app/gimprc.c: save the plug-in's help_path in the pluginrc file.
      
      	* app/menus.c: ugly hack to enable help_paths in the "F1" callback.
      
      	* app/plug_in.[ch]: many help_path related changes. Use g_basename()
      	instead of strrchr(str,G_DIR_SEPARATOR), cosmetic cleanups.
      
      	* app/internal_procs.c
      	* app/gimphelp_cmds.c
      	* tools/pdbgen/pdb/gimphelp.pdb: new procedure
      	gimp_plugin_help_register(). gimp_help() takes a second parameter
      	which is the executable name (not the help_path).
      
      	* app/color_notebook.c
      	* app/commands.c
      	* app/lc_dialog.c
      	* app/preferences_dialog.c
      	* app/tools.c: call gimp_standard_help_func() instead of gimp_help().
      
      	* libgimp/gimp.c: new function gimp_get_progname() which returns
      	the full path of the plug-in's executable.
      
      	* libgimp/gimp.h: export the new function,
      	removed gimp_plugin_help_func(), gimp_help() takes the executable
      	name as second parameter.
      
      	* libgimp/gimpcompat.h: added gimp_plugin_help_func().
      
      	* libgimp/gimphelp.c: a wrapper for gimp_plugin_help_register(),
      	changed the calls to gimp_help.
      
      	* libgimp/gimphelpui.[ch]: call gimp_standard_help_func() instead
      	of gimp_help().
      
      	* plug-ins/helpbrowser/helpbrowser.c: now called with an additional
      	help_path parameter. Various changes to enable
      	help_path != gimp_standard_help_path.
      
      	Unrelated stuff:
      
      	* app/batch.h: added missing GPL header.
      
      	* app/gimpunit.c: had a LGPL header, merged some fprintf's into
      	one call.
      
      	* app/procedural_db.[ch]: cosmetic: g* types, s/g_malloc/g_new/,
      	prototypes, indentation.
      
      	* app/resize.c: use less packing widgets. didn't find the "offset"
      	redraw bug :(
      9c6b0b0c
  6. 30 Apr, 2000 1 commit
    • Michael Natterer's avatar
      gimprc.in replaced "color-cube" by "min-colors". · ef751a45
      Michael Natterer authored
      2000-04-30  Michael Natterer  <mitch@gimp.org>
      
      	* gimprc.in
      	* app/gimprc.[ch]: replaced "color-cube" by "min-colors".
      
      	* app/app_procs.c: read unitrc/gimprc before displaying the splash.
      
      	* app/colormaps.c: set min_colors and install_cmap before
      	initializing GdkRGB.
      
      	* app/gimprc.[ch]
      	* app/gimpunit.c: don't call the splash's progress_update function.
      
      	* app/plug_in.c: pass min_colors instead of color_cube to plugins.
      
      	* app/preferences_dialog.c: widget for min_colors.
      
      	* libgimp/gimp.[ch]: s/color_cube/min_colors/ but left
      	gimp_color_cube() there for source level compatibility.
      
      	* libgimp/gimpprotocol.[ch]: changed the GPConfig message
      	accordinly and increased the gimp protocol version number because
      	the change breaks binary compatibility. Also actually pass the
      	use_xshm variable over the wire (was only in the GPConfig struct
      	before).
      
      	Was it the right thing to do to increase the version number??
      
      	* libgimp/gimpui.c (gimp_ui_init): use the same code as the app
      	for initializing GdkRGB. Never explicitly activate Gdk's SHM
      	usage (only switch it off).
      
      	* app/main.c
      	* libgimp/gimp.c: reverted the handling of all signals except
      	SIGCHLD back to plain old signal() because those signals are
      	fatal anyway and sigaction() as used by gimp_signal_*() made
      	debugging (stacktrace) impossible.
      
      	* plug-ins/AlienMap/AlienMap.c
      	* plug-ins/AlienMap2/AlienMap2.c
      	* plug-ins/FractalExplorer/Dialogs.c
      	* plug-ins/bmp/bmp.c
      	* plug-ins/borderaverage/borderaverage.c
      	* plug-ins/dbbrowser/dbbrowser.c
      	* plug-ins/faxg3/faxg3.c
      	* plug-ins/fits/fits.c
      	* plug-ins/flame/flame.c
      	* plug-ins/fp/fp.c
      	* plug-ins/fp/fp_gtk.c
      	* plug-ins/gdyntext/Makefile.am
      	* plug-ins/gdyntext/gdyntext_ui.c
      	* plug-ins/gfig/gfig.c
      	* plug-ins/gflare/gflare.c
      	* plug-ins/gfli/gfli.c
      	* plug-ins/gimpressionist/gimpressionist.c
      	* plug-ins/helpbrowser/helpbrowser.c
      	* plug-ins/ifscompose/ifscompose.c
      	* plug-ins/imagemap/Makefile.am
      	* plug-ins/imagemap/imap_main.c
      	* plug-ins/maze/maze_face.c
      	* plug-ins/mosaic/mosaic.c
      	* plug-ins/pagecurl/pagecurl.c
      	* plug-ins/print/print.c
      	* plug-ins/rcm/rcm_dialog.c
      	* 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/sel2path/Makefile.am
      	* plug-ins/sel2path/sel2path.c
      	* plug-ins/sgi/sgi.c
      	* plug-ins/sinus/sinus.c
      	* plug-ins/struc/struc.c
      	* plug-ins/webbrowser/webbrowser.c
      	* plug-ins/winsnap/winsnap.c
      	* plug-ins/xjt/xjt.c: use gimp_ui_init().
      
      	* plug-ins/Lighting/lighting_ui.c
      	* plug-ins/MapObject/mapobject_ui.c: only switch Gdk SHM usage off,
      	never on. Don't use gimp_ui_init() here because of libgck.
      ef751a45
  7. 10 Apr, 2000 1 commit
    • Tor Lillqvist's avatar
      Correct the info about Win32 mailing lists. · 70b1e8da
      Tor Lillqvist authored
      2000-04-10  Tor Lillqvist  <tml@iki.fi>
      
      * README: Correct the info about Win32 mailing lists.
      
      * gimprc.win32: Add perfect-mouse setting.
      
      * libgimp/gimp.h
      * app/main.c: Guard against redefinition of _stdcall.
      
      * libgimp/gimpmath.h: Define macros ISNAN and ISINF. On Win32 use
      _isnan() and _fpclass() from <float.h>, on other platforms use
      isnan() and isinf(). We really should test for isnan and isinf in the
      configure script.
      
      * tools/pdbgen/pdb/gimage.pdb
      * app/gimage_cmds.c: Include gimpmath.h, use above macros instead
      of using the nonportable isnan and isinf.
      
      * app/gdisplay_ops.c: Do use the old gtk_widget_hide/show hack on
      Win32.
      
      * libgimp/makefile.cygwin
      * libgimp/makefile.msc
      * app/makefile.cygwin
      * app/makefile.msc
      * plug-ins/makefile.cygwin
      * plug-ins/makefile.msc: Updates.
      
      * plug-ins/gfig/gfig.c (plug_in_parse_gfig_path): Simplify warning
      message on Win32.  We could use G_DIR_SEPARATOR in the sample
      gimprc line, but then we would have to call g_strescape to quote
      it, argh. Win32 users use prebuilt versions with a correct gimprc
      file anyway.
      
      (create_file_selection): Use g_get_tmp_dir().
      
      (gfig_update_stat_labels): Guard against possibly NULL value from
      g_get_home_dir().
      70b1e8da
  8. 25 Mar, 2000 1 commit
  9. 12 Mar, 2000 1 commit
  10. 23 Feb, 2000 2 commits
  11. 14 Feb, 2000 1 commit
    • Michael Natterer's avatar
      plug-ins/libgck/gck/Makefile.am plug-ins/libgck/gck/gckcommon.h · 260d7b2d
      Michael Natterer authored
      2000-02-14  Michael Natterer  <mitch@gimp.org>
      
      	* plug-ins/libgck/gck/Makefile.am
      	* plug-ins/libgck/gck/gckcommon.h
      	* plug-ins/libgck/gck/gcklistbox.[ch]
      	* plug-ins/libgck/gck/gckmath.[ch]
      	* plug-ins/libgck/gck/gckvector.[ch]: removed.
      
      	* plug-ins/libgck/gck/gck.h
      	* plug-ins/libgck/gck/gcktypes.h: modified accordingly.
      
      	* libgimp/Makefile.am
      	* libgimp/gimpvector.[ch]: new files. Modified the vector
      	functions from GCK. Changed the licence to LGPL, if there are any
      	objections, please let me know.
      
      	* libgimp/gimp.h: #include "gimpvector.h"
      
      	* libgimp/gimpmath.h: added deg <-> rad conversion macros.
      
      	* libgimp/gimpmatrix.[ch]: added a 4x4 vector to rotation angle
      	function from GCK,
      	s/GimpMatrix,gimp_matrix/GimpMatrix3,gimp_matrix3/
      
      	* plug-ins/Lighting/*
      	* plug-ins/MapObject/*:
      	s/GckVector,gck_vector/GimpVector,gimp_vector/
      
      	* app/pathsP.h
      	* app/paths_dialog.c
      	* app/perspective_tool.[ch]
      	* app/rotate_tool.[ch]
      	* app/scale_tool.[ch]
      	* app/shear_tool.[ch]
      	* app/tools_cmds.c
      	* app/transform_core.[ch]
      	* tools/pdbgen/pdb/tools.pdb:
      	s/GimpMatrix,gimp_matrix/GimpMatrix3,gimp_matrix3/
      260d7b2d
  12. 07 Feb, 2000 1 commit
    • Michael Natterer's avatar
      app/* libgimp/* plug-ins/* did a global s/GUnit/GimpUnit/ and · ef178669
      Michael Natterer authored
      2000-02-07  Michael Natterer  <mitch@gimp.org>
      
      	* app/*
      	* libgimp/*
      	* plug-ins/*
      	* tools/pdbgen/*: did a global s/GUnit/GimpUnit/ and
      	s/GimpSizeEntryUP/GimpSizeEntryUpdatePolicy/
      
      	* libgimp/gimpcolorspace.c: renamed the parameter names to match
      	the names in the header.
      
      	* libgimp/gimphelpui.h
      	* libgimp/gimpimage.c
      	* libgimp/gimpmatrix.h
      	* libgimp/gimpsizeentry.[ch]
      	* libgimp/gimpsizeentry.[ch]
      	* libgimp/gimpunit.[ch]
      	* libgimp/gimpunitmenu.[ch]
      	* libgimp/gimpwidgets.[ch]: added documentation and use g* types
      	all over the place (enables cross-referencing with the glib and
      	gtk+ html documentation).
      
      	* plug-ins/common/exchange.c
      	* plug-ins/common/max_rgb.c: small cleanups.
      
      	* plug-ins/common/mapcolor.c: the color buttons were attached in
      	the wrong order.
      ef178669
  13. 25 Jan, 2000 1 commit
    • Michael Natterer's avatar
      removed BOUNDS, MINIMUM and MAXIMUM. No need to include both <glib.h> and · 49230471
      Michael Natterer authored
      2000-01-25  Michael Natterer  <mitch@gimp.org>
      
      	* app/appenv.h: removed BOUNDS, MINIMUM and MAXIMUM. No need to
      	include both <glib.h> and <gtk/gtk.h>.
      
      	* app/*
      	* tools/pdbgen/pdb/text_tool.pdb: s/BOUNDS/CLAMP/,
      	same for MIN and MAX.
      
      	* app/preferences_dialog.c: the "Check Size" widget was connected
      	to the transparency_type variable.
      
      	* plug-ins/common/sobel.c: removed definitions of MIN and ROUND.
      
      	* libgimp/gimp.h: #include "gimplimits.h" and "gimpcolorspace.h".
      
      	* plug-ins/*: don't include the two files.
      49230471
  14. 14 Jan, 2000 1 commit
  15. 11 Jan, 2000 1 commit
    • Michael Natterer's avatar
      app/gimphelp.h libgimp/gimp.h declare the gimp_standard_help_func in · d5e99ee9
      Michael Natterer authored
      2000-01-11  Michael Natterer  <mitch@gimp.org>
      
      	* app/gimphelp.h
      	* libgimp/gimp.h
      	* libgimp/gimphelpui.[ch]: declare the gimp_standard_help_func in
      	gimphelpui.h because libgimp widgets must not include libgimp/gimp.h.
      
      	* libgimp/gimpdialog.c
      	* libgimp/gimpexport.c
      	* libgimp/gimpunitmenu.c: use the dialog constructor for the
      	export dialog and the unit selection.
      
      	* plug-ins/gpc/gpc.[ch]
      	* plug-ins/megawidget/megawidget.[ch]: removed unused functions
      	(dialog creation and some other stuff). The rest of these libs is
      	scheduled for removal, too...
      
      	* plug-ins/AlienMap/AlienMap.c
      	* plug-ins/AlienMap/Makefile.am
      	* plug-ins/AlienMap2/AlienMap2.c
      	* plug-ins/AlienMap2/Makefile.am
      	* plug-ins/borderaverage/Makefile.am
      	* plug-ins/borderaverage/borderaverage.c
      	* plug-ins/common/align_layers.c
      	* plug-ins/common/blur.c
      	* plug-ins/common/colortoalpha.c
      	* plug-ins/common/compose.c
      	* plug-ins/common/decompose.c
      	* plug-ins/common/gauss_iir.c
      	* plug-ins/common/gauss_rle.c
      	* plug-ins/common/mapcolor.c
      	* plug-ins/common/max_rgb.c
      	* plug-ins/common/mblur.c
      	* plug-ins/common/noisify.c
      	* plug-ins/common/spread.c
      	* plug-ins/common/xbm.c
      	* plug-ins/common/xpm.c
      	* plug-ins/fp/Makefile.am
      	* plug-ins/fp/fp_gtk.c
      	* plug-ins/rcm/Makefile.am
      	* plug-ins/rcm/rcm_callback.[ch]
      	* plug-ins/rcm/rcm_dialog.c
      	* plug-ins/sinus/sinus.c: standard ui (spacings etc.) for some
      	more plugins. Did some indentation, prototyping and I18N fixes.
      d5e99ee9
  16. 05 Jan, 2000 1 commit
    • Michael Natterer's avatar
      removed most functions. Show the help page in an idle function to avoid · ee6ad0e2
      Michael Natterer authored
      2000-01-05  Michael Natterer  <mitch@gimp.org>
      
      	* app/gimphelp.[ch]: removed most functions. Show the help page in
      	an idle function to avoid confusion with calling the temporary
      	help browser procedure in the middle of the "gimp_help" PDB call.
      	(I beleive this should work, so this is maybe a workaround for
      	some other bug).
      
      	* app/gimpui.[ch]: removed the dialog functions.
      
      	* libgimp/Makefile.am
      	* libgimp/gimpdialog.[ch]
      	* libgimp/gimphelp.c
      	* libgimp/gimphelpui.[ch]: new files. Moved most of the help
      	functions and the dialog constructors to libgimp and libgimpui.
      
      	* libgimp/gimp.h: declaration of the "gimp_help*" functions.
      
      	* libgimp/gimpui.h: include "gimpdialog.h" and "gimphelpui.h".
      
      	* plug-ins/common/grid.c: use the dialog constructor. It's now
      	possible to show the plugin's help with "F1".
      ee6ad0e2
  17. 27 Dec, 1999 1 commit
  18. 26 Dec, 1999 1 commit
    • Manish Singh's avatar
      added spec file to EXTRA_DIST · b8e03bd1
      Manish Singh authored
      * Makefile.am: added spec file to EXTRA_DIST
      
      * docs/Makefile.am: added undo.txt to EXTRA_DIST
      
      * app/interface.c: removed the DODGY warning, doesn't look dodgy to me
      
      * libgimp/*.h: missed an s/Library/Lesser/
      
      * tools/pdbgen/*: lots of work on the libgimp portion
      
      -Yosh
      b8e03bd1
  19. 26 Nov, 1999 1 commit
  20. 17 Nov, 1999 1 commit
  21. 13 Nov, 1999 1 commit
  22. 09 Nov, 1999 1 commit
    • Tor Lillqvist's avatar
      Must call gimp_set_remove_handler() to remove the browser_info_update · 5c614c42
      Tor Lillqvist authored
      1999-11-09  Tor Lillqvist  <tml@iki.fi>
      
      * app/module_db.c (browser_destroy_callback): Must call
      gimp_set_remove_handler() to remove the browser_info_update
      handler from the GimpSet 'modules'.
      
      Otherwise if we bring up the module browser, then close it, this
      will call browser_destroy_callback(), which will free the
      'browser_st' struct. Later when we exit the GIMP, the modules will
      be unloaded, which will cause browser_info_update() to be called,
      and passed the pointer to the already freed 'browser_st'. Whoopee.
      Thanks to Electric Fence for pointing this out.
      
      * app/makefile.{cygwin,msc}: Remove actionarea.
      
      * libgimp/gimp.h: Change declaration of nonexistent function
      gimp_layer_attach_new_parasite() to declaration of
      gimp_drawable_attach_new_parasite(), which was missing.
      
      * libgimp/gimpui.def
      * libgimp/makefile.{cygwin,msc}: Add gimpcolorbutton.
      
      * plug-ins/makefile.{cygwin,msc}: Add gap_filter and gap_plugins.
      
      * plug-ins/common/gz.c: Fix renamed variable in Win32 part.
      
      * plug-ins/gap/gap_lib.c: Use G_DIR_SEPARATOR_S.
      
      * plug-ins/gdyntext/font_selection.c: When compiling with current
      CVS GTk+ (i.e., on Win32 most likely) use the gdk_font_list_*
      functions instead of Xlib's XListFonts() and XFreeFontNames().
      
      * plug-ins/gdyntext/gdyntext.c: Use G_PI.
      
      * plug-ins/gdyntext/gdyntext_ui.c: Guard inclusion of
      unistd.h. Don't unnecessarily include gdkx.h and Xlib.h
      
      * plug-ins/winsnap/winsnap.c: Fix rectangle orientation.
      5c614c42
  23. 27 Oct, 1999 1 commit
  24. 24 Oct, 1999 3 commits
  25. 17 Oct, 1999 1 commit
  26. 04 Oct, 1999 1 commit
    • Manish Singh's avatar
      use G_OS_WIN32 and G_HAVE_CYGWIN #defines · d0519fd3
      Manish Singh authored
      * app/app_procs.c
      * app/gdisplay_color.[ch]
      * app/gdisplay_color_ui.c: make the ui usable
      
      * app/gdisplay.c: enable cdisplay support
      
      * modules/Makefile.am
      * modules/cdisplay_gamma.c: moved gamma functionality to separate
      
      -Yosh
      d0519fd3
  27. 03 Oct, 1999 1 commit
  28. 02 Sep, 1999 1 commit
    • Tor Lillqvist's avatar
      New files. Types and functions related to "standard" parasite types. Used · 5475ff08
      Tor Lillqvist authored
      1999-09-02  Tor Lillqvist  <tml@iki.fi>
      
      * libgimp/parasiteio.[ch]: New files. Types and functions related
      to "standard" parasite types. Used for the
      gimp-brush-pipe-parameters parasite that the gpb and psp plug-ins
      handle, and the value of which is stored in gih files, from
      which gimpbrushpipe.c parses it.
      
      * libgimp/{Makefile.am,makefile.{cygwin,msc}}: Add new files.
      
      * libgimp/gimp.def: Add its entry points.
      
      * libgimp/gimp.h: Fix cosmetic argument name error.
      
      * app/gimpbrushpipe.c: Remove code that previously
      was copied here, use functions from parasiteio.c.
      
      * plug-ins/common/gpb.c: Ditto. Add brush cell width and height
      fields to the gih save dialog. Add cleverness to update rows and
      columns as cell size is changes. (Still too easy for the user to
      get confused, though.) Display corresponding guide grid on the
      image. Unfortunately updating the guidelines doesn't seem to work.
      
      * plug-ins/common/psp.c: Use functions from parasiteio.c.
      5475ff08
  29. 01 Sep, 1999 1 commit
    • Tor Lillqvist's avatar
      app/appenv.h New file. Includes <math.h>. Move G_PI, RINT(), ROUND() etc · 6ef23d98
      Tor Lillqvist authored
      1999-09-01  Tor Lillqvist  <tml@iki.fi>
      
      * app/appenv.h
      * libgimp/gimpmath.h: New file. Includes <math.h>. Move G_PI,
      RINT(), ROUND() etc from app/appenv.h here, so plug-ins can
      use them, too. Remove some commented-out old stuff in appenv.h.
      
      * libgimp/gimp.h: Include gimpmath.h.
      
      * libgimp/gimp.c (gimp_main): Win32: Don't install signal
      handlers, we can't do anything useful in the handler ourselves
      anyway (it would be nice to print out a backtrace, but that seems
      pretty hard to do, even if not impossible). Let Windows inform the
      user about the crash. If the plug-in was compiled with MSVC, and
      the user also has it, she is offered a chance to start the
      debugger automatically anyway.
      
      * app/*several*.c: Include gimpmath.h for G_PI etc. Don't include
      <math.h>, as gimpmath.h includes it.
      
      * plug-ins/*/*many*.c: Include config.h. Don't include <math.h>.
      Remove all the duplicated definitions of G_PI and rint(). Use
      RINT() instead of rint().
      
      * app/app_procs.[ch]: app_exit() takes a gboolean.
      
      * app/batch.c
      * app/commands.c
      * app/interface.c: Call app_exit() with FALSE or TRUE.
      
      * app/main.c (on_error): Call gimp_fatal_error. (main): Don't
      install any signal handler on Win32 here, either.
      
      * app/errors.c (gimp_fatal_error, gimp_terminate): Win32: Format
      the message and call MessageBox with it.  g_on_error_query doesn't
      do anything useful on Win32, and printf'ing a message to stdout or
      stderr doesn't do anything, either, in a windowing application.
      6ef23d98
  30. 21 Aug, 1999 1 commit
    • BST 1999  Adam D. Moss's avatar
      Preview layers need to be alpha-padded, since they're not on the bottom of · 24032473
      BST 1999 Adam D. Moss authored
      Sat Aug 21 16:53:17 BST 1999  Adam D. Moss  <adam@gimp.org>
      
      	* plug-ins/common/jpeg.c:  Preview layers need to be alpha-padded,
      	since they're not on the bottom of the stack.  That's a GIMP rule.
      
      	Plus... use new API functions gimp_image_{freeze,thaw}_undo() to avoid
      	the dilemma of either consuming a squillion superfluous tiles or
      	clobbering the whole undo stack.
      
      	* app/gimage.h
      	* app/gimage_cmds.c
      	* app/gimpimage.c
      	* libgimp/gimp.h
      	* libgimp/gimpimage.c: New API functions
      	gimp_image_{freeze,thaw}_undo()	to avoid the above twin	evils.
      	Similar to gimp_image_{disable,enable}_undo() but without
      	clobbering the undo stack (I would have simply changed the latter,
      	but too many plugins seem to rely on that behaviour).  See the PDB
      	docs for slightly more information.
      24032473
  31. 21 Jul, 1999 1 commit
    • Tor Lillqvist's avatar
      Update gcc instructions. Remove warning about gettext being GPL, as the · 0aeb6370
      Tor Lillqvist authored
      	* README.win32: Update gcc instructions. Remove warning about
       	gettext being GPL, as the GIMP is GPL, too, of course, and it
       	thus doesn't matter.
      
      	* user_install.bat: Rename the template user gtkrc to gtkrc_user,
       	to reduce user confusion.
      
      	* app/main.c: Small change for gcc on Win32 compilation.
      
      	* */makefile.cygwin
      	* app/module_db.c: With newest gcc-2.95 -fnative-struct on Win32,
       	no need to have differently named DLLs (including modules) for
       	(built by) gcc and MSVC.
      
      	* app/module_db.c: Use g_strdup_printf() instead of
       	strlen(), g_malloc() and g_snprintf()
      
      	* libgimp/Makefile.am: No need to distribute gimpfeatures.h.win32,
       	the suitable gimpfeatures.h is built when making the dist.
      
      	* libgimp/gimpfeatures.h.win32: Removed.
      
      	* libgimp/makefile.cygwin
      	* libgimp/makefile.msc: Remove gimpfeatures.h.win32.
      
      	* libgimp/gimp.h: Win32 startup code changed a bit.
      
      	* plug-ins/makefile.cygwin
      	* plug-ins/makefile.msc: Add the winsnap unofficial plug-in.
      
      	* plug-ins/common/animationplay.c
      	* plug-ins/common/gz.c: (Win32) Hack aroung WinMain getting
      	clashing declarations because these guys include gdkx.h (which
      	includes windows.h), and gimp.h also declares WinMain on its own.
      0aeb6370
  32. 03 Jul, 1999 1 commit
    • Tor Lillqvist's avatar
      Advice about gcc. · 2815f523
      Tor Lillqvist authored
      	* README.win32: Advice about gcc.
      
      	* libgimp/gimp.{c,h,def}: New way to get address of PLUG_IN_INFO
       	to the gimp dll, similar as used by the EMX port. Much cleaner.
      	Works well with gcc also now.
      
      	* app/gimprc.c: Remove gratuituous printf.
      
      	* app/makefile.msc: Update with new files.
      
      	* plug-ins/makefile.msc: Small updates.
      
      	* plug-ins/makefile.cygwin: New file.
      
      	* plug-ins/gfig/gfig.c
      	* plug-ins/script-fu/script-fu-scripts.c: Include <glib.h> early.
      2815f523
  33. 23 Jun, 1999 1 commit
    • BST 1999 Andy Thomas's avatar
      gimp/app/gimppreviewcache.c gimp/app/gimppreviewcache.h · 9b7d21da
      BST 1999 Andy Thomas authored
      
      Wed Jun 23 23:52:54 BST 1999 Andy Thomas <alt@gimp.org>
      
      	* gimp/app/gimppreviewcache.c
      	* gimp/app/gimppreviewcache.h
      	* gimp/app/drawable_cmds.c
      	* gimp/app/gdisplay.c
      	* gimp/app/gimpdrawableP.h
      	* gimp/app/gimage_cmds.c
      	* gimp/app/Makefile.am
      	* gimp/app/layers_dialog.c
      	* gimp/app/channel.c
      	* gimp/app/lc_dialog.c
      	* gimp/app/lc_dialog.h
      	* gimp/app/lc_dialogP.h
      	* gimp/app/layer.c
      	* gimp/app/gimpdrawable.c
      	* gimp/app/internal_procs.c
      	* gimp/libgimp/gimp.h
      	* gimp/libgimp/gimpimage.c
      	* gimp/libgimp/gimpdrawable.c
      	* gimp/libgimp/gimpmenu.c
      	* gimp/tools/pdbgen/pdb/drawable.pdb
      	* gimp/tools/pdbgen/pdb/gimage.pdb
      
      	Added thumbnail image preview functions.
      	Previews are visible on the L&C&P dialogs as well as in the
      	drawables/channels/ menus generated for plugins
      	(see the bumpmap & Mapobject plugins).
      
      	PDB interface exists to simply extract a thumbnail preview
      	of a given size. This is much quicker & more efficient
      	than getting the image data tile-by-tile if you only need a small
      	image since a "preview cache" has been implemented. This cache also
      	reduces the number of times the tiles cached is scanned since smaller
      	previews are always generated from large ones if they exists and
      	are valid.
      
      	Some possible usages (I don't intend to implement these ideas. Just
      	suggestions). More plugins using the thumbnail preview (ie any that
      	use multiple images). Indication of "active image" somewhere.....
      	Actually almost anywhere a drawable/image name appears.
      9b7d21da
  34. 28 May, 1999 1 commit
    • Tor Lillqvist's avatar
      No need for <io.h> on Win32. · b6021023
      Tor Lillqvist authored
      	* libgimp/gimp.c: No need for <io.h> on Win32.
      
      	* libgimp/{gimp,gimpui}.def: Add two entry points.
      
      	* libgimp/gimp.h: Can't use __declspec(dllexport) for PLUG_IN_INFO
      	when compiling with gcc on Win32. Also handle __argc, __argv and
      	_stdcall differently with gcc on Win32
      
      	* libgimp/gimpenv.c: Include <string.h>.
      
      	* libgimp/gimpfeatures.h.in: Remove lots of extraneous trailing blanks.
      
      	* libgimp/gimpfileselection.c: Include <glib.h> early, see above.
      
      	* libgimp/{gimpwire,parasite}.c: Test for NATIVE_WIN32, not
      	_MSC_VER.
      
      	* libgimp/makefile.msc: Miscellaneous updates. The gimpi library
       	is now built as a static library.
      b6021023