1. 11 Apr, 2000 1 commit
  2. 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
      * 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
  3. 06 Apr, 2000 1 commit
  4. 26 Mar, 2000 1 commit
    • Michael Natterer's avatar
      add an "add_alpha" parameter to allow selected regions to be extracted · 5735b2ad
      Michael Natterer authored
      2000-03-26  Michael Natterer  <mitch@gimp.org>
      	* app/gimage_mask.[ch] (gimage_mask_extract): add an "add_alpha"
      	parameter to allow selected regions to be extracted without having
      	an alpha channel added.
      	* app/global_edit.c: pass add_alpha = TRUE.
      	* app/transform_core.[ch]: made the transform core work on
      	non-layer drawables even if no selection is present. Fixes #7485
      	and #7555.
      	- transform_core_cut(): extract the mask without alpha if
      	  operating on a non-layer without having a selection.
      	- transform_core_paste(): return a boolean indicating success
      	  instead of a layer and handle channels correctly.
      	- transform_core_do(): if the "floating_tiles" passed to the
      	  function are from an un-floated non-layer, treat the whole
      	  non-layer as alpha channel and never enter the loop which
      	  transforms the (not present) color channels.
      	  Also clip the result to ensure that the channel never grows
      	  larger then the image.
      	* app/tools_cmds.c
      	* tools/pdbgen/pdb/tools.pdb: transform_core_paste() returns a
      	gboolean now.
  5. 25 Mar, 2000 1 commit
  6. 24 Mar, 2000 1 commit
  7. 24 Feb, 2000 1 commit
    • Sven Neumann's avatar
      app/fileops_cmds.c don't add an already registered load|save handler twice · 9ac098c3
      Sven Neumann authored
       * app/fileops_cmds.c
       * tools/pdbgen/pdb/fileops.pdb: don't add an already registered
       load|save handler twice to the list. This fixes the problem
       that extension were listed twice if a load|save plugin changed.
       * app/plug_in.[ch]: code cleanup, indentation
       * app/xcf.[ch]: same here, include copyright headers
       * plug-ins/common/wmf.c: properly cancel the load if the user
         pressed Cancel in the dialog (fixes bug #6500)
  8. 23 Feb, 2000 2 commits
  9. 17 Feb, 2000 1 commit
    • Manish Singh's avatar
      added 2000 to the copyrights · 45842e26
      Manish Singh authored
      * tools/pdbgen/*.pl: added 2000 to the copyrights
      * tools/pdbgen/lib.pl: it's foo_pdb.[ch] now
      * tools/pdbgen/pdb/drawable.pdb
      * tools/pdbgen/pdb/parasite.pdb: reenabled sanity checks for the
      drawable IDs and the parasite names
      * app/drawable.c
      * app/gimpdrawable.c: added a bunch of g_return_if_fail's, instead
      of the silent check and return in many functions. This should also
      be done in gimpimage.c and the like too.
      * app/gimpdrawable.h
      * app/layer.c: cosmetic code fix
  10. 16 Feb, 2000 2 commits
    • Sven Neumann's avatar
      Cleaned up the Path header mess. · fde31211
      Sven Neumann authored
    • Sven Neumann's avatar
      Moved some functions out of paths_dialog.c into the new file · 1cde0279
      Sven Neumann authored
      paths.c and did a general namespace cleanup:
      s/PATHP/Path*/  s/PATHIMAGELISTP/PathList/ and friends.
      Paths are now copied on image duplicate (fixes bug #5726).
      Removed Path Tool and XInput Airbrush from the build and
      renamed "Layers & Channels" to "Layers, Channels & Paths".
      Applied patch from Wolfgang Hofer to xjt.c that enables loading
      and saving of paths based on Andy's change explained below.
  11. 15 Feb, 2000 1 commit
    • GMT 2000 Andy Thomas's avatar
      gimp/app/gimpdrawable.c gimp/app/channel.c gimp/app/layer.c · 8f6bca32
      GMT 2000 Andy Thomas authored
      Tue Feb 15 23:27:42 GMT 2000 Andy Thomas <alt@gimp.org>
      	 * gimp/app/gimpdrawable.c
      	 * gimp/app/channel.c
      	 * gimp/app/layer.c
      	 * gimp/app/channel.h
      	 * gimp/app/layer.h
      	 * gimp/app/gimpimage.c
      	 * gimp/app/gimpimage.h
      	 * gimp/app/gimpdrawable.h
      	 * gimp/tools/pdbgen/pdb/paths.pdb
      	 * gimp/tools/pdbgen/pdb/layer.pdb
      	 * gimp/tools/pdbgen/pdb/channel.pdb
      	 * gimp/tools/pdbgen/pdb/gimage.pdb
      	 * gimp/app/channel_cmds.c
      	 * gimp/app/gimage_cmds.c
      	 * gimp/app/internal_procs.c
      	 * gimp/app/layer_cmds.c
      	 * gimp/app/paths_cmds.c
      	New gimp_*_set_tattoo procedures. This allows save/load plugins
              to save/restore tattoo states of layers, channels and paths. Note the
      	internal tattoo state can also be set, however rigorous checks are
      	performed to make sure that the internal tattoo states of layer,
      	channels and paths are consistent and that the new state value is
      	newval > MAX(MAX(layertattoo),MAX(channeltattoo),MAX(pathtattoo)).
  12. 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,
      	* plug-ins/Lighting/*
      	* plug-ins/MapObject/*:
      	* 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:
  13. 12 Feb, 2000 1 commit
    • Manish Singh's avatar
      Made 1.1.17 release · 3f4c1479
      Manish Singh authored
      * Made 1.1.17 release
      * Makefile.am: removed gtkrc.forest2 from EXTRA_DIST
      * user_install: s/ecco/echo/
      * tools/pdbgen/pdb/lib.pl: fix array copying
  14. 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
      	* 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.
  15. 04 Feb, 2000 2 commits
  16. 02 Feb, 2000 2 commits
    • Manish Singh's avatar
      Correct g_message call · dafeeec3
      Manish Singh authored
    • GMT 2000 Andy Thomas's avatar
      app/paths_dialog.c · 209c50fe
      GMT 2000 Andy Thomas authored
      Wed Feb  2 22:12:48 GMT 2000 Andy Thomas <alt@gimp.org>
      	* app/paths_dialog.c
      	Fixed bug number #5727 "PDB-call gimp_path_set_points is buggy"
      	* tools/pdbgen/pdb/paths.pdb
      	Added missing paths pdb functions
  17. 01 Feb, 2000 1 commit
  18. 27 Jan, 2000 1 commit
  19. 25 Jan, 2000 2 commits
    • 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.
    • 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
      	* app/plug_in.c: return_val[0] is of type PDB_STATUS, not
      	* 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
      	- 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")
  20. 24 Jan, 2000 2 commits
    • Manish Singh's avatar
      acconfig.h configure.in libgimp/Makefile.am libgimp/gimpregex.h · 81c1e886
      Manish Singh authored
      * acconfig.h
      * configure.in
      * libgimp/Makefile.am
      * libgimp/gimpregex.h
      * libgimp/regex.c
      * app/Makefile.am
      * app/regex.[ch]
      * plug-ins/script-fu/Makefile.am
      * plug-ins/script-fu/regex.[ch]
      * plug-ins/script-fu/interp_regex.c
      * tools/pdbgen/pdb/plug_in.pdb
      * tools/pdbgen/pdb/procedural_db.pdb: reverted previous regex move
      patch. This does *not* belong in libgimp and is just bloat. We'll
      use the regex functionality in glib once it has it.
      * acinclude.m4
      * config.guess
      * config.sub
      * ltconfig
      * ltmain.sh: upgrade to libtool 1.3.4
      * app/convert.c
      * app/gimpbrushpipe.c: minor cleanups
    • Marc Lehmann's avatar
      *** empty log message *** · 32332024
      Marc Lehmann authored
  21. 23 Jan, 2000 1 commit
    • Sven Neumann's avatar
      Renamed gimage->ref_count to disp_count and slightly changed · bceb97a9
      Sven Neumann authored
      the way it is used. As the new name suggests it is only used
      to count the number of displays associated with an image. It
      is now impossible to delete an image that has an associated
      display. You have to delete the display instead. Before this
      change it was possible to delete an image through the PDB that
      was created through the UI and bad things happened soon...
  22. 20 Jan, 2000 1 commit
  23. 18 Jan, 2000 1 commit
  24. 17 Jan, 2000 1 commit
    • Manish Singh's avatar
      use $(LN_S) instead of ln -sf, should fix bug #5289. · 155cd986
      Manish Singh authored
      * help/C/*/Makefile.am: use $(LN_S) instead of ln -sf, should fix
      bug #5289.
      * tools/pdbgen/lib.pl
      * tools/pdbgen/pdb/brushes.pdb
      * tools/pdbgen/pdb/gimage_mask.pdb
      * tools/pdbgen/pdb/guides.pdb
      * tools/pdbgen/pdb/parasite.pdb
      * tools/pdbgen/pdb/unit.pdb: more lib work, slight guide tweak
  25. 11 Jan, 2000 1 commit
    • Sven Neumann's avatar
      in layer_new_from_tiles check if image_type has alpha to avoid obscure · 65bfd700
      Sven Neumann authored
      * app/layer.c: in layer_new_from_tiles check if image_type has alpha
        to avoid obscure bugs if the function is not called correctly
      * app/text_tool_cmds.c
      * tools/pdbgen/pdb/text_tool.pdb: added a hint about using border = -1
        to suppress cropping of empty spaces around the text
  26. 10 Jan, 2000 1 commit
  27. 09 Jan, 2000 1 commit
    • Sven Neumann's avatar
      app/gdisplay.c app/gimage_cmds.c fixed typos · 2ad8a17e
      Sven Neumann authored
       * app/gdisplay.c
       * app/gimage_cmds.c
       * tools/pdbgen/pdb/gimage.pdb: fixed typos
       * app/gimphistogram.c: indentation
       * app/histogramwidget.c: grab the pointer in the histogramwidget,
         so a button_release outside the widget is noticed correctly
       * app/levels.c: instead of undoing the user action, simply don't
         allow the user to set the range in the histogram_widget
  28. 05 Jan, 2000 1 commit
    • Michael Natterer's avatar
      I'm maintaining the helpbrowser (Sven, I dared to add your name, too :-) · 1b2b43ab
      Michael Natterer authored
      2000-01-05  Michael Natterer  <mitch@gimp.org>
      	* PLUGIN_MAINTAINERS: I'm maintaining the helpbrowser (Sven, I
      	dared to add your name, too :-)
      	* app/context_manager.c
      	* app/flip_tool.[ch]
      	* app/perspective_tool.[ch]
      	* app/rotate_tool.[ch]
      	* app/scale_tool.[ch]
      	* app/shear_tool.[ch]
      	* app/transform_core.[ch]
      	* app/transform_tool.[ch]
      	* app/tools_cmds.c
      	* tools/pdbgen/pdb/tools.pdb
      	- Show the correct help pages in the transform tools' dialogs.
      	- The transform tool button of the toolbox is now always pressed
      	  if a transform tool is active (not only for "rotate").
      	- Replaced the transform action (CREATING, HANDLE_1, ...) and the
      	  transform state (INIT, MOTION, ...) #define's with typed enums.
      	- Changed the return type of the *_recalc functions to "void"
      	  instead of "void *" and the return type of the *_transform
      	  functions to "TileManager *" instead of "void *".
      	  (I probably removed an artefact here because all *_recalc
      	   functions returned "(void *) 1").
      	- Use gboolean instead of int where appropriate.
      	- Code cleanup, indentation.
  29. 02 Jan, 2000 1 commit
    • Manish Singh's avatar
      cosmetic fix · a5f9b334
      Manish Singh authored
      * Makefile.am: cosmetic fix
      * libgimp/color_display.h
      * modules/cdisplay_gamma.c: add clone method
      * app/color_area.[ch]
      * app/gdisplay.[ch]
      * app/gdisplay_color.c
      * app/gdisplay_color_ui.c: preliminary support for color_area filter
      (really just a sync to home machine)
      * app/nav_window.c: minor cleanup
      * tools/pdbgen/app.pl: initialize gbooleans to FALSE, not 0
      * tools/pdbgen/lib.pl: some more arg work
  30. 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
  31. 21 Dec, 1999 1 commit
    • Manish Singh's avatar
      added an assert for name != NULL · 120c64df
      Manish Singh authored
      * app/gimpdrawable.c: added an assert for name != NULL
      * tools/pdbgen/pdb/channel.pdb
      * tools/pdbgen/pdb/layer.pdb: sanity check the name parameters
  32. 14 Dec, 1999 2 commits
  33. 24 Nov, 1999 1 commit