2008-08-20 Sven Neumann <sven@gimp.org>
* plug-ins/file-xjt/xjt.c: pass error messages with the return
values instead of calling g_message().
svn path=/trunk/; revision=26675
2008-08-19 Sven Neumann <sven@gimp.org>
* plug-ins/file-bmp/bmp.[ch]
* plug-ins/file-bmp/bmp-read.c
* plug-ins/file-bmp/bmp-write.c: for most errors, pass the error
message with the return values instead of calling g_message().
svn path=/trunk/; revision=26657
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 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 Sven Neumann <sven@gimp.org>
* plug-ins/common/file-compressor.c: open the temporary file
before forking. This allows us to return an error message if the
file can't be opened. Also changed the code to not use
g_message()
from the child process.
svn path=/trunk/; revision=26653
2008-08-18 Sven Neumann <sven@gimp.org>
* plug-ins/common/file-compressor.c: pass some error message
with
the return values instead of calling g_message().
svn path=/trunk/; revision=26652
2008-08-18 Sven Neumann <sven@gimp.org>
* plug-ins/common/file-gbr.c
* plug-ins/common/file-gih.c
* plug-ins/common/file-pat.c
* plug-ins/common/file-pix.c
* plug-ins/common/file-sunras.c: for the most common errors,
pass
the error message with the return values instead of calling
g_message().
svn path=/trunk/; revision=26650
2008-08-18 Sven Neumann <sven@gimp.org>
* plug-ins/common/file-xbm.c
* plug-ins/common/file-xpm.c
* plug-ins/common/file-xwd.c: for the most common errors, pass
the
error message with the return values instead of calling
g_message().
svn path=/trunk/; revision=26646
2008-08-18 Sven Neumann <sven@gimp.org>
* plug-ins/common/file-wmf.c: pass error message with the return
values instead of calling g_message().
svn path=/trunk/; revision=26642
2008-08-18 Sven Neumann <sven@gimp.org>
* plug-ins/common/file-pnm.c
* plug-ins/common/file-ps.c
* plug-ins/common/file-psp.c: for the most common errors, pass
the
error message with the return values instead of calling
gimp_message().
svn path=/trunk/; revision=26639
2008-08-18 Sven Neumann <sven@gimp.org>
* plug-ins/common/file-mng.c
* plug-ins/common/file-pcx.c: for the most common errors,
pass the error message with the return values instead of calling
gimp_message().
* plug-ins/common/file-gif-save.c
* plug-ins/common/file-pdf.c
* plug-ins/common/file-png.c: minor cleanup.
svn path=/trunk/; revision=26638
2008-08-17 Sven Neumann <sven@gimp.org>
* plug-ins/common/file-pdf.c: in case of an error, pass the
error
message with the return values.
svn path=/trunk/; revision=26637
2008-08-17 Sven Neumann <sven@gimp.org>
* plug-ins/common/file-gif-load.c
* plug-ins/common/file-gif-save.c: for the most common errors,
pass the error message with the return values instead of calling
gimp_message().
* plug-ins/common/file-png.c: unmarked a string for translation.
This error condition can't possibly happen.
* plug-ins/common/file-svg.c: also return an error message when
the thumbnail can't be loaded.
svn path=/trunk/; revision=26636
2008-08-17 Sven Neumann <sven@gimp.org>
* plug-ins/common/file-dicom.c: for the most common errors, pass
the error message with the return values instead of calling
gimp_message().
svn path=/trunk/; revision=26634
2008-08-17 Sven Neumann <sven@gimp.org>
* plug-ins/common/file-csource.c (save_image): in case of an
error, pass the error message with the return values.
svn path=/trunk/; revision=26633
2008-08-17 Sven Neumann <sven@gimp.org>
* plug-ins/common/file-desktop-link.c
* plug-ins/common/file-svg.c: changed to pass error messages
with
the return values instead of calling g_message().
svn path=/trunk/; revision=26626
2008-08-17 Sven Neumann <sven@gimp.org>
* plug-ins/script-fu/scripts/glowing-logo.scm
* plug-ins/script-fu/scripts/neon-logo.scm: changed the "Alpha
to
Logo" parts of these scripts so that the user can specify the
effect size directly instead of as some multiple of the size.
svn path=/trunk/; revision=26623
2008-08-17 Sven Neumann <sven@gimp.org>
* plug-ins/script-fu/scripts/starscape-logo.scm: dropped the
"Alpha to Logo" part of the "Starscape logo script. It had a
similar problem as the Starburst script (see bug #486779).
svn path=/trunk/; revision=26622
2008-08-17 Sven Neumann <sven@gimp.org>
Next step towards fixing bug #344818:
* app/pdb/gimpprocedure.c (gimp_procedure_execute): if the error
has not already been set, construct one from the error message
that is optionally passed with the return values.
* plug-ins/common/file-png.c: changed to pass an error message
with the return values instead of calling g_message() in case of
an error.
svn path=/trunk/; revision=26620
2008-08-17 Sven Neumann <sven@gimp.org>
* plug-ins/file-psd/psd-util.c (psd_set_error): changed to use
g_error_new_literal().
svn path=/trunk/; revision=26617
2008-08-16 Sven Neumann <sven@gimp.org>
* plug-ins/pygimp/pygimp-pdb.c (pf_call): also use
gimp_get_pdb_error() here. Easier and safer than looking at the
return values to get the error message.
svn path=/trunk/; revision=26604
2008-08-16 Sven Neumann <sven@gimp.org>
Next step towards fixing bug #344818:
* libgimp/gimp.[ch]: keep the last error status and error
message
in libgimp. Added new functon gimp_pdb_get_error() that allows
to
retrieve it.
* libgimp/gimp.def: updated.
* plug-ins/pygimp/gimpmodule.c (pygimp_vectors_import_from_file)
(pygimp_vectors_import_from_string): use the new function to get
a more useful error message.
svn path=/trunk/; revision=26602
2008-08-16 Sven Neumann <sven@gimp.org>
If a procedure call fails, pass a string describing the error as
the second return value. First step towars fixing bug #344818.
* app/pdb/gimpprocedure.[ch] (gimp_procedure_get_return_values):
added a GError parameter. If it is set, pass the error message
to
the return values.
* app/pdb/gimppdberror.h: added some more error codes.
* app/pdb/gimppdb.c
* app/xcf/xcf.c: pass errors to
gimp_procedure_get_return_values().
* app/plug-in/gimpplugin-message.c
(gimp_plug_in_handle_proc_run):
show a different error message for execution vs. calling errors.
* app/plug-in/gimpplugin-progress.c
(gimp_plug_in_progress_cancel_callback): pass the error
GIMP_PDB_CANCELLED to gimp_procedure_get_return_values().
* app/plug-in/gimppluginmanager-call.[ch]
(gimp_plug_in_manager_call_run): removed the
'destroy_return_vals'
parameter.
* app/plug-in/gimppluginprocedure.c: destroy the return values
here.
* app/plug-in/gimppluginprocframe.c: pass an error to
gimp_procedure_get_return_values().
* tools/pdbgen/app.pl
* tools/pdbgen/pdb/fileops.pdb: generate code that passes the
error to gimp_procedure_get_return_values().
* app/pdb/*-cmds.c: regenerated.
* plug-ins/pygimp/pygimp-pdb.c: extract the error message from
the
return values and pass it to the exception that is thrown.
svn path=/trunk/; revision=26593
2008-08-15 Sven Neumann <sven@gimp.org>
* plug-ins/common/mosaic.c (polygon_add_point): converted a
g_print() call to g_warning() and unmarked the string for
translation.
svn path=/trunk/; revision=26576
2008-08-14 Michael Natterer <mitch@gimp.org>
* plug-ins/help-browser/dialog.c (search_entry_key_press): search
the next match when return or enter is pressed in the search
entry.
svn path=/trunk/; revision=26568
2008-08-14 Sven Neumann <sven@gimp.org>
* plug-ins/pygimp/plug-ins/python-console.py: renamed the dialog
class to ConsoleDialog to avoid confusion with
pyconsole.Console.
svn path=/trunk/; revision=26544
2008-08-13 Sven Neumann <sven@gimp.org>
* plug-ins/pygimp/plug-ins/python-console.py: instead of calling
gimp-displays-flush twice a second, call it after each command
that is committed. This is similar to what the Script-Fu console
does.
* plug-ins/script-fu/script-fu-console.c: formatting.
svn path=/trunk/; revision=26543
2008-08-13 Sven Neumann <sven@gimp.org>
* plug-ins/help/gimphelplocale.c (gimp_help_locale_parse):
reverted the last change as g_file_query_info() is now also
implemented on Win32.
svn path=/trunk/; revision=26537
2008-08-13 Sven Neumann <sven@gimp.org>
* plug-ins/help/gimphelplocale.c (gimp_help_locale_parse):
continue even if g_file_query_info() fails. We can't show proper
progress information then, but we can still attempt the
download.
svn path=/trunk/; revision=26536
2008-08-11 Michael Natterer <mitch@gimp.org>
* configure.in: check for lcms with PKG_CHECK_MODULES(). Remove
check for <lcms.h> vs. <lsmc/lsmc.h> because the pc file should
give us the right location now.
* modules/cdisplay_lcms.c
* modules/cdisplay_proof.c
* modules/colorsel_cmyk_lcms.c
* plug-ins/file-jpeg/jpeg-load.c
* plug-ins/common/lcms.c: #include <lcms.h> and nothing else.
* modules/Makefile.am
* plug-ins/file-jpeg/Makefile.am
* plug-ins/common/plugin-defs.pl: add LCMS_CFLAGS where appropriate.
* plug-ins/common/Makefile.am: regenerated.
svn path=/trunk/; revision=26503
2008-08-11 Sven Neumann <sven@gimp.org>
* plug-ins/common/plugin-defs.pl: removed the LIBFOO hack from
this script.
* plug-ins/common/mkgen.pl: explicitely specify the libs in the
two places where it wasn't done yet.
* plug-ins/common/Makefile.am: regenerated.
svn path=/trunk/; revision=26499
2008-08-11 Michael Natterer <mitch@gimp.org>
* configure.in: change all LIBFOO variables to FOO_LIBS for
consistency, could get rid of some variables alltogether since
PNG_CHECK_MODULES() already defined FOO_LIBS.
* tools/Makefile.am
* modules/Makefile.am
* plug-ins/file-ico/Makefile.am
* plug-ins/file-jpeg/Makefile.am
* plug-ins/file-psd/Makefile.am
* plug-ins/file-xjt/Makefile.am
* plug-ins/common/plugin-defs.pl
* plug-ins/common/mkgen.pl: changed accordingly.
* plug-ins/common/Makefile.am: regenerated.
svn path=/trunk/; revision=26498
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-07 Sven Neumann <sven@gimp.org>
* plug-ins/script-fu/scripts/frosty-logo.scm: applied slightly
modified version of a patch provided by LightningIsMyName.
Catches some cases where the script would fail (bug #472316).
svn path=/trunk/; revision=26433
2008-08-07 Sven Neumann <sven@gimp.org>
* plug-ins/print/print.c (print_image): get rid of the
gimp_export_image() hack and use the new procedure
gimp-layer-new-from-visible instead. Finally we can print what
the
user sees (including channels).
svn path=/trunk/; revision=26427
2008-08-05 Sven Neumann <sven@gimp.org>
* plug-ins/common/value-propagate.c (value_propagate_body):
reduced number of progress updates.
svn path=/trunk/; revision=26384
2008-08-04 Sven Neumann <sven@gimp.org>
* plug-ins/common/value-propagate.c: applied patch from Liam
Quin
as attached to bug #546159. Fixes bad data access for black and
white propagation and removes unneeded calls to sqrt().
svn path=/trunk/; revision=26362
2008-07-24 Sven Neumann <sven@gimp.org>
* configure.in: minor cleanup of the checks for the URI plug-in.
* plug-ins/uri/Makefile.am: changed accordingly.
svn path=/trunk/; revision=26300
2008-07-22 Sven Neumann <sven@gimp.org>
* plug-ins/help-browser/dialog.c (build_menu): check the return
value of webkit_web_history_item_get_title() to guard us against
a (reported) bug in WebKit.
svn path=/trunk/; revision=26278
2008-07-21 Michael Natterer <mitch@gimp.org>
* app/gui/splash.c
* plug-ins/common/*.c: don't use gtk_box_pack_start_defaults(),
it got deprecated in GTK+ trunk.
svn path=/trunk/; revision=26252
2008-07-16 Sven Neumann <sven@gimp.org>
* plug-ins/help-browser/dialog.c: also start the search when the
slash key is pressed. Added a "find-again" feature bound to
Ctrl-G.
svn path=/trunk/; revision=26204
2008-07-16 Sven Neumann <sven@gimp.org>
* plug-ins/help-browser/dialog.c: applied patch from Róman Joost
as attached to bug #542826 (with some minor modifications). This
adds a "Search in this page" feature bound to Ctrl-F.
svn path=/trunk/; revision=26196
2008-07-14 Sven Neumann <sven@gimp.org>
Add new PDB data type PDB_COLORARRAY for using arrays of GimpRGB
colors as argument or return value.
* libgimpbase/gimpbaseenums.[ch] (enum GimpPDBArgType): replaced
the unused GIMP_PDB_BOUNDARY with GIMP_PDB_COLORARRAY.
* libgimpbase/gimpprotocol.h: increased GIMP_PROTOCOL_VERSION.
(struct _GPParam): added d_colorarray entry to the union.
* libgimpbase/gimpprotocol.c
* libgimp/gimp.[ch]
* app/pdb/gimp-pdb-compat.c
* app/plug-in/plug-in-params.c
* app/plug-in/gimpplugin-message.c
* tools/pdbgen/pdb.pl: deal with the new data type.
* tools/pdbgen/enums.pl: regenerated.
* plug-ins/pygimp/pygimp-pdb.c
* plug-ins/script-fu/scheme-wrapper.c: handle the new data type.
svn path=/trunk/; revision=26189
2008-07-11 Sven Neumann <sven@gimp.org>
* plug-ins/selection-to-path/pxl-outline.c (append_coordinate):
use g_printerr() for debug output.
svn path=/trunk/; revision=26130
2008-07-09 Sven Neumann <sven@gimp.org>
* plug-ins/common/tiff-load.c (tiff_warning): send warnings about
unknown fields to stderr instead of using the log mechanism.
svn path=/trunk/; revision=26093
2008-07-08 Sven Neumann <sven@gimp.org>
* plug-ins/help-browser/dialog.c (load_finished): select the
current URI in the index. Pointed out by Roman Joost.
svn path=/trunk/; revision=26086
2008-07-04 Sven Neumann <sven@gimp.org>
* plug-ins/help-browser/dialog.c
(browser_dialog_make_index_foreach):
improved order of index items with alphabetic counters.
svn path=/trunk/; revision=26057
2008-07-04 Sven Neumann <sven@gimp.org>
* plug-ins/help/gimphelpitem.h: document the purpose of the
extra
struct fields.
* plug-ins/help-browser/dialog.c: limit the depth of the index
to 4.
svn path=/trunk/; revision=26056
2008-07-03 Lars-Peter Clausen <lars@metafoo.de>
* plug-ins/pygimp/pygimp-drawable.c
* plug-ins/pygimp/pygimp-vectors.c
* plug-ins/pygimp/pygimp-display.c
* plug-ins/pygimp/pygimp-image.c: Added checks to ensure that a python
object only is created if its id is valid. Fixes bug #536403.
* plug-ins/pygimp/pygimp-pdb.c
* plug-ins/pygimp/pygimp-tile.c
* plug-ins/pygimp/pygimp-colors.c
* plug-ins/pygimp/pygimp.h: Fix crashing when pygimp is used with
python-2.5 on 64 bit systems. Fixes bug #540629.
svn path=/trunk/; revision=26044
2008-06-28 Michael Natterer <mitch@gimp.org>
* pygimp-pdb.c:
* pygimp-tile.c:
* pygimp-colors.c: revert last patch because Py_ssize_t is
undefined in some (older?) pythons. Needs more investigation.
svn path=/trunk/; revision=26016
2008-06-28 Martin Nordholts <martinn@svn.gnome.org>
* pygimp-pdb.c:
* pygimp-tile.c:
* pygimp-colors.c: Applied patch from Ed Swartz that makes use of
Py_ssize_t:s instead of int:s to better utilize 64-bit
systems. (Bug #540629.)
svn path=/trunk/; revision=26011
2008-06-13 Sven Neumann <sven@gimp.org>
* plug-ins/help-browser/dialog.c: added a toggle action to
show/hide the index sidebar, bound to Ctrl-I.
svn path=/trunk/; revision=25940
2008-06-12 Sven Neumann <sven@gimp.org>
Added basic support for using the online user manual:
* app/widgets/gimphelp.c
* plug-ins/help/gimphelp.c: moved some help logic to the core.
The
default help domain is now constructed in the core and passed to
the help plug-ins just like the plug-in help domains.
* app/config/Makefile.am
* app/config/gimprc-blurbs.h
* app/config/gimpguiconfig.[ch]: added gimprc properties to
specify the location of the online user manual and to decide if
it
should be used instead of a locally installed copy.
svn path=/trunk/; revision=25938
2008-06-12 Sven Neumann <sven@gimp.org>
* plug-ins/help-browser/dialog.c: use GTK_STOCK_HOME for the
button that navigates to the index page.
* plug-ins/help-browser/gimpthrobber.c
(gimp_throbber_construct_contents): deal better with toolbar style
GTK_TOOLBAR_ICONS.
svn path=/trunk/; revision=25930
2008-06-12 Sven Neumann <sven@gimp.org>
* plug-ins/help-browser/dialog.c: removed the title
combo-box. Instead display the title in the window title. Added
"copy-location" action to the right-click menu as a replacement
for the drag source that was also removed.
svn path=/trunk/; revision=25929
2008-06-11 Sven Neumann <sven@gimp.org>
* plug-ins/help/help.c (load_help_idle): don't show progress for
local help lookups, they are fast enough.
* plug-ins/help-browser/help-browser.c: added the same progress
code here. Might want to move it to the dialog window later.
svn path=/trunk/; revision=25927
2008-06-10 Sven Neumann <sven@gimp.org>
* plug-ins/help-browser/queue.[ch]: removed, we don't need this
code any longer.
svn path=/trunk/; revision=25914
2008-06-10 Sven Neumann <sven@gimp.org>
* configure.in: removed check for gtkhtml2 and added a check for
wekbit instead.
* INSTALL: document the changed dependency.
* plug-ins/help-browser/Makefile.am
* plug-ins/help-browser/dialog.[ch]: ported the help-browser to
webkit. Offers the same functionality as before and some more.
* plug-ins/help-browser/help-browser.c: some cleanup.
svn path=/trunk/; revision=25913
2008-06-10 Sven Neumann <sven@gimp.org>
* plug-ins/help/help.c (load_help_idle): show progress while
loading the help index.
svn path=/trunk/; revision=25910
2008-06-04 Sven Neumann <sven@gimp.org>
* plug-ins/common/red-eye-removal.c: fixed weird handling of the
threshold parameter. Some unrelated minor cleanups.
svn path=/trunk/; revision=25895
2008-06-04 Sven Neumann <sven@gimp.org>
* plug-ins/common/tga.c: changed user interface for specifying
the
origin. Fixed header for origin at top-left (bug #450070).
svn path=/trunk/; revision=25894
2008-06-01 Martin Nordholts <martinn@svn.gnome.org>
* plug-ins/common/gif-load.c (GetCode): Applied patch from Rik
Snel that fixes loading of .gif files that contains 1-byte data
blocks. (Bug #535888.)
svn path=/trunk/; revision=25876
2008-05-29 Manish Singh <yosh@gimp.org>
* plug-ins/pygimp/gimpshelf.py: fix _vectors_id to return a tuple
for the ID. Spotted and fixed by Joao.
svn path=/trunk/; revision=25865
2008-05-29 Sven Neumann <sven@gimp.org>
* plug-ins/common/blur-gauss-selective.c (matrixmult_mmx): avoid
division by zero in the grayscale code path (bug #529280).
svn path=/trunk/; revision=25850
2008-05-27 Michael Natterer <mitch@gimp.org>
* plug-ins/help-browser/dialog.c: undef
GDK_PIXBUF_DISABLE_SINGLE_INCLUDES around including
<libgtkhtml/gtkhtml.h>.
svn path=/trunk/; revision=25832
2008-05-26 Sven Neumann <sven@gimp.org>
* libgimpwidgets/Makefile.am
* libgimpwidgets/gimpwidgets.h
* libgimpwidgets/gimpwidgetstypes.h
* libgimpwidgets/gimpruler.[ch]
* libgimpwidgets/gimphruler.[ch]
* libgimpwidgets/gimpvruler.[ch]: added ruler widgets. These are
mostly copied from GTK+ and work as a drop-in replacement for
GtkRuler and friends.
* libgimpwidgets/gimpwidgets.def: updated.
* app/display/gimpdisplayshell.c
* app/display/gimpdisplayshell-scale.c
* app/dialogs/resolution-calibrate-dialog.c
* plug-ins/imagemap/imap_preview.c
* plug-ins/gfig/gfig-preview.c: use the GimpRuler widgets.
svn path=/trunk/; revision=25820
2008-05-26 Sven Neumann <sven@gimp.org>
* plug-ins/jpeg/jpeg-save.c (save_image): fixed logic that decides
if an EXIF block should be written (bug #529469).
svn path=/trunk/; revision=25801
2008-05-23 Sven Neumann <sven@gimp.org>
* autogen.sh (GLIB_REQUIRED_VERSION): require glib-gettextize 2.16.
* libgimp/libgimp-intl.h
* plug-ins/pygimp/pygimp-intl.h: synced with gi18n-lib.h from glib
2.16. This adds support for the C_() macro.
* plug-ins/script-fu/script-fu-intl.h: just include gi18n.h instead
of duplicating things from this header.
svn path=/trunk/; revision=25775
2008-05-22 Kevin Cozens <kcozens@cvs.gnome.org>
* plug-ins/script-fu/tinyscheme/scheme.c: Added extra check to stop
"(let x 5)" syntax from causing seg fault in Linux. See bug #508020.
Removed some excess whitespace.
svn path=/trunk/; revision=25770
2008-05-21 Sven Neumann <sven@gimp.org>
* plug-ins/jpeg/jpeg-save.c (save_dialog): changed badly chosen
mnemonic, resolved a conflicting mnemonic and added some more.
svn path=/trunk/; revision=25725
2008-05-18 Kevin Cozens <kcozens@cvs.gnome.org>
* plug-ins/script-fu/tinyscheme/scheme.c: Reverting previous change.
I figured it would break something. It breaks the 'while' macro by
preventing use of a named let.
svn path=/trunk/; revision=25706
2008-05-17 Michael Natterer <mitch@gimp.org>
* plug-ins/twain/Makefile.am: add -framework options to
twain_LDFLAGS instead of AM_LDFLAGS to make whatever layer/version
of autofoo happy on all macs.
svn path=/trunk/; revision=25682
2008-05-16 Kevin Cozens <kcozens@cvs.gnome.org>
* plug-ins/script-fu/tinyscheme/scheme.c: Added extra checks to stop
bad syntax in LET from causing a segmentation fault in Linux.
See bug #508020.
svn path=/trunk/; revision=25677
2008-05-16 Sven Neumann <sven@gimp.org>
* plug-ins/help/Makefile.am
* plug-ins/help/gimphelpprogress.[ch]
* plug-ins/help/gimphelpprogress-private.h: new files providing a
simple framework for progress indication and cancellation.
* plug-ins/help/gimphelp.[ch]
* plug-ins/help/gimphelpdomain.[ch]
* plug-ins/help/gimphelpitem.[ch]
* plug-ins/help/gimphelplocale.[ch]
* plug-ins/help/gimphelptypes.h
* plug-ins/help/help.c
* plug-ins/help/locales.[ch]: changed accordingly (passing NULL
as progress for now). Also updated copyright headers.
* plug-ins/help-browser/help-browser.c: same here.
* plug-ins/help/gimp-help-lookup.c: use the new API and show some
progress indication when the --verbose command-line option is used.
svn path=/trunk/; revision=25674
2008-05-14 Sven Neumann <sven@gimp.org>
* plug-ins/gradient-flare/gradient-flare.c
(calc_sample_one_gradient): use G_STRUCT_OFFSET() instead of a
hand-made macro which caused a compiler warning (spotted by
gymp,
bug #532853).
svn path=/trunk/; revision=25659
2008-05-10 Manish Singh <yosh@gimp.org>
* plug-ins/imagemap/Makefile.am: tweak the rules for rebuilding the
parser files from lex/yacc source so that they are explicit instead
of potentially being run implicitly because the file dates are off.
svn path=/trunk/; revision=25606
2008-05-07 Sven Neumann <sven@gimp.org>
* plug-ins/common/blur-gauss-selective.c: allocate temporary
memory on the stack. Minor code cleanups.
svn path=/trunk/; revision=25579
2008-05-06 Sven Neumann <sven@gimp.org>
* plug-ins/script-fu/scripts/3d-outline.scm: applied patch from
Ulf-D. Ehlert. Makes the vacated region, which is created when
specifying a non-zero shadow offset, to be filled with the
background color (white) instead of transparency (bug #530216).
svn path=/trunk/; revision=25575
2008-05-05 Sven Neumann <sven@gimp.org>
* plug-ins/common/unsharp-mask.c (gen_convolve_matrix): fixed
algorithm to calculate the center value. Fixes bug #530077.
svn path=/trunk/; revision=25567
2008-05-05 Sven Neumann <sven@gimp.org>
* plug-ins/common/blinds.c (MAX_FANS): increased the maximum
number of blinds to 100.
svn path=/trunk/; revision=25566
2008-04-26 Martin Nordholts <martinn@svn.gnome.org>
* plug-ins/flame/libifs.c: Applied patch from Aurimas Juška. Use
the standard rand() instead of random().
svn path=/trunk/; revision=25534
2008-04-26 Martin Nordholts <martinn@svn.gnome.org>
* plug-ins/flame/flame.c
* plug-ins/flame/libifs.[ch]: Applied
modified patch by Luis Barrancos that adds 22 new variations to
the flame plugin (bug #389004).
svn path=/trunk/; revision=25527
2008-04-25 Michael Natterer <mitch@gimp.org>
* plug-ins/print/print.c (query): fix help string of the page
setup procedure.
svn path=/trunk/; revision=25525
2008-04-21 Sven Neumann <sven@gimp.org>
* plug-ins/common/psp.c: applied patch from Christoph Brill
which
adds enum values and typedefs used in newer versions of the PSP
file format (see bug #120757).
svn path=/trunk/; revision=25509
2008-04-14 Sven Neumann <sven@gimp.org>
* plug-ins/pygimp/gimpfu.py (_query.make_params): strip
mnemonics
from parameter names before passing them to
gimp.install_procedure().
svn path=/trunk/; revision=25489
2008-04-14 Sven Neumann <sven@gimp.org>
* plug-ins/jpeg/jpeg.h
* plug-ins/jpeg/jpeg-exif.c
* plug-ins/jpeg/jpeg-load.c: rotate the thumbnail according to
the
EXIF orientation as required by the updated thumbnail spec.
svn path=/trunk/; revision=25480
2008-04-11 Michael Natterer <mitch@gimp.org>
* plug-ins/print/print-preview.c: unset the move cursor in
GtkWidget::leave_notify_event() so it always gets unset when the
pointer leaves the widget.
svn path=/trunk/; revision=25464
2008-04-10 Michael Natterer <mitch@gimp.org>
* plug-ins/pygimp/plug-ins/python-console.py
* plug-ins/script-fu/scripts/ts-helloworld.scm: fix new menu paths.
svn path=/trunk/; revision=25459
2008-04-09 Sven Neumann <sven@gimp.org>
* plug-ins/script-fu/scripts/ts-helloworld.scm
* plug-ins/script-fu/scripts/test-sphere.scm
* plug-ins/script-fu/scripts/contactsheet.scm: register in new
menu locations.
svn path=/trunk/; revision=25447
2008-04-09 Sven Neumann <sven@gimp.org>
* plug-ins/pygimp/plug-ins/benchmark-foreground-extract.py
* plug-ins/pygimp/plug-ins/python-console.py
* plug-ins/pygimp/plug-ins/sphere.py: register in new menu
locations.
svn path=/trunk/; revision=25445
2008-04-09 Sven Neumann <sven@gimp.org>
* plug-ins/win-snap/winsnap.c
* plug-ins/common/screenshot.c
* plug-ins/script-fu/script-fu.c
* plug-ins/script-fu/scripts/*.scm: register in new menu
locations.
svn path=/trunk/; revision=25442
2008-04-09 Sven Neumann <sven@gimp.org>
* plug-ins/script-fu/scripts/Makefile.am
* plug-ins/script-fu/scripts/sphere.scm: removed Sphere
script. It's a nice simple example but it has no real value.
* plug-ins/script-fu/script-fu.c (script_fu_extension_init):
removed "<Toolbox>/Xtns/Misc".
svn path=/trunk/; revision=25424
2008-04-09 Sven Neumann <sven@gimp.org>
* plug-ins/script-fu/script-fu-scripts.c (script_fu_add_script):
marked a message for translation. Declare 'val' as const and use
an extra variable where a not const variable is needed.
svn path=/trunk/; revision=25423
2008-04-09 Sven Neumann <sven@gimp.org>
* menus/image-menu.xml.in: moved Languages to the bottom. Removed
separator from the Filters list as there was really no rule as to
what goes above and what goes below.
* app/actions/plug-in-actions.c: added Filters->Decor submenu.
* plug-ins/script-fu/script-fu.c (script_fu_extension_init):
removed registration of redundant menu branches.
svn path=/trunk/; revision=25422
2008-04-08 Michael Natterer <mitch@gimp.org>
* menus/image-menu.xml.in: add placeholder "Help/Programming"
* plug-ins/common/plugin-browser.c
* plug-ins/common/procedure-browser.c: move the plug-in and
procedure browsers there.
* menus/image-menu.xml.in: moved the (now by default empty)
"Extensions" placeholder from "Xtns" to "Filters". Let's see what
cruft shows up there.
* app/plug-in/plug-in-menu-path.c: map "Xtns/Extensions" to
"Filters/Extensions".
svn path=/trunk/; revision=25415
2008-04-07 Sven Neumann <sven@gimp.org>
* plug-ins/common/compose.c: use gimp_drawable_is_valid() to check
if a drawable ID is valid.
svn path=/trunk/; revision=25394
2008-04-07 Sven Neumann <sven@gimp.org>
* plug-ins/print/print.[ch]: set the number of pages to one before
showing the dialog. Not that it would make a difference, but it
could...
svn path=/trunk/; revision=25387
2008-04-06 Sven Neumann <sven@gimp.org>
* plug-ins/print/print.c (page_setup): do a query for the
temporary procedure installed by the 'file-print-gtk' procedure.
Temporary solution until bug #344818 has been addressed.
svn path=/trunk/; revision=25383
2008-04-04 Sven Neumann <sven@gimp.org>
* plug-ins/psd/psd-load.c: marked string for translation (the same
string exists in the TIFF loader already).
svn path=/trunk/; revision=25364
2008-04-02 Sven Neumann <sven@gimp.org>
* plug-ins/help/gimp-help-lookup.c: fixed typos in descriptions of
the command-line options.
svn path=/trunk/; revision=25334
2008-04-02 Sven Neumann <sven@gimp.org>
* plug-ins/help/Makefile.am
* plug-ins/help/gimphelpdomain.[ch]
* plug-ins/help/gimphelplocale.[ch]
* plug-ins/help/gimphelp.[ch]
* plug-ins/help/gimp-help-lookup.c: use GIO to access the help index.
svn path=/trunk/; revision=25331
2008-03-31 Michael Natterer <mitch@gimp.org>
* plug-ins/maze/*: renamed most files and added proper headers
instead of duplicating the prototypes in each .c file that uses
them. Indentation, spacing, formatting, some general cleanup.
svn path=/trunk/; revision=25324
2008-03-28 Mukund Sivaraman <muks@mukund.org>
* plug-ins/common/png.c: Fixed a bug where a pointer to a gint
is passed to a function which expects gsize, which can cause
out of bounds access.
svn path=/trunk/; revision=25291
2008-03-28 Michael Natterer <mitch@gimp.org>
* plug-ins/script-fu/scripts/guides-from-selection.scm
* plug-ins/script-fu/scripts/guides-new-percent.scm
* plug-ins/script-fu/scripts/guides-new.scm
* plug-ins/script-fu/scripts/guides-remove-all.scm: use "*" as
image type (not "") so the menu item is disabled when there is no
image.
svn path=/trunk/; revision=25289
2008-03-28 Sven Neumann <sven@gimp.org>
* configure.in: put GIO check back in as we need it to initialize
GIO_CFLAGS and GIO_LIBS. Renamed --without-gio to --without-gvfs.
* INSTALL: changed accordingly.
* plug-ins/uri/Makefile.am
* plug-ins/uri/uri-backend-gio.c
* plug-ins/uri/uri-backend-gvfs.c: renamed the gio backend to gvfs.
svn path=/trunk/; revision=25284
2008-03-28 Michael Natterer <mitch@gimp.org>
* plug-ins/script-fu/scripts/line-nova.scm (script-fu-line-nova):
move the call to gimp-selection-save inside the undo group.
(script-fu-register): use "*" as image type (not "") so the menu
item is disabled when there is no image.
svn path=/trunk/; revision=25276
2008-03-27 Sven Neumann <sven@gimp.org>
* plug-ins/common/pnm.c (load_image): changed message to say
"Unsupported maximum value" instead of "Invalid maximum value"
as suggested in bug #149723.
svn path=/trunk/; revision=25268
2008-03-27 Mukund Sivaraman <muks@mukund.org>
* plug-ins/common/dicom.c: Validated samples_per_pixel, changed
the loop counter data type, and patched code to work on big endian
CPUs.
svn path=/trunk/; revision=25255
2008-03-26 Mukund Sivaraman <muks@mukund.org>
* plug-ins/common/dicom.c: Forget about negative values in signed
data and scale positive values appropriately. Also fixed signed
values in the 8 bpp case, and added some comments.
svn path=/trunk/; revision=25253
2008-03-26 Mukund Sivaraman <muks@mukund.org>
* plug-ins/common/dicom.c: made the dicom plug-in a bit better.
1. Parse the default little-endian encoding correctly.
2. Handle signed pixel data.
3. Support "bits stored" and "high bit" meta data fields.
4. Throw away the bogus "max" value based metering.
svn path=/trunk/; revision=25252
2008-03-24 Sven Neumann <sven@gimp.org>
* plug-ins/gradient-flare/Makefile.am: fixed variable that was
forgotten during the renaming.
svn path=/trunk/; revision=25204
2008-03-24 Michael Natterer <mitch@gimp.org>
The icon plugin should simply be "ico" just as the other file
plug-ins.
* plug-ins/win-icon -> ico
* configure.in
* plug-ins/Makefile.am: changed accordingly.
svn path=/trunk/; revision=25200
2008-03-24 Michael Natterer <mitch@gimp.org>
* plug-ins/color-rotate/*: renamed all files and also changed
function names and stuff in some files. Only the filename change
is 100% complete.
svn path=/trunk/; revision=25199
2008-03-24 Michael Natterer <mitch@gimp.org>
There is no colormap involved in this plug-in, rename it again...
* plug-ins/colormap-rotate -> color-rotate.
* configure.in
* plug-ins/Makefile.am: changed accordingly.
svn path=/trunk/; revision=25198
2008-03-24 Michael Natterer <mitch@gimp.org>
* plug-ins/map-object
* plug-ins/gradient-flare
* plug-ins/ifs-compose
* plug-ins/selection-to-path
* plug-ins/lighting
* plug-ins/help-browser
* plug-ins/fli: rename files in these folders to have no
underscores and match new names of the plug-ins.
* configure.in: changed accordingly.
svn path=/trunk/; revision=25197
2008-03-21 Michael Natterer <mitch@gimp.org>
Remove the toolbox menu:
* configure.in: remove --enable-toolbox-menu option.
* menus/Makefile.am
* menus/toolbox-menu.xml.in: removed.
* menus/image-menu.xml.in: add the debug menu here.
* menus/menus.xsl: remove transformations depending on whether
there is a toolbox menu or not.
* app/menus/Makefile.am
* app/menus/toolbox-menu.[ch]: removed.
* app/menus/menus.c: remove the toolbox menu but keep the
<Toolbox> UI manager around so we can configure its actions
separate from normal docks.
* app/actions/image-actions.c (image_actions): remove the action
for the toolbox menubar.
* app/widgets/gimptoolbox.c: remove all menu code.
* app/plug-in/plug-in-menu-path.c: map plug-in registered toolbox
menu items to their new location in the image menu
unconditionally.
* plug-ins/common/screenshot.c
* plug-ins/common/uniteditor.c
* plug-ins/script-fu/script-fu.c
* plug-ins/script-fu/scripts/web-browser.scm
* plug-ins/twain/twain.c
* plug-ins/winsnap/winsnap.c: remove menu registrations under
<Toolbox>/File and change <Toolbox>/Help to <Image>/Help. Leave
<Toolbox>/Xtns untouched until its final location and name are
decided.
svn path=/trunk/; revision=25156
2008-03-20 Sven Neumann <sven@gimp.org>
* plug-ins/uri/gimpmountoperation.c: make the dialogs transient to
the progress window if no parent or screen has been set.
svn path=/trunk/; revision=25137
2008-03-20 Sven Neumann <sven@gimp.org>
* plug-ins/common/gif-save.c: added a sanity check and abort when
the image is too large.
svn path=/trunk/; revision=25136
2008-03-18 Sven Neumann <sven@gimp.org>
* plug-ins/uri/uri-backend-gio.c: only update the progress up to
ten times per second.
svn path=/trunk/; revision=25109
2008-03-18 Sven Neumann <sven@gimp.org>
* plug-ins/uri/gimpmountoperation.c: set alternative button order
on the password dialog (same change done in GTK+).
svn path=/trunk/; revision=25108
2008-03-18 Sven Neumann <sven@gimp.org>
* plug-ins/uri/Makefile.am
* plug-ins/uri/gimpmountoperation.[ch]: added a temporary copy of
GtkMountOperation until we depend on the next stable GTK+ release.
Converted to GIMP namespace to avoid symbol collisions.
* plug-ins/uri/uri-backend-gio.c: use the new mount operation.
svn path=/trunk/; revision=25107
2008-03-13 Michael Natterer <mitch@gimp.org>
* plug-ins/common/tiff-load.c (load_image): set the original
filename only if all pages were loaded as layers; if a subset was
loaded, set the filename to "<filename>.tiff-n-of-m-pages" so a
simple "save" won't overwrite the original file without the user
changing the filename explicitely.
svn path=/trunk/; revision=25103
2008-03-13 Sven Neumann <sven@gimp.org>
* plug-ins/common/tiff-load.c (load_image): set a filename on the
image, even when not all images are imported as layers (bug #521436).
svn path=/trunk/; revision=25100
2008-03-12 Sven Neumann <sven@gimp.org>
* plug-ins/uri/uri-backend-gio.c: added password and question
dialogs needed for mounting volumes. This code is untested.
svn path=/trunk/; revision=25093
2008-03-12 Sven Neumann <sven@gimp.org>
* plug-ins/uri/uri.c: updated copyright.
* plug-ins/uri/uri-backend-gio.c: ask the GVfs backend for the
supported URI schemes.
svn path=/trunk/; revision=25091
2008-03-11 Sven Neumann <sven@gimp.org>
* configure.in: added a check for gio-2.0.
* plug-ins/uri/Makefile.am
* plug-ins/uri/uri-backend-gio.c: added a first draft of an URI
plug-in based on GIO/GVfs.
svn path=/trunk/; revision=25084
2008-02-26 Sven Neumann <sven@gimp.org>
* plug-ins/print/print.h (struct PrintData): removed unused
field.
* plug-ins/print/print-page-layout.c: set a minimum size of
1/100
of the paper size.
svn path=/trunk/; revision=24986
2008-02-26 Sven Neumann <sven@gimp.org>
* plug-ins/print/print-page-layout.[ch]
* plug-ins/print/print.c: pressing F1 on the "Image Settings"
tab
calls the GIMP help browser.
svn path=/trunk/; revision=24984
2008-02-26 Sven Neumann <sven@gimp.org>
* plug-ins/print/print-preview.c: take the reading direction
into
account and do the right thing for RTL languages.
svn path=/trunk/; revision=24982
2008-02-26 Kevin Cozens <kcozens@cvs.gnome.org>
* plug-ins/script-fu/scripts/frosty-logo.scm: Commited slightly
modified patch from LightningIsMyName. Fixes bug #472316. The
appearance of the sparkle layer could be better.
svn path=/trunk/; revision=24980
2008-02-26 Sven Neumann <sven@gimp.org>
* plug-ins/print/print-preview.c: create a Cairo image surface
from the data returned from gimp_drawable_get_thumbnail() instead
of using an intermediate GdkPixbuf. This code should eventually
end up in libgimpui.
svn path=/trunk/; revision=24971
2008-02-26 Sven Neumann <sven@gimp.org>
* plug-ins/print/print-preview.c
* plug-ins/print/print-page-layout.c: let the preview widget
allocate a reasonable size.
svn path=/trunk/; revision=24967
2008-02-26 Sven Neumann <sven@gimp.org>
* plug-ins/print/print-preview.c: use a different cursor when
dragging, just like GimpScrolledPreview.
svn path=/trunk/; revision=24966
2008-02-26 Sven Neumann <sven@gimp.org>
* plug-ins/print/print-preview.[ch]: derive from GtkEventBox and
draw on the parent window.
* plug-ins/print/print-page-layout.c: tweaked dialog layout.
svn path=/trunk/; revision=24964
2008-02-25 Sven Neumann <sven@gimp.org>
* plug-ins/print/Makefile.am
* plug-ins/print/print-utils.[ch]: added new files with utility
functions.
* plug-ins/print/print-settings.c: use the new utility
functions for loading and saving GKeyFile.
* plug-ins/print/print-page-setup.[ch]
* plug-ins/print/print.c: also store the page setup in an image
parasite. Fixes most of what remained to be done for bug
#513291.
svn path=/trunk/; revision=24960
2008-02-22 Sven Neumann <sven@gimp.org>
* plug-ins/print/print.c: use GTK_STOCK_PAGE_SETUP when compiled
against GTK+ >= 2.13.0.
svn path=/trunk/; revision=24949
2008-02-22 Sven Neumann <sven@gimp.org>
* plug-ins/print/print.c
* plug-ins/print/print-draw-page.c: added support for grayscale
images so we don't need to go through an extra export step.
svn path=/trunk/; revision=24947
2008-02-22 Sven Neumann <sven@gimp.org>
* plug-ins/common/tileit.c
* plug-ins/common/warp.c
* plug-ins/common/struc.c: fixed the same problem as in the Wind
plug-in here as well (see bug #516369).
svn path=/trunk/; revision=24944