2004-11-28 Sven Neumann <sven@gimp.org>
* plug-ins/gfig/gfig-dialog.c: make sure that widgets in the Grid
and Preferences dialogs are only accessed while the dialogs exist.
2004-11-28 Sven Neumann <sven@gimp.org>
* plug-ins/gfig/gfig-dialog.c: made the Grid and Preferences
dialogs singeltons and declared them as transient to the GFig
window. Don't let them run their own main loop.
2004-11-28 Sven Neumann <sven@gimp.org>
* plug-ins/gfig/gfig-dialog.c: added a Close menu item to the
menubar. Removed help buttons from popup dialogs. Set the same
default directory in load and save filechoosers.
2004-11-27 Manish Singh <yosh@gimp.org>
* plug-ins/pygimp/plug-ins/colorxhtml.py: s/colorhtml/colorxhtml/,
so it doesn't clash with the perl version.
* plug-ins/pygimp/plug-ins/Makefile.am: reflect filename change.
2004-11-27 Sven Neumann <sven@gimp.org>
* plug-ins/common/jpeg.c: delay the creation of the display for
the export image preview until the user requests a preview. Fixes
bug #159376.
2004-11-27 Kevin Cozens <kcozens@cvs.gimp.org>
* plug-ins/script-fu/scripts/spyrogimp.scm: Force number of teeth
to be integer values. Changed default for Outer teeth to give a
more interesting image. Detabified file. Fixes bug #158448.
2004-11-27 Sven Neumann <sven@gimp.org>
* plug-ins/script-fu/script-fu-scripts.c (script_fu_script_proc):
don't look at the menu path to determine if the script is
image-based. Instead look at the number of parameters we are being
called with.
2004-11-27 Sven Neumann <sven@gimp.org>
* plug-ins/common/tiff.c (save_image): tell the user that we can't
handle indexed images with alpha channel (bug #159600).
2004-11-27 Sven Neumann <sven@gimp.org>
* plug-ins/common/wmf.c (run): applied patch by Tim Mooney that
increase the size of values[] + to accomodate the use of
file_wmf_load_thumb (bug #159601).
2004-11-26 Sven Neumann <sven@gimp.org>
* plug-ins/winicon/icosave.c: don't fiddle with the source image,
a save plug-in should save, nothing else.
* plug-ins/winicon/main.[ch]: handle all sorts of image types.
Fixes bug #157803.
2004-11-26 Sven Neumann <sven@gimp.org>
* plug-ins/winicon/main.[ch] (ico_image_get_reduced_buf)
* plug-ins/winicon/icodialog.c
* plug-ins/winicon/icoload.c
* plug-ins/winicon/icosave.c: fixed drawable handling. This
plug-in is still a complete mess and needs a lot more work.
2004-11-25 Manish Singh <yosh@gimp.org>
* plug-ins/common/dog.c: Add the temporary layers to the image, so
things work. Fixes bug #158895.
* plug-ins/common/iwarp.c: Fix same naughtiness as above. There's
other naughtiness still though.
* plug-ins/common/sunras.c: use gboolean for byte2bit invert argument.
2004-11-25 Manish Singh <yosh@gimp.org>
* plug-ins/common/jpeg.c: Use a jpeg_error_mgr that lives within
PreviewPersistent, instead of an automatic variable in save_image.
Fixes bug #159076.
2004-11-23 Michael Natterer <mitch@gimp.org>
* app/core/gimpparasitelist.c: cosmetics, untabified.
* libgimpbase/gimpparasiteio.[ch]: added g_return_if_fail()'s
to all functions.
(gimp_pixpipe_params_parse): changed "gchar*" param to "const
gchar*" (sortof API change, but these files are most probably only
used by GIMP itself). Still uses strtok() on the internal copy,
but at least not on the passed string.
* plug-ins/common/csource.c
* plug-ins/common/gif.c
* plug-ins/common/gih.c
* plug-ins/common/jpeg.c
* plug-ins/common/png.c
* plug-ins/common/tiff.c: use parasite getters instead of
accessing the scruct members directly. Always use g_strndup()
instead of just g_strdup() to get strings stored in parasites
because there is no guarantee that they are nul-terminated.
2004-11-23 Sven Neumann <sven@gimp.org>
* plug-ins/imagemap/imap_file.c (do_file_save_as_dialog): do
actually use a save dialog here. Fixes bug #159194.
2004-11-21 Kevin Cozens <kcozens@cvs.gimp.org>
* plug-ins/script-fu/scripts/copy-visible.scm: Fixed incorrect
comparison in if statement. Partial(?) fix for bug #138662.
2004-11-22 Kevin Cozens <kcozens@cvs.gimp.org>
* scripts/*.sct: Updated all scripts to use script-fu-menu-register
and pass just the menu label in script-fu-register.
Updates based on changes made by Michael Natterer to Script-Fu.
* tiny-fu/tiny-fu-scripts.c: Pass untranslated menu_paths to the
core, not translated ones. Don't store the scripts directly in the
"script_list" tree but use a list of scripts per key because there
can be identical keys for different scripts now. Renamed variable
"script_list" to "script_tree" because it's a GTree. Sort the SFMenu
structs by their menu_paths *and* the procedure's menu_labels. Fixes
menu item sorting after "Refresh".
2004-11-22 Manish Singh <yosh@gimp.org>
* plug-ins/pygimp/Makefile.am
* plug-ins/pygimp/pygimp-logo.png: New pygimp logo, by Carol Spears.
* plug-ins/pygimp/gimpfu.py: Use new external logo file, some layout
tweaks.
2004-11-22 Michael Natterer <mitch@gimp.org>
* plug-ins/script-fu/script-fu-scripts.c: sort the SFMenu structs
by their menu_paths *and* the procedure's menu_labels. Fixes menu
item sorting after "Refresh".
2004-11-22 Michael Natterer <mitch@gimp.org>
* plug-ins/common/struc.c: applied patch from Wolfgang Hofer
which makes the plug-in use its procedure name for
storing the "last_vals" struct. Fixes bug #159028.
* plug-ins/common/tileit.c: ditto. Fixes bug #159029.
2004-11-21 Kevin Cozens <kcozens@cvs.gimp.org>
* plug-ins/script-fu/scripts/erase-rows.scm: Applied patch from BM
which makes the script work layers that have their top-left corner
at a position other than the top-left corner of the image.
Fixes bug #158863.
* plug-ins/gfig/gfig-arc.c
* plug-ins/gfig/gfig-bezier.c
* plug-ins/gfig/gfig-circle.c
* plug-ins/gfig/gfig-dialog.c
* plug-ins/gfig/gfig-dobject.c
* plug-ins/gfig/gfig-ellipse.c
* plug-ins/gfig/gfig-line.c
* plug-ins/gfig/gfig-poly.c
* plug-ins/gfig/gfig-spiral.c
* plug-ins/gfig/gfig-star.c
* plug-ins/gfig/gfig.h: makes which object is selected more obvious by
using filled handles for the selected object. Not perfect, but
certainly a good hint.
* plug-ins/gfig/gfig-preview.c: call gfig_grid_colours() in the
realize callback of the preview, so the gray gc of the grid works
again. Reported by Zigomar.
* plug-ins/gfig/gfig-dobject.c
* plug-ins/gfig/gfig-preview.h
* plug-ins/gfig/gfig-spiral.h
* plug-ins/gfig/gfig-star.h
* plug-ins/gfig/notes.txt: small cosmetics fixes.
2004-11-21 Sven Neumann <sven@gimp.org>
* plug-ins/common/compose.c
* plug-ins/common/decompose.c: transfer the image resolution to
newly created images.
2004-11-21 Sven Neumann <sven@gimp.org>
* plug-ins/gimpressionist/Brushes/snow1.pgm: reverted a change
that Hans Breuer committed here, probably accidentally.
* plug-ins/script-fu/script-fu.c
* plug-ins/script-fu/siod-wrapper.c: reverted Hans's changes. There
is indeed a Script-Fu server on Win32.
2004-09-21 Hans Breuer <hans@breuer.org>
* app/dialogs/makefile.msc : [new file]
app/dialogs/Makefile.am : added to EXTRA_DIST
* **/makefile.msc app/gimpcore.def : updated
* app/gimp.rc : let wilber be first
* app/widgets/gimppropwidgets.c : msvc6 can't cast uint64 either
* libgimpbase/gimpwin32-io.h : make up recent loss of ftruncate in GLib
* libgimpthumbnail/gimpthumbnail.c : <process.h> for getpid() on win32
* plug-ins/helpbrowser/dialog.c : include gimpwin32-io.h
* plug-ins/script-fu/siodwrapper.c plug-ins/script-fu/scrip-fu.c : there
is no script-fu-server on win32
2004-11-21 Michael Schumacher <schumaml@cvs.gnome.org>
* plug-ins/script-fu/scripts/addborder.scm: first resize the
image, then add the border layer and then fill it
2004-11-20 Kevin Cozens <kcozens@cvs.gimp.org>
* plug-ins/script-fu/script-fu-scripts.c: Need to call gettext in
script-fu_menu_compare. Spotted by Sven. Removed obsolete #define's.
2004-11-20 Michael Natterer <mitch@gimp.org>
* plug-ins/script-fu/script-fu-scripts.c: renamed variable
"script_list" to "script_tree" because it's a GTree.
(script_fu_remove_script): g_list_free() the right list (don't
leak all lists of scripts at the tree leaves).
2004-11-20 Sven Neumann <sven@gimp.org>
* plug-ins/common/glob.c: added an (optional) parameter that
allows to request the output in the filesystem encoding.
2004-11-19 Sven Neumann <sven@gimp.org>
* plug-ins/script-fu/script-fu-scripts.c (script_fu_menu_compare):
compare the menu paths, not the struct pointers.
2004-11-19 Sven Neumann <sven@gimp.org>
* plug-ins/common/glob.c: added a naive glob() implementation
which handles the most common use case and is certainly better
than nothing. Closes bug #143661 again.
2004-11-19 Sven Neumann <sven@gimp.org>
* plug-ins/common/noisify.c: applied a (modified) patch that adds
the possibility to correlate the noise with the signal. Adds the
new PDB procedure "plug_in_scatter_rgb". Fixes bug #158700.
* plug-ins/helpbrowser/dialog.c: set a reasonable default size.
2004-11-19 Sven Neumann <sven@gimp.org>
* plug-ins/common/postscript.c (skip_ps) (ps_close): fixed use of
fread(). Unfortunately this slowed down the plug-in again.
Disabled the code that reads the pipe to the end. This brings it
back to speed. Seems to work fine for me, let's see if this causes
problems for anyone...
2004-11-19 Sven Neumann <sven@gimp.org>
* plug-ins/script-fu/scripts/selection-round.scm: moved into the
<Image>/Select/Modify now that we can safely use placeholders from
Script-Fu.
2004-11-18 Kevin Cozens <kcozens@cvs.gimp.org>
* tiny-fu/tiny-fu.c
* tiny-fu/tiny-fu-scripts.c
* tiny-fu/tiny-fu-scripts.h: Added support for (tiny-fu-menu-register)
to allow scripts to register their menu_paths the same undeprecated
way as plug-ins. Fixes bug #158117. Renamed tiny_fu_find_scripts() to
tiny_fu_load_all_scripts(). Added calls to gettext() since TinyScheme
no longer translates marked strings. In tiny_fu_script_proc() changed
some uses of params variable that should have been param.
* tiny-fu/tiny-fu-interface.c: Added a utility function to reduce
code duplication.
* tiny-fu/ts-wrapper.c: Added support for (tiny-fu-menu-register).
* tinyscheme/scheme.c: Don't call gettext() on strings marked for
translation. De-tabified file.
* scripts/test-sphere.sct: Example use of new API for scripts.
2004-11-18 Michael Natterer <mitch@gimp.org>
Script-Fu string cleanup/simplification: apply the same fix for
menu path translation that was done for plug-ins a while ago.
* plug-ins/script-fu/script-fu.c (script_fu_auxillary_init): use
gimp_plugin_menu_register() on the "Refresh" temp_proc.
* plug-ins/script-fu/scripts/*.scm: ported all scripts to use
script-fu-menu-register and pass just the menu label in
script-fu-register. Cleaned up all register calls to share a
somewhat similar formatting.
2004-11-18 Sven Neumann <sven@gimp.org>
* plug-ins/common/postscript.c: changed the default to load only
the first page of the document and added a tooltip describing how
to specify what pages to get.
2004-11-18 Sven Neumann <sven@gimp.org>
* plug-ins/common/postscript.c: speed up loading of multi-page
documents significantly by skipping in large chunks instead of using
fgetc() to crawl through the stream.
2004-11-18 Sven Neumann <sven@gimp.org>
* app/file/file-open.c (file_open_thumbnail): check the number of
return values. Only retrieve width and height if the thumbnail
load procedure does actually provide such this information.
* plug-ins/common/postscript.c: added a procedure to loads
thumbnails. For now it only renders the first page of the
document at low resolution. It should be extended to load an
embedded thumbnail if available.
* plug-ins/common/jpeg.c
* plug-ins/common/svg.c: no need to register a menu label for the
thumbnail loaders. Allocate the return_vals array large enough to
hold all return values.