1. 11 Mar, 2005 1 commit
  2. 24 Feb, 2005 3 commits
  3. 13 Feb, 2005 1 commit
    • Sven Neumann's avatar
      accept an empty string. · 4cf9d0e4
      Sven Neumann authored
      2005-02-13  Sven Neumann  <sven@gimp.org>
      
      	* app/core/gimpprogress.c (gimp_progress_start): accept an empty
      	string.
      
      	* app/plug-in/plug-in-progress.c: if NULL is passed as message to
      	plug_in_progress_start(), set an empty string on the progress.
      
      	* tools/pdbgen/pdb/progress.pdb:
      	* libgimp/gimpprogress.[ch]: wrap the new gimp_progress_set_text()
      	PDP function with a function that accepts printf-like arguments.
      
      	* libgimp/gimpprogress_pdb.[ch]: regenerated.
      
      	* lots of plug-ins, most of them file plug-ins:
      	use gimp_progress_init(NULL) followed by gimp_progress_set_text()
      	to initialize the progress using the new API instead of constructing
      	a temporary string.
      4cf9d0e4
  4. 10 Feb, 2005 1 commit
    • Michael Natterer's avatar
      use gimp_memsize_to_string() instead of always showing bytes with a · 2b84ce50
      Michael Natterer authored
      2005-02-10  Michael Natterer  <mitch@gimp.org>
      
      	* plug-ins/uri/uri-backend-gnomevfs.c: use gimp_memsize_to_string()
      	instead of always showing bytes with a translatable %llu format
      	string. Increased BUFSIZE to 4096.
      
      	* plug-ins/uri/uri-backend-wget.c (uri_backend_load_image): don't
      	leak the memsize string. Use sizeof(buf) instead of BUFSIZE.
      2b84ce50
  5. 09 Feb, 2005 1 commit
  6. 07 Feb, 2005 2 commits
    • Michael Natterer's avatar
      added backend methods for saving to URIs. · 59633d65
      Michael Natterer authored
      2005-02-07  Michael Natterer  <mitch@gimp.org>
      
      	* plug-ins/uri/uri-backend.h: added backend methods for saving to
      	URIs.
      
      	* plug-ins/uri/uri.c: register a save procecure if the save method
      	is available, using some code from compressor.c
      
      	* plug-ins/uri/uri-backend-gnomevfs.c: implement saving.
      
      	* plug-ins/uri/uri-backend-wget.c: added saving stubs which always
      	fail.
      59633d65
    • Michael Natterer's avatar
      added backend methods uri_backend_init() and uri_backend_shutdown(). · 796898f7
      Michael Natterer authored
      2005-02-07  Michael Natterer  <mitch@gimp.org>
      
      	* plug-ins/uri/uri-backend.h: added backend methods
      	uri_backend_init() and uri_backend_shutdown().
      
      	* plug-ins/uri/uri.c: call them around using other backend
      	functions (both in query() and run()).
      
      	* plug-ins/uri/uri-backend-gnomevfs.c: moved init()/shutdown() of
      	GnomeVFS into the new backend methods. Create the list of
      	supported protocols dynamically. Get rid of one translatable
      	string.
      
      	* plug-ins/uri/uri-backend-wget.c: implement the new methods as
      	empty stubs which always succeed.
      796898f7
  7. 06 Feb, 2005 1 commit
    • Michael Natterer's avatar
      removed. · 2ea0103d
      Michael Natterer authored
      2005-02-06  Michael Natterer  <mitch@gimp.org>
      
      	* plug-ins/common/url.c: removed.
      
      	* plug-ins/common/plugin-defs.pl: changed accordingly.
      
      	* plug-ins/common/.cvsignore
      	* plug-ins/common/Makefile.am: regenerated.
      
      	* configure.in
      	* plug-ins/Makefile.am: added the "uri" subdir.
      
      	* plug-ins/uri/.cvsignore
      	* plug-ins/uri/Makefile.am
      	* plug-ins/uri/uri-backend-wget.c
      	* plug-ins/uri/uri-backend.h
      	* plug-ins/uri/uri.c: new files: split uri plug-in into common and
      	backend-specific code that will soon optionally use gnomre-vfs.
      
      	Also treat everything after the basename's first dot as extension,
      	not after the last dot, so opening "foo.ext.gz" doesn't trigger
      	warnings from the compressor plug-in.
      2ea0103d
  8. 09 Nov, 2004 1 commit
    • Sven Neumann's avatar
      removed debug output. · 37ea9d98
      Sven Neumann authored
      2004-11-09  Sven Neumann  <sven@gimp.org>
      
      	* plug-ins/common/url.c: removed debug output.
      37ea9d98
  9. 28 Oct, 2004 1 commit
    • Sven Neumann's avatar
      plug-ins/bmp/bmp.c plug-ins/common/CEL.c plug-ins/common/aa.c · 8a46ff87
      Sven Neumann authored
      2004-10-28  Sven Neumann  <sven@gimp.org>
      
      	* plug-ins/bmp/bmp.c
      	* plug-ins/common/CEL.c
      	* plug-ins/common/aa.c
      	* plug-ins/common/compressor.c
      	* plug-ins/common/csource.c
      	* plug-ins/common/dicom.c
      	* plug-ins/common/gbr.c
      	* plug-ins/common/gif.c
      	* plug-ins/common/gifload.c
      	* plug-ins/common/gih.c
      	* plug-ins/common/gtm.c
      	* plug-ins/common/header.c
      	* plug-ins/common/jpeg.c
      	* plug-ins/common/mng.c
      	* plug-ins/common/pat.c
      	* plug-ins/common/pcx.c
      	* plug-ins/common/pix.c
      	* plug-ins/common/png.c
      	* plug-ins/common/pnm.c
      	* plug-ins/common/postscript.c
      	* plug-ins/common/psd.c
      	* plug-ins/common/psd_save.c
      	* plug-ins/common/psp.c
      	* plug-ins/common/sunras.c
      	* plug-ins/common/svg.c
      	* plug-ins/common/tga.c
      	* plug-ins/common/tiff.c
      	* plug-ins/common/url.c
      	* plug-ins/common/wmf.c
      	* plug-ins/common/xbm.c
      	* plug-ins/common/xpm.c
      	* plug-ins/common/xwd.c
      	* plug-ins/faxg3/faxg3.c
      	* plug-ins/fits/fits.c
      	* plug-ins/gfli/gfli.c
      	* plug-ins/sgi/sgi.c
      	* plug-ins/winicon/main.c
      	* plug-ins/xjt/xjt.c: removed the calls to gimp_plugin_menu_register()
      	from all plug-ins. File plug-ins don't register into a menu any longer.
      8a46ff87
  10. 11 Aug, 2004 1 commit
    • Michael Natterer's avatar
      app/core/gimpdrawable-blend.c some progress cleanup. · 502f9b71
      Michael Natterer authored
      2004-08-11  Michael Natterer  <mitch@gimp.org>
      
      	* app/core/gimpdrawable-blend.c
      	* app/core/gimpprogress.c: some progress cleanup.
      
      	* app/display/gimpstatusbar.c (gimp_statusbar_progress_start): no
      	need to warn if there is already a progress active, just silently
      	return NULL as all other GimpProgressInterface implementors.
      
      	* app/plug-in/plug-in-progress.c: several progress fixes.
      	It's still a mess.
      
      	* plug-ins/common/url.c: don't show progress depending on
      	run_mode. Run the actual file plug-in with the same run_mode we
      	were invoked with.
      502f9b71
  11. 16 Jul, 2004 2 commits
    • Sven Neumann's avatar
      use g_slist_prepend() instead of g_slist_append(). · 81bdb3c8
      Sven Neumann authored
      2004-07-17  Sven Neumann  <sven@gimp.org>
      
      	* app/plug-in/plug-ins.c (plug_ins_temp_proc_def_add)
      	(plug_ins_init_file): use g_slist_prepend() instead of
      	g_slist_append().
      
      	* plug-ins/common/url.c (query): ported to the new PDB registration
      	scheme.
      81bdb3c8
    • Sven Neumann's avatar
      app/widgets/Makefile.am app/widgets/widgets-types.h added new widget that · ccf8ed69
      Sven Neumann authored
      2004-07-16  Sven Neumann  <sven@gimp.org>
      
      	* app/widgets/Makefile.am
      	* app/widgets/widgets-types.h
      	* app/widgets/gimpfileprocview.[ch]: added new widget that offers
      	a treeview on file procedures.
      
      	* app/widgets/gimpfiledialog.[ch]: replaced the file type option
      	menu with the new GimpFileProcView widget.
      	(gimp_file_dialog_set_image): reset the file type to Automatic
      	(fixes bug #141535).
      
      	* app/actions/file-commands.c
      	* app/gui/file-open-dialog.[ch]
      	* app/gui/file-save-dialog.[ch]: changed accordingly.
      
      	* plug-ins/common/bz2.c
      	* plug-ins/common/gz.c: don't register "xcf.gz" and "xcf.bz2"
      	extension. It's redundant and breaks the code that sets the
      	extension from the selected file-type.
      
      	* plug-ins/common/dicom.c: register a shorter menu label.
      
      	* plug-ins/common/gbr.c
      	* plug-ins/common/gih.c
      	* plug-ins/common/pat.c
      	* plug-ins/common/url.c: register stock icons.
      ccf8ed69
  12. 21 Jun, 2004 1 commit
  13. 20 Jan, 2004 1 commit
  14. 11 Jan, 2004 1 commit
    • Tor Lillqvist's avatar
      Convert to native encoding (if requested) only after expanding completely. · 6ee79a75
      Tor Lillqvist authored
      2004-01-11  Tor Lillqvist  <tml@iki.fi>
      
      	* app/config/gimpconfig-path.c: Convert to native encoding (if
      	requested) only after expanding completely. (Mentioned in #130118,
      	patch by Sven.)
      
      	* app/base/tile-swap.c
      	* app/pdb/image_cmds.c
      	* app/plug-in/plug-in.c
      	* libgimp/gimp.c
      	* libgimpbase/gimpdatafiles.c
      	* libgimpbase/gimpenv.c
      	* libgimpmodule/gimpmoduledb.c
      	* plug-ins/common/bz2.c
      	* plug-ins/common/gz.c
      	* plug-ins/common/mail.c
      	* plug-ins/common/ps.c
      	* plug-ins/common/url.c
      	* plug-ins/gfig/gfig-preview.c
      	* plug-ins/helpbrowser/helpbrowser.c
      	* plug-ins/print/print.c
      	* plug-ins/script-fu/script-fu-scripts.c
      	* tools/pdbgen/pdb/image.pdb: Remove __EMX__ ifdefs. EMX port is
      	unmaintained, presumed dead. (#131109)
      6ee79a75
  15. 01 Jul, 2003 1 commit
  16. 13 Jun, 2003 1 commit
    • Michael Natterer's avatar
      Cleaned up and improved the message system: · 5e950b55
      Michael Natterer authored
      2003-06-13  Michael Natterer  <mitch@gimp.org>
      
      	Cleaned up and improved the message system:
      
      	* app/core/gimp.[ch]: added "const gchar *domain" to
      	GimpMessageFunc (a NULL domain means the message is from the GIMP
      	core, everything else is a plug-in).
      
      	* app/errors.c: pass "domain == NULL" to gimp_message().
      
      	* tools/pdbgen/pdb/message.pdb: derive the message domain from the
      	current plug-in's menu_path (evil hack but works reasonably well).
      
      	* app/pdb/message_cmds.c: regenerated.
      
      	* app/widgets/gimpwidgets-utils.[ch] (gimp_message_box): added a
      	header showing the message domain and changed the dialog layout to
      	follow the HIG more closely.
      
      	* app/gui/error-console-dialog.[ch]: removed.
      
      	* app/widgets/gimperrorconsole.[ch]
      	* app/gui/error-console-commands.[ch]
      	* app/gui/error-console-menu.[ch]: new files containing a
      	re-implementation of the error console dialog.
      
      	* app/gui/Makefile.am
      	* app/gui/dialogs-constructors.c
      	* app/gui/gui.c
      	* app/gui/menus.c
      	* app/widgets/Makefile.am
      	* app/widgets/widgets-types.h: changed accordingly.
      
      	* app/display/gimpprogress.c: added more spacing and removed the
      	separator (more HIG compliant).
      
      	* plug-ins/[most plug-ins].c: Changed lots of messages and
      	progress strings:
      
      	- Removed plug-in names from messages since that's automatically
      	  covered by "domain" now.
      	- Put all filenames in ''.
      	- Changed "Loading" to "Opening".
      	- Added "..." to all progress messages.
      	- Cleaned up all file open/save error messages to look the
      	  same and include g_strerror(errno).
      	- Removed special casing for progress bars and *always* show them,
      	  not only if run_mode != GIMP_RUN_NONINTERACTIVE (we can't expect
      	  all plug-ins to do this correctly but need to hack the core to
      	  sort out unwanted progress bars).
      
      	Unrelated:
      
      	- Cleaned up indentation, spacing, #includes, coding style and
      	  other stuff while I was at all these files.
      5e950b55
  17. 23 Apr, 2003 1 commit
  18. 10 Apr, 2002 1 commit
  19. 08 Jan, 2002 1 commit
    • Michael Natterer's avatar
      plug-ins/common/tga.c plug-ins/common/threshold_alpha.c · c6ad46ba
      Michael Natterer authored
      2002-01-08  Michael Natterer  <mitch@gimp-org>
      
      	* plug-ins/common/tga.c
      	* plug-ins/common/threshold_alpha.c
      	* plug-ins/common/tiff.c
      	* plug-ins/common/tile.c
      	* plug-ins/common/tileit.c
      	* plug-ins/common/tiler.c
      	* plug-ins/common/uniteditor.c
      	* plug-ins/common/unsharp.c
      	* plug-ins/common/url.c
      	* plug-ins/common/zealouscrop.c: compile with
      	GTK_DISABLE_DEPRECATED, cleanup.
      c6ad46ba
  20. 19 Dec, 2001 1 commit
    • Sven Neumann's avatar
      app/plug-in/Makefile.am new files. Started to split plug-in.c into smaller · 774caf0e
      Sven Neumann authored
      2001-12-19  Sven Neumann  <sven@gimp.org>
      
      	* app/plug-in/Makefile.am
      	* app/plug-in-proc/plug-in-proc.[ch]: new files. Started to split
      	plug-in.c into smaller pieces.
      
      	* app/plug-in/plug-in-types.h: namespacified GimpRunModeType enum and
      	renamed it to GimpRunMode.
      
      	* app/plug-in/plug-in.[ch]
      	* app/gimphelp.c
      	* app/file/file-open.[ch]
      	* app/file/file-save.[ch]
      	* app/file/file-utils.c
      	* app/gui/file-commands.c
      	* app/gui/file-open-dialog.c
      	* app/gui/file-save-dialog.c
      	* app/gui/paths-dialog.c
      	* app/xcf/xcf.c
      	* tools/pdbgen/pdb/fileops.pdb: changed accordingly.
      
      	* app/pdb/fileops_cmds.c
      	* libgimp/gimpenums.h
      	* plug-ins/script-fu/script-fu-constants.c
      	* libgimp/gimpfileops_pdb.[ch]
      	* tools/pdbgen/enums.pl: regenerated.
      
      	* libgimp/Makefile.am
      	* libgimp/gimpcompat.h: added gimpcompat.h mostly as a place to
      	document plug-in API changes.
      
      	* plug-ins/*: changed all occurences of GimpRunModeType to GimpRunMode.
      774caf0e
  21. 06 Dec, 2001 1 commit
  22. 13 Nov, 2000 1 commit
  23. 08 Nov, 2000 1 commit
    • Michael Natterer's avatar
      plug-ins/common/bz2.c plug-ins/common/gz.c plug-ins/common/mail.c · 841c4278
      Michael Natterer authored
      2000-11-08  Michael Natterer  <mitch@gimp.org>
      
      	* plug-ins/common/bz2.c
      	* plug-ins/common/gz.c
      	* plug-ins/common/mail.c
      	* plug-ins/common/screenshot.c
      	* plug-ins/common/url.c: applied a (modified) version of
      	gimp-quinet-20001108-1.patch which adds proper checking of the
      	return value of waitpid(). Removed the lines adding
      	gimp_signal_private() because of the fix below.
      
      	* libgimp/gimp.c: Don't install a SIGCHLD signal handler but simply
      	call gimp_signal_private(SIGCHLD, SIG_DFL, SA_RESTART) instead.
      
      	This is IMHO the right thing to do because the reason for the
      	introducion of the signal handler was the SA_RESTART feature
      	and not the handler itself.
      841c4278
  24. 25 Aug, 2000 1 commit
    • Sven Neumann's avatar
      tools/pdbgen/pdb/fileops.pdb added a few more PDB wrappers · cb7d5a17
      Sven Neumann authored
      2000-08-25  Sven Neumann  <sven@gimp.org>
      
      	* tools/pdbgen/pdb/fileops.pdb
      	* tools/pdbgen/pdb/selection.pdb: added a few more PDB wrappers
      
      	* tools/pdbgen/pdb/image.pdb: tweaked the help and blurb strings
      
      	* app/image_cmds.c
      	* libgimp/gimpfileops_pdb.[ch]
      	* libgimp/gimpimage_pdb.c
      	* libgimp/gimpselection_pdb.[ch]: regenerated
      
      	* plug-ins/common/bz2.c
      	* plug-ins/common/gz.c
      	* plug-ins/common/mail.c
      	* plug-ins/common/screenshot.c
      	* plug-ins/common/url.c
      	* plug-ins/gdyntext/gdyntext.c
      	* plug-ins/gfig/gfig.c: use new PDB wrappers.
      	For GDynText this change fixes a bug since it used to use the
      	wrong number of arguments for gimp_selection_load().
      
      	* plug-ins/flame/rect.[ch]: removed compiler warning
      cb7d5a17
  25. 22 Aug, 2000 1 commit
  26. 25 Jun, 2000 1 commit
  27. 07 Jun, 2000 1 commit
    • Michael Natterer's avatar
      Jay Cox <jaycox@gimp.org> · b415fe96
      Michael Natterer authored
      2000-06-07  Michael Natterer  <mitch@gimp.org>
                  Jay Cox  <jaycox@gimp.org>
      
      	* plug-ins/common/gifload.c: test for GIMP_HAVE_PARASITES
      
      	* plug-ins/common/url.c: open a pipe to the wget child and
      	parse it's output so we can display a progressbar.
      b415fe96
  28. 01 May, 2000 1 commit
  29. 31 Jan, 2000 2 commits
  30. 25 Jan, 2000 1 commit
    • Michael Natterer's avatar
      configure.in po-plug-ins/POTFILES.in plug-ins/common/Makefile.am · fa30ba04
      Michael Natterer authored
      2000-01-25  Michael Natterer  <mitch@gimp.org>
      
      	* configure.in
      	* po-plug-ins/POTFILES.in
      	* plug-ins/common/Makefile.am
      	* plug-ins/common/plugin-defs.pl
      	* plug-ins/megawidget/*: removed. (There were only 3 functions
      	left which were used by ~5 plugins, so I moved the resp. functions
      	to the plugins). More preview stuff to come...
      
      	* app/airbrush_blob.c
      	* modules/colorsel_triangle.c
      	* modules/colorsel_water.c: use G_PI instead of M_PI.
      
      	* app/procedural_db.h
      	* libgimp/gimpenums.h
      	* plug-ins/script-fu/script-fu-constants.c
      	* tools/pdbgen/enums.pl: new PDB return value STATUS_CANCEL which
      	indicates that "Cancel" was pressed in a plugin dialog. (Useful
      	only for file load/save plugins).
      
      	* app/fileops.[ch]
      	* app/menus.c: changes to handle STATUS_CANCEL correctly. Did some
      	code cleanup in fileops.[ch]. Pop up a warning if File->Save
      	failed.
      
      	* app/plug_in.c: return_val[0] is of type PDB_STATUS, not
      	PDB_INT32.
      
      	* libgimp/gimpmath.h: new constant G_MAXRAND which equals to
      	RAND_MAX if it exists or to G_MAXINT otherwise.
      
      	* libgimp/gimpwidgets.[ch]: new function gimp_random_seed_new()
      	which creates a spinbutton and a "Time" toggle.
      	Call the function which does the "set_sensitive" magic from the
      	radio button callback.
      
      	* plug-ins/[75 plugins]:
      
      	- Return STATUS_CANCEL in all file load/save dialogs if "Cancel"
      	  was pressed.
      	- Standardized the file plugins' "run" functions.
      	- Use G_PI and G_MAXRAND everywhere.
      	- Added tons of scales and spinbuttons instead of text entries.
      	- Applied uniform packing/spacings all over the place.
      	- Reorganized some UIs (stuff like moving the preview to the top
      	  left corner of the dialog).
      	- Removed many ui helper functions and callbacks and use the stuff
      	  from libgimp instead.
      	- I tried not to restrict the range of possible values when I
      	  replaced entries with spinbuttons/scales but may have failed,
      	  though in some cases. Please test ;-)
      	- #include <libgimp/gimpmath.h> where appropriate and use it's
      	  constants.
      	- Indentation, s/int/gint/ et.al., code cleanup.
      
      	RFC: The plugins are definitely not useable with GIMP 1.0 any
      	     more, so shouldn't we remove all the remaining compatibility
      	     stuff ??? (like "#ifdef GIMP_HAVE_PARASITES")
      fa30ba04
  31. 09 Jan, 2000 1 commit
    • SHIRASAKI Yasuhiro's avatar
      plug-ins/common/tga.c plug-ins/common/tiff.c plug-ins/common/tile.c · c4a22120
      SHIRASAKI Yasuhiro authored
              * plug-ins/common/tga.c
              * plug-ins/common/tiff.c
              * plug-ins/common/tile.c
              * plug-ins/common/tileit.c
              * plug-ins/common/tiler.c
              * plug-ins/common/url.c
              * plug-ins/common/video.c
              * plug-ins/common/vinvert.c
              * plug-ins/common/vpropagate.c
              * po-plug-ins/POTFILES.in: added gettext support.
      
              * plug-ins/common/threshold_alpha.c: fixed typo.
      
      -- yasuhiro
      c4a22120
  32. 27 Oct, 1999 1 commit
  33. 11 Sep, 1999 1 commit
  34. 29 Apr, 1999 1 commit
  35. 20 Sep, 1998 1 commit
    • Manish Singh's avatar
      Upgraded to libtool 1.2b · ab0f6afc
      Manish Singh authored
      * Upgraded to libtool 1.2b
      
      * Reversioned libgimp to use gtk-style without a funky soname
      
      * configure.in: craft GLIB_CFLAGS and GLIB_LIBS
      
      * Makefile.am (pretty much all of em): changed to use new library
      naming scheme. Only link libgimpui and libgtk et al to the plugins
      that actually need them.
      
      * app/gimage_cmds.c: corrected typo that resulted in corrupt PDB
      record
      
      * libgimp/gimp.h
      * libgimp/gimpwire.h
      * libgimp/gimpmenu.[ch]: clean up the callback code
      
      * Removed unecessary inclusion of gtk headers for plugins that
      don't use em
      
      * plug-ins/zealouscrop/zealouscrop.c: use gint8 instead of gboolean,
      save some mem
      
      * plugged some warnings in animationplay, flame, fp, gee, gfig
      
      * gimptool.in: changes for library reversioning, added --nogimpui
      option for not linking in libgimpui
      
      * configure.in: added finnish translation
      
      -Yosh
      ab0f6afc