Commit Graph

31 Commits

Author SHA1 Message Date
Michael Natterer 7f31929bee Bug 694585 - Export directly to remote ftp completes but reports failed
Fix handling of save errors in file-uri in two ways:

- don't try to check if saving to a directly mounted file succeeded,
  the mount (e.g. via FUSE) might allow writing, but not stat()ing.
  Instead, rely on the return value of gimp_file_save().

- for non-mounted files, provide a separate error message for the case
  where the temporary file contains nothing, which is IMO useless
  paranoia, but the check was probably added for a reason, so keep
  it around.
2013-03-24 18:41:57 +01:00
Øyvind Kolås d1ced11415 plug-ins: add GEGL_CFLAGS to many Makefile.am's 2012-05-02 17:46:08 +02:00
Mikael Magnusson 776d2b9e04 plug-ins: fix debug macro in wget file-uri backend 2012-02-16 11:24:02 +01:00
Michael Natterer 9781aa65ea Bug 658467 - Replace g_format_size_for_display() by g_format_size()
Use g_format_size() instead of g_format_size_for_display() because
the latter is deprecated.
2011-11-30 23:37:55 +01:00
Martin Nordholts f53f8432f8 plug-ins: Fix libcurl URI backend compilation 2011-07-17 15:34:48 +02:00
Mikael Magnusson b8740d285d plug-ins: remove curl/types.h include in curl uri backend which was removed in 7.21.7 2011-07-05 19:54:08 +02:00
Mikael Magnusson 039d4636f8 plug-ins: add ftp and gopher support to curl uri backend 2011-07-05 19:54:06 +02:00
Mikael Magnusson 520d852912 plug-ins: add --progress=dot to work with newer wgets, and add ftp support
Fixes bug 653974 - uri-backend-wget backend is broken
2011-07-05 00:14:34 +02:00
Mikael Magnusson 9e771c3160 file-uri: use correct variable type
uri-backend-libcurl.c:195: warning: call to '_curl_easy_getinfo_err_long'
declared with attribute warning: curl_easy_getinfo expects a pointer to
long for this info
2011-05-07 01:34:34 +02:00
Mikael Magnusson 8ff66342b8 plug-ins: set progress to 1.0 when done 2011-04-10 19:28:43 +02:00
Michael Natterer 8c4d99f883 Bug 645456 - Inconsistent window (role) naming scheme
Applied patch from Christoph Kappel which adds a "gimp-" prefix to all
plug-in dialog window roles.
2011-04-08 20:31:34 +02:00
Martin Nordholts 221f6d0085 plug-ins: file-uri/uri.c initialize backends non-interactvely
In order for DISPLAY-less builds like our nightly Jenkins builds to be
able to query the file-uri plug-in, perform the backend initialization
in query() in run mode GIMP_RUN_NONINTERACTIVE instead of the
"unspecified" 0 == GIMP_RUN_INTERACTIVE run mode.
2011-02-13 10:32:31 +01:00
Michael Schumacher e77dd90fc0 Bug 574018 - Add a manifest to executables
Created a resource file for plug-ins and a rule to link it to them.
The application icon file is smaller than the default one, there's no
point in doubling the size of a plug-in executable just for an icon.

If no problems turn up, this will close the bug.
2010-09-01 08:24:45 +02:00
Michael Natterer 04b01c3a25 plug-ins: actually return FALSE if mount_enclosing_volume() fails 2010-04-01 21:15:19 +02:00
Michael Natterer 74d44ee2df plug-ins: need to initialize "mapped" booleans to FALSE 2010-04-01 21:06:09 +02:00
Michael Schumacher eed061efbb Adding Microsoft Windows executables to the .gitignore files
All binaries have been added individually.
Old binaries are supposed to show up as untracked.
2009-06-19 00:14:17 +02:00
Sven Neumann 6fa2ece547 Avoid use of temporary files for accessing remote files
When using GIO/GVFS, remote files may have a local representation
provided by a FUSE mount. Try to detect this and access the file
directly instead of using a temporary file. Fallback to the old
behavior of using temporary files if GIO can't give us a local path
to the file.
2009-04-21 17:48:17 +02:00
Sven Neumann 9ba967f0e0 simplified the code.
2009-03-31  Sven Neumann  <sven@gimp.org>

	* plug-ins/file-uri/uri-backend-gvfs.c (copy_uri): simplified the
	code.


svn path=/trunk/; revision=28234
2009-03-31 09:52:58 +00:00
Sven Neumann a127f3756a Dropped support for the GnomeVFS file-uri backend. Recent GNOME releases
2009-03-23  Sven Neumann  <sven@gimp.org>

	Dropped support for the GnomeVFS file-uri backend. Recent GNOME
	releases use GIO/GVfs and libgnomeui will also go away soon.

	* INSTALL 
	* configure.in: removed checks for libgnomeui and 
libgnome-keyring.

	* plug-ins/file-uri/Makefile.am
	* plug-ins/file-uri/uri-backend-gnomevfs.c: removed.


svn path=/trunk/; revision=28211
2009-03-23 08:33:46 +00:00
Sven Neumann bb86d4ba52 plug-ins/file-uri/Makefile.am removed these files.
2009-03-05  Sven Neumann  <sven@gimp.org>

	* plug-ins/file-uri/Makefile.am
	* plug-ins/file-uri/gimpmountoperation.[ch]: removed these 
files.

	* plug-ins/file-uri/uri-backend-gvfs.c: use GtkMountOperation
	instead of our copy of this widget.


svn path=/trunk/; revision=28110
2009-03-05 19:44:15 +00:00
Martin Nordholts 4d7a6b10d1 Added .gitignore files generated with git svn create-ignore.
svn path=/trunk/; revision=27972
2009-01-31 11:37:44 +00:00
Michael Natterer 4ea1437646 plug-ins/common/*.c plug-ins/color-rotate/color-rotate.c
2009-01-19  Michael Natterer  <mitch@gimp.org>

	* plug-ins/common/*.c
	* plug-ins/color-rotate/color-rotate.c
	* plug-ins/file-bmp/bmp.c
	* plug-ins/file-faxg3/faxg3.c
	* plug-ins/file-fits/fits.c
	* plug-ins/file-fli/fli-gimp.c
	* plug-ins/file-ico/ico.c
	* plug-ins/file-jpeg/jpeg.c
	* plug-ins/file-psd/psd-save.c
	* plug-ins/file-psd/psd.c
	* plug-ins/file-sgi/sgi.c
	* plug-ins/file-uri/uri.c
	* plug-ins/file-xjt/xjt.c
	* plug-ins/flame/flame.c
	* plug-ins/fractal-explorer/fractal-explorer.c
	* plug-ins/gfig/gfig.c
	* plug-ins/gimpressionist/gimp.c
	* plug-ins/gradient-flare/gradient-flare.c
	* plug-ins/help-browser/help-browser.c
	* plug-ins/ifs-compose/ifs-compose.c
	* plug-ins/imagemap/imap_main.c
	* plug-ins/lighting/lighting-main.c
	* plug-ins/map-object/map-object-main.c
	* plug-ins/maze/maze.c
	* plug-ins/metadata/metadata.c
	* plug-ins/pagecurl/pagecurl.c
	* plug-ins/print/print.c
	* plug-ins/pygimp/gimpfu.py
	* plug-ins/script-fu/script-fu-script.c
	* plug-ins/script-fu/script-fu.c
	* plug-ins/selection-to-path/selection-to-path.c
	* plug-ins/twain/twain.c
	* plug-ins/win-snap/winsnap.c: document the "run-mode" parameter
	as we document enums for core procedures.


svn path=/trunk/; revision=27922
2009-01-19 20:11:36 +00:00
Michael Natterer d9b5207aa2 Change licence to GPLv3 (and to LGPLv3 for libgimp).
2009-01-17  Michael Natterer  <mitch@gimp.org>

	* all files with a GPL header and all COPYING files:

	Change licence to GPLv3 (and to LGPLv3 for libgimp).

	Cleaned up some copyright headers and regenerated the parsers in
	the ImageMap plugin.


svn path=/trunk/; revision=27913
2009-01-17 22:28:01 +00:00
Sven Neumann 3271c2a698 Bug 561899 – GIMP can't save to mounted filesystem if file exists
2008-11-22  Sven Neumann  <sven@gimp.org>

	Bug 561899 – GIMP can't save to mounted filesystem if file 
exists

	* plug-ins/file-uri/uri-backend-gvfs.c (copy_uri): pass the
	G_FILE_COPY_OVERWRITE flag to g_file_copy().


svn path=/trunk/; revision=27709
2008-11-22 16:55:32 +00:00
Sven Neumann cc7222d8e4 added missing include.
2008-11-04  Sven Neumann  <sven@gimp.org>

	* app/display/gimpdisplay-foreach.c: added missing include.

	* app/actions/debug-commands.c
	* plug-ins/common/lcms.c
	* plug-ins/common/mail.c
	* plug-ins/file-bmp/bmp-write.c
	* plug-ins/file-fits/fits.c
	* plug-ins/file-jpeg/jpeg.c
	* plug-ins/file-uri/uri.c
	* plug-ins/help/gimphelpdomain.c
	* plug-ins/ifs-compose/ifs-compose.c
	* plug-ins/print/print.c: fixed use of g_message() with literal
	strings.


svn path=/trunk/; revision=27551
2008-11-04 14:05:24 +00:00
Michael Natterer 89e6d516e9 Bug 554785 – Compile failure on uri-backend-libcurl
2008-10-03  Michael Natterer  <mitch@gimp.org>

	Bug 554785 – Compile failure on uri-backend-libcurl

	* plug-ins/file-uri/uri-backend-libcurl.c: apply patch from Robby
	Workman which fixes the build for this file.


svn path=/trunk/; revision=27116
2008-10-03 12:58:41 +00:00
Sven Neumann e94e09f935 removed spurious commas that broke the build.
2008-10-02  Sven Neumann  <sven@gimp.org>

	* plug-ins/file-uri/uri-backend-wget.c: removed spurious commas
	that broke the build.


svn path=/trunk/; revision=27103
2008-10-02 06:38:44 +00:00
Michael Natterer bc5cb7edc3 plug-ins/file-uri/uri-backend-wget.c s/while (1)/while (TRUE)/
2008-09-10  Michael Natterer  <mitch@gimp.org>

	* plug-ins/file-uri/uri-backend-wget.c
	* plug-ins/file-xjt/xjt.c: s/while (1)/while (TRUE)/


svn path=/trunk/; revision=26912
2008-09-10 09:53:21 +00:00
Sven Neumann 369d991fd2 Complements the fix for bug #344818:
2008-08-19  Sven Neumann  <sven@gimp.org>

	Complements the fix for bug #344818:

	* libgimpbase/gimpbaseenums.[ch]: added new enum 
GimpPDBErrorHandler.

	* tools/pdbgen/enums.pl: regenerated.

	* app/plug-in/gimpplugin.[ch]: added error_handler to 
GimpPlugIn.

	* app/plug-in/gimpplugin-message.c 
(gimp_plug_in_handle_proc_run):
	only display an error message for a failed procedure call if the
	plug-in's error-handler is set to 
GIMP_PDB_ERROR_HANDLER_INTERNAL.
	
	* tools/pdbgen/pdb/plug_in.pdb: added PDB getter and setter for
	the plug-in's error-handler.

	* app/pdb/plug-in-cmds.c
	* app/pdb/internal-procs.c
	* libgimp/gimpenums.c.tail
	* libgimp/gimpplugin_pdb.[ch]: regenerated.

	* plug-ins/common/file-compressor.c
	* plug-ins/file-uri/uri.c: set the error-handler to
	GIMP_PDB_ERROR_HANDLER_PLUGIN as these plug-ins are forwarding 
the
	error with their return values.


svn path=/trunk/; revision=26656
2008-08-18 22:54:26 +00:00
Sven Neumann 8b0384a70a pass error messages with the return values instead of calling g_message().
2008-08-18  Sven Neumann  <sven@gimp.org>

	* plug-ins/file-uri/uri.c: pass error messages with the return
	values instead of calling g_message().

	* plug-ins/file-uri/uri-backend-libcurl.c
	* plug-ins/file-uri/uri-backend-gnomevfs.c
	* plug-ins/file-uri/uri-backend-gvfs.c
	* plug-ins/file-uri/uri-backend-wget.c: set errors in the 
	G_FILE_ERROR domain and other minor cleanups.


svn path=/trunk/; revision=26655
2008-08-18 21:18:01 +00:00
Michael Natterer 3d75c95f95 plug-ins/bmp/* plug-ins/faxg3/* plug-ins/fits/* plug-ins/fli/*
2008-08-11  Michael Natterer  <mitch@gimp.org>

	* plug-ins/bmp/*
	* plug-ins/faxg3/*
	* plug-ins/fits/*
	* plug-ins/fli/*
	* plug-ins/ico/*
	* plug-ins/jpeg/*
	* plug-ins/psd/*
	* plug-ins/sgi/*
	* plug-ins/uri/*
	* plug-ins/xjt/*: removed these...

	* plug-ins/file-bmp/*
	* plug-ins/file-faxg3/*
	* plug-ins/file-fits/*
	* plug-ins/file-fli/*
	* plug-ins/file-ico/*
	* plug-ins/file-jpeg/*
	* plug-ins/file-psd/*
	* plug-ins/file-sgi/*
	* plug-ins/file-uri/*
	* plug-ins/file-xjt/*: and moved them here. Changed executable
	names to "file-foo".

	* plug-ins/Makefile.am: changed accordingly.

	* plug-ins/common/*: rename all file plug-ins to file-foo.c. Get
	rid of the names "poppler" and "postscript" and call them
	"file-pdf" and "file-ps" because the conflict with standard
	autofoo targets is gone.

	* plug-ins/common/plugin-defs.pl: changed accordingly.

	* plug-ins/common/mkgen.pl: make sure cflags variables are named
	"PLUG_IN_NAME_CFLAGS" and not "PLUG-IN-NAME_CFLAGS"

	* plug-ins/common/Makefile.am: regenerated.

	* configure.in: change folders and variable names to match above
	changes.


svn path=/trunk/; revision=26494
2008-08-11 10:06:13 +00:00