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 Sven Neumann <sven@gimp.org>
* tools/gimp-remote.c: added --no-splash command-line option that
is passed to gimp. Addresses Debian bug report #277989.
* docs/gimp-remote.1.in: document the new option.
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-19 Michael Natterer <mitch@gimp.org>
* tools/pdbgen/lib.pl
* tools/pdbgen/stddefs.pdb: added support for deprecated procedures
without any replacement.
* app/plug-in/plug-in-message.c (plug_in_handle_proc_run): added
a special warning for procedures without replacement.
* tools/pdbgen/pdb/drawable.pdb: deprecated drawable_set_image()
without any replacement and made it a nop (which fails if the
passed image is different from the drawable's image). It's not
needed any longer since 2.0 and moreover dangerous to use.
* app/pdb/drawable_cmds.c
* libgimp/gimpdrawable_pdb.[ch]: regenerated.
* app/core/gimpitem.c (gimp_item_set_image): replaced assertion
for gimp_item_is_floating() by !gimp_item_is_attached(). The
former warned when adding a layer with already added mask to the
image (which is a perfectly valid operation).
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.
2004-11-18 Michael Natterer <mitch@gimp.org>
* app/widgets/gimpenumaction.[ch]: added boolean property
"value-variable" which specifies if the GimpEnumAction::selected()
signal may be emitted with arbirtary values (value-variable = TRUE)
or *only* with enum_action->value (value-variable = FALSE).
* app/widgets/gimpactiongroup.[ch]: added "gboolean
value_variable" to GimpEnumActionEntry and set it in
gimp_action_group_add_enum_actions().
* app/actions/channels-actions.c
* app/actions/colormap-editor-actions.c
* app/actions/context-actions.c
* app/actions/drawable-actions.c
* app/actions/edit-actions.c
* app/actions/error-console-actions.c
* app/actions/gradient-editor-actions.c
* app/actions/image-actions.c
* app/actions/layers-actions.c
* app/actions/palette-editor-actions.c
* app/actions/plug-in-actions.c
* app/actions/vectors-actions.c
* app/actions/view-actions.c: set "variable" to FALSE for all enum
actions except those which are used with the GIMP_ACTION_SELECT_SET
voodoo.
* app/widgets/gimpcontrollers.c (gimp_controllers_event_mapped):
fall back to gtk_action_activate() if the action specified in a
GIMP_CONTROLLER_EVENT_VALUE mapping is not variable. Enables
triggering of enum actions from GIMP_CONTROLLER_EVENT_VALUE events
(like midi note-on and note-off).
2004-11-18 Michael Natterer <mitch@gimp.org>
* acinclude.m4: pasted the complete alsa.m4 so compiling from
CVS doesn't require alsa.m4 to be installed.
* configure.in: check for alsa >= 1.0.0 and define HAVE_ALSA
if found.
* modules/Makefile.am: build controller_midi with ALSA_CFLAGS
and ALSA_LIBS.
* modules/controller_midi.c: s/HAVE_ALSALIB_H/HAVE_ALSA/.
2004-11-18 Michael Natterer <mitch@gimp.org>
* plug-ins/common/compressor.c (compressors): added back the
.xcf.gz and .xcf.bz2 extensions because they are the only way
to figure the special nature of this plug-in's extensions.
* app/widgets/gimpfileprocview.[ch]: keep a list of "meta
extensions" (extensions which have a '.' themselves).
* app/widgets/gimpfiledialog.c (gimp_file_dialog_proc_changed):
try to replace the whole extension if the last extension is one of
the meta extensions kept by GimpFileProcView. Fixes bug #158377.
2004-11-18 Sven Neumann <sven@gimp.org>
* plug-ins/maze/maze.[ch]
* plug-ins/maze/maze_face.c: removed the extra help button from
the Maze plug-in. Fixes bug #158605.
2004-11-18 Michael Natterer <mitch@gimp.org>
The following fixes have no visible effect because nobody
uses gimp_plugin_menu_register() on temp_procs yet:
* app/actions/plug-in-actions.[ch]: added
plug_in_actions_add_path() which just adds the actions needed for
a given menu math, but not the procedure action itself.
* app/gui/gui-vtable.c (gui_menus_create_entry): create the
menu_path's actions using above function so adding of submenus to
existing ui managers works.
* tools/pdbgen/pdb/plug_in.pdb (plugin_menu_register_invoker):
don't add a menu if "no_interface" is TRUE.
* app/pdb/plug_in_cmds.c: regenerated.
* plug-ins/script-fu/script-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. Fixed sorting of menu entries and menus.
2004-11-18 Simon Budig <simon@gimp.org>
* modules/controller_midi.c: implemented support for ALSA-midi,
currently disabled. Needs a configure-check and proper linking
against libasound.
2004-11-17 Dave Neary <bolsh@gimp.org>
* plug-ins/common/bumpmap.c: Fixed initialisation issue
that was crashing the plug-in on repeat runs. Fixes bug
#158494.
2004-11-17 Sven Neumann <sven@gimp.org>
* app/dialogs/print-size-dialog.c: added missing callbacks for the
size entries. Needs some more work though...
2004-11-17 Manish Singh <yosh@gimp.org>
* plug-ins/dbbrowser/Makefile.am: make libgimpprocbrowser a libtooled
library.
* plug-ins/dbbrowser/gimpprocbrowser.[ch]: add a user_data pointer
for GimpProcBrowserApplyCallback.
* plug-ins/dbbrowser/gimpprocbrowser.c: only convert the name to
scheme style if scheme_names in the proc info pane too.
* plug-ins/dbbrowser/procedure-browser.c
* plug-ins/script-fu/script-fu-console.c: pass NULL as user_data.
* plug-ins/script-fu/Makefile.am: reference libgimpprocbrowser.la.
* plug-ins/pygimp/Makefile.am
* plug-ins/pygimp/procbrowser.c: new module, which wraps
libgimprocbrowser.
* plug-ins/pygimp/gimpmodule.c
* plug-ins/pygimp/pygimp.h
* plug-ins/pygimp/pygimp-pdb.c: export GimpPDBFunction so other
modules can use it.
* plug-ins/pygimp/plug-ins/pdbbrowse.py
* plug-ins/pygimp/plug-ins/gimpcons.py: use gimpprocbrowser.
2004-11-17 Michael Natterer <mitch@gimp.org>
* plug-ins/script-fu/script-fu-scripts.[ch]
* plug-ins/script-fu/siod-wrapper.c: appled patch from Kevin
Cozens which adds (script-fu-menu-register) and allows scripts to
register their menu_paths the same undeprecated way as plug-ins.
Fixes bug #158117.
* plug-ins/script-fu/scripts/test-sphere.scm: example how to use
the new API. Doesn't change strings because test-shpere.scm is an
untranslated example script.
2004-11-17 Michael Natterer <mitch@gimp.org>
Made plug-in menu registration work the same way for ordinary and
temporary procedures. Addresses bug #158117.
* app/core/gimp-gui.[ch]: added "const gchar *menu_path" to
gimp_menus_create_entry().
* app/gui/gui-vtable.c (gui_menus_create_entry): if menu_path is
NULL, behave as before and create an action and its menu entries
for all the procedure's menu_paths. If it is non-NULL, skip action
creation and create a menu entry just for that path.
* app/plug-in/plug-ins.c (plug_ins_temp_proc_def_add): call
gimp_menus_create_entry() with a NULL menu path and call it if
proc_def->menu_paths *or* proc_def->menu_label is non-NULL, so
it creates at least the procedure's action, even if it has
no menu_path (yet).
* tools/pdbgen/pdb/plug_in.pdb (plugin_menu_register): check both
the list of procs and temp_procs when trying to register the
entry. Allow ordinary procedures and extensions to install stuff
at query() and init() time and allow temp_procs to install stuff
at any time.
* app/pdb/plug_in_cmds.c: regenerated.
2004-11-17 Michael Natterer <mitch@gimp.org>
* plug-ins/dbbrowser/gimpprocbox.c
* plug-ins/dbbrowser/gimpprocbrowser.[ch]
* plug-ins/dbbrowser/gimpprocview.c: some cleanup in preparation
of moving it to a more public place.
* plug-ins/dbbrowser/procedure-browser.c
* plug-ins/script-fu/script-fu-console.c: changed accordingly.
2004-11-17 Sven Neumann <sven@gimp.org>
* Makefile.am (DISTCHECK_CONFIGURE_FLAGS): removed --enable-gtk-doc
here since it only causes 'make distcheck' to break earlier as usual.
2004-11-17 Sven Neumann <sven@gimp.org>
* plug-ins/rcm/Makefile.am
* plug-ins/rcm/rcm_callback.c
* plug-ins/rcm/rcm_dialog.c
* plug-ins/rcm/rcm_stock.[ch]: applied a patch from Karine Proot
that replaces the XPM icons with stock icons (bug #140202).
* plug-ins/rcm/pixmaps/*.xpm: removed.
* plug-ins/Lighting/lighting_stock.c
* plug-ins/MapObject/mapobject_stock.c
* plug-ins/gfig/gfig-stock.c: fixed a common but harmless mistake
in the icon factory code.
2004-11-16 Manish Singh <yosh@gimp.org>
* plug-ins/pygimp/gimpui.py: Handle placeholder defaults for gimp
objects (bug #158392). Patch by Joao S. O. Bueno.
2004-11-16 Manish Singh <yosh@gimp.org>
* plug-ins/pygimp/gimpui.py: Use img.name if filename is not
available (bug #158392). Patch by Joao S. O. Bueno.
2004-11-16 Manish Singh <yosh@gimp.org>
* plug-ins/common/gimpfu.py
* plug-ins/common/gimpui.py: Add a palette selector (bug #155325).
Patch by Joao S. O. Bueno.
2004-11-16 Manish Singh <yosh@gimp.org>
* configure.in:
* plug-ins/pygimp/Makefile.am: Compile pygimp with
-fno-strict-aliasing if the compiler supports it.
* plug-ins/pygimp/gimpui.py: Make "..." into "Browse..." for
everything but the filesel, for slightly more consistency with
script-fu. Addresses #124791.
* plug-ins/pygimp/gimpmodule.c: Wrapped
gimp_context_{get,set}_gradient and
gimp_gradient_get_{uniform,custom}_samples. Deprecated the deprecated
versions of these, and rewrote them in terms of the new functions.
2004-11-17 Michael Natterer <mitch@gimp.org>
* app/plug-in/plug-in.c (plug_in_close): replaced the
while(plug_in->temp_procs) "loop" which called
plug_in_proc_frame_quit() by a real for()-loop iterating over the
list of PlugInProcFrames, calling g_main_loop_quit() on each main
loop. The old version did not unroll the stack but looped
infinitely. Spotted by Yosh.
2004-11-17 Michael Natterer <mitch@gimp.org>
* plug-ins/common/jpeg.c: applied (modified) patch from S. Mukund
which adds EXIF thumbnail loading and saving.
Fixes bugs #155761 and #158190.
* 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-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-style.c
* plug-ins/gfig/gfig-style.h
* plug-ins/gfig/gfig-types.h
* plug-ins/gfig/gfig.h: added a toggle so we can now choose to stroke
the painting or not.
* plug-ins/gfig/gfig-dialog.c: implemented the gradient fill, using a
shapeburst blend. This is very slow, but I dont see how it could be
done otherwise.
2004-11-16 Michael Natterer <mitch@gimp.org>
* app/widgets/gimpfgbgeditor.c: get rid of the
gimp_fg_bg_editor_context_changed() callback and
g_signal_connect_swapped() gtk_widget_queue_draw() directly.
2004-11-16 Michael Natterer <mitch@gimp.org>
* app/widgets/gimpchanneltreeview.c: implement
GimpDockedInterface::set_context() and set the context of the
embedded GimpComponentEditor. Fixes NULL-context crashes in
action callbacks when invoked from the component editor.
Spotted by Jimmac.
Unrelated:
* app/widgets/gimpitemtreeview.c: get rid of the
gimp_item_tree_view_context_changed() callback and
g_signal_connect_swapped() gimp_item_tree_view_set_image()
directly.
2004-11-16 Michael Natterer <mitch@gimp.org>
* tools/pdbgen/pdb/drawable_transform.pdb: renamed the new
drawable_foo_defaults() functions to drawable_foo_default() to be
consistent with paintbrush_default() and friends.
* tools/pdbgen/pdb/transform_tools.pdb
* libgimp/gimp.def: changed accordingly.
* app/pdb/drawable_transform_cmds.c
* app/pdb/transform_tools_cmds.c
* libgimp/gimpdrawabletransform_pdb.[ch]
* libgimp/gimptransformtools_pdb.c: regenerated.
* plug-ins/script-fu/scripts/coolmetal-logo.scm
* plug-ins/script-fu/scripts/image-structure.scm
* plug-ins/script-fu/scripts/text-circle.scm: follow the API change.
2004-11-16 Michael Natterer <mitch@gimp.org>
* tools/pdbgen/pdb/image.pdb
* tools/pdbgen/pdb/selection.pdb: entirely removed the deprecated
functions "selection_clear", "image_set_cmap" and "image_get_cmap".
* app/pdb/procedural_db.c: and added them to the compat hash table
because they have undeprecated replacements with identical
signature.
* libgimp/gimpselection.[ch]: added gimp_selection_clear() here
instead because we need the symbol in libgimp.
* app/pdb/image_cmds.c
* app/pdb/internal_procs.c
* app/pdb/selection_cmds.c
* libgimp/gimpselection_pdb.[ch]: regenerated.
* plug-ins/gfig/gfig-dobject.h: renamed the DObject type to
GfigObject, according to our common type naming. This type will
certainly become an abstract class in a near future.
* plug-ins/gfig/gfig-arc.c
* plug-ins/gfig/gfig-bezier.c
* plug-ins/gfig/gfig-bezier.h
* 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-line.h
* plug-ins/gfig/gfig-poly.c
* plug-ins/gfig/gfig-poly.h
* plug-ins/gfig/gfig-spiral.c
* plug-ins/gfig/gfig-star.c
* plug-ins/gfig/gfig-types.h
* plug-ins/gfig/gfig.c
* plug-ins/gfig/gfig.h: changed accordingly.
2004-11-16 Sven Neumann <sven@gimp.org>
* app/actions/file-commands.c
* app/dialogs/file-save-dialog.c
* app/file/file-save.[ch]
* app/widgets/gimpfiledialog.[ch]: combined "set_uri_and_proc" and
"set_image_clean" parameters into a single "save_a_copy"
parameter. When saving a copy, attach the used URI to the image and
let the "Save a Copy" file chooser default to the last used value.
2004-11-15 Sven Neumann <sven@gimp.org>
* app/widgets/gimpfiledialog.c (gimp_file_dialog_add_filters):
limit the number of file extensions that are added to the file
filter menu to keep the file dialog from growing too wide.
2004-11-15 Philip Lafleur <plafleur@cvs.gnome.org>
* app/display/gimpdisplayshell-preview.c: Further optimization of
perspective tool preview - never calculate the same vertex more
than once.
2004-11-15 Sven Neumann <sven@gimp.org>
* app/widgets/gimpfiledialog.c (gimp_file_dialog_proc_changed):
return early if gimp_file_proc_view_get_proc() didn't return a file
procedure. Should fix bug #158369.
2004-11-15 Sven Neumann <sven@gimp.org>
* app/dialogs/print-size-dialog.c: started to redo this dialog
without using a GimpSizeBox. The widgets aren't connected, so it
isn't usable yet.
* app/widgets/gimpprogressbox.c
* app/widgets/gimpprogressdialog.c
* app/widgets/gimpsizebox.c: trivial cleanups.
* data/images/gimp-splash.png: splash for 2.2-pre2, done by Jimmac.
* plug-ins/gfig/gfig-dialog.c
* plug-ins/gfig/gfig-dobject.c
* plug-ins/gfig/gfig-dobject.h: fixed a crash (the one triggered by
this sequence: draw a line, delete it, redraw something), and
corrected some ui spacing.
2004-11-14 Sven Neumann <sven@gimp.org>
* app/core/gimppalette-import.c: applied a (slightly modified)
patch from Nickolay V. Shmyrev that changes the palette import
function to not only read palettes in the RIFF format but also
GIMP and Photoshop ACT palette files (bug #158297).
2004-11-14 Sven Neumann <sven@gimp.org>
* Makefile.am (EXTRA_DIST)
* MAINTAINERS
* PLUGIN_MAINTAINERS
* TODO.xml: removed these files from the tarball and from CVS.
Doesn't make sense to keep unmaintained files around that provide
outdated and in large parts wrong information.
2004-11-14 Sven Neumann <sven@gimp.org>
* configure.in
* plug-ins/rcm/Makefile.am
* plug-ins/rcm/images/Makefile.am
* plug-ins/rcm/images/rcm-360.png
* plug-ins/rcm/images/rcm-a-b.png
* plug-ins/rcm/images/rcm-ccw.png
* plug-ins/rcm/images/rcm-cw.png: added PNG versions of the XPM
icons used by the RCM plug-in. Added rules to build a header file
that can be used to get rid of the XPM files (bug #140202).
* plug-ins/gfig/gfig-dialog.c
* plug-ins/gfig/gfig-dialog.h
* plug-ins/gfig/gfig-dobject.c
* plug-ins/gfig/gfig-dobject.h
* plug-ins/gfig/gfig-types.h
* plug-ins/gfig/gfig.c
* plug-ins/gfig/gfig.h: replace the crappy DAllObjs struct by a GList.
Makes the code cleaner and less error prone.
2004-11-14 Sven Neumann <sven@gimp.org>
* plug-ins/pagecurl/pagecurl.c: applied a patch from Karine Proot
that replaces the XPM icons with pixbufs (bug #140202).
* plug-ins/pagecurl/curl[0-7].xpm: removed.
2004-11-14 Sven Neumann <sven@gimp.org>
* plug-ins/gimpressionist/Makefile.am: fixed typo.
* plug-ins/pagecurl/Makefile.am
* plug-ins/pagecurl/curl[0-7].png: added PNG versions of the XPM
icons used by the PageCurl plug-in. Added rules to build a header
file that can be used to get rid of the XPM files (bug #140202).
2004-11-14 Philip Lafleur <plafleur@cvs.gnome.org>
* app/display/gimpdisplayshell-preview.c: Eliminated about 96
floating-point divides per frame in the persective preview.
2004-11-13 Manish Singh <yosh@gimp.org>
* tools/pdbgen/pdb/image.pdb: Adapted Sven's code into pdbgen so
that gimp_image_set_filename() validates that it is called with
a filename in the filesystem encoding which can safely be converted
to UTF-8 and back. Fixes#153751.
* app/pdb/image_cmds.c
* libgimp/gimpimage_pdb.c: Regenerated.
2004-11-13 Sven Neumann <sven@gimp.org>
* app/dialogs/Makefile.am
* app/dialogs/print-size-dialog.[ch]: new files for the Print Size
dialog that is still missing. Still work in progress...
* app/actions/image-actions.c
* app/actions/image-commands.[ch]
* app/widgets/gimphelp-ids.h
* menus/image-menu.xml.in: integrate the new dialog.
2004-11-13 Kevin Cozens <kcozens@cvs.gimp.org>
* plug-ins/script-fu/scripts/gimp-headers.scm
* plug-ins/script-fu/scripts/gimp-labels.scm
* plug-ins/script-fu/scripts/news-text.scm
* plug-ins/script-fu/scripts/speed-text.scm: Changed calls to
gimp-selection-clear to use gimp-selection-none in preparation
for the deprecation of -clear. (bug #156765)
2004-11-13 Sven Neumann <sven@gimp.org>
* tools/pdbgen/pdb/image.pdb: document the fact that
gimp_image_get_filename() returns the filename in the filesystem
encoding. Fixed gimp_image_get_name() to actually return the name
in UTF-8 encoding.
* app/pdb/image_cmds.c
* libgimp/gimpimage_pdb.c
* app/vectors/gimpbezierstroke.h: formatting.
2004-11-13 Sven Neumann <sven@gimp.org>
* app/core/gimpimagefile.[ch]
* app/file/file-open.c
* app/file/file-save.c: pass the MIME type from the save procedure
to gimp_imagefile_save_thumbnail() so that it can be stored with
the thumbnail.
* tools/pdbgen/pdb/fileops.pdb
* app/pdb/fileops_cmds.c: changed accordingly.
2004-11-13 Sven Neumann <sven@gimp.org>
* app/plug-in/plug-in-proc-def.[ch]
* app/plug-in/plug-in-rc.c
* app/plug-in/plug-ins.[ch]: allow to associate a procedure for
thumbnail loading with any file load procedure.
* tools/pdbgen/pdb/fileops.pdb: export this functionality to the
PDB as gimp_register_thumbnail_loader().
* app/pdb/fileops_cmds.c
* app/pdb/internal_procs.c
* libgimp/gimpfileops_pdb.[ch]: regenerated.
* app/core/gimpimagefile.c
* app/file/file-open.[ch]: when creating a thumbnail for an image
file, use a thumbnail load procedure if available.
* plug-ins/common/svg.c: added "file_svg_load_thumb", a procedure
that allows to load a small preview of the SVG image.
* plug-ins/common/retinex.c: use a GimpAspectPreview instead of a
GimpDrawablePreview. Fixes bug #157915. Also fixed the funny behaviour
of the progress bar.
2004-11-13 Sven Neumann <sven@gimp.org>
* libgimpbase/gimputils.c (gimp_strip_uline): changed based on a
patch by Joao S. O. Bueno to remove mnemonics as used in languages
like Chinese. Fixes bug #157561.
2004-11-13 Sven Neumann <sven@gimp.org>
* plug-ins/ifscompose/ifscompose.c: changed plug-in name from
"IfsCompose" to "IFS Fractal". Sorry for the late string changes
but the old name definitely was akward and probably hard to
translate anyway. Fixes bug #157135.
2004-11-13 Sven Neumann <sven@gimp.org>
* plug-ins/ifscompose/README.ifscompose: updated link to the
tutorial (pointed out by Alan Horkan) and added another link.
* plug-ins/ifscompose/ifscompose_storage.c: removed trailing
whitespace.
2004-11-13 Simon Budig <simon@gimp.org>
* app/core/gimpimage-merge.c: Return the active layer instead of
the bottom layer when just merging down a floating selection.
Untabbified.
Fixes bug #158130.
* plug-ins/gfig/images/stock-show-all.png
* plug-ins/gfig/images/stock-select-object.png: added these two stock
icons. Jimmac, these two are screaming to be redone, please.
* plug-ins/gfig/images/Makefile.am: added these icons.
* plug-ins/gfig/gfig-bezier.c
* plug-ins/gfig/gfig-bezier.h
* plug-ins/gfig/gfig-dialog.c
* plug-ins/gfig/gfig-poly.c
* plug-ins/gfig/gfig-poly.h
* plug-ins/gfig/gfig-spiral.c
* plug-ins/gfig/gfig-spiral.h
* plug-ins/gfig/gfig-star.c
* plug-ins/gfig/gfig-star.h
* plug-ins/gfig/gfig-stock.c
* plug-ins/gfig/gfig-stock.h
* plug-ins/gfig/gfig.h: moved all the buttons to a GtkUIManager
toolbar, which makes the code simpler and easier to read.
* plug-ins/gfig/gfig-dialog.c: use a GtkUIManager for the menu and
automagically have it translated! The button bar will follow the same
path. Remove the now useless "Paint" button.
2004-11-11 Sven Neumann <sven@gimp.org>
* app/config/gimpconfig-dump.c: groff doesn't like lines to start
with a single quote, we better escape it. Fixes bug #157971.
* docs/gimprc.5.in: regenerated.
2004-11-11 Michael Natterer <mitch@gimp.org>
* app/core/gimp-edit.c
* app/core/gimpdrawable-blend.c
* app/core/gimpdrawable-bucket-fill.c
* app/core/gimpitem.c (gimp_item_stroke): added precondition
checks for gimp_item_is_attached() and removed checks for
gimp_item_get_image() to actually return an image (because it
always returns an image).
* tools/pdbgen/pdb/edit.pdb: let all wrappers fail if the drawable
is not attached.
* app/pdb/edit_cmds.c: regenerated.
2004-11-11 Michael Natterer <mitch@gimp.org>
* plug-ins/script-fu/scripts/add-bevel.scm
* plug-ins/script-fu/scripts/addborder.scm
* plug-ins/script-fu/scripts/carve-it.scm
* plug-ins/script-fu/scripts/carved-logo.scm
* plug-ins/script-fu/scripts/chip-away.scm
* plug-ins/script-fu/scripts/clothify.scm
* plug-ins/script-fu/scripts/font-map.scm
* plug-ins/script-fu/scripts/slide.scm
* plug-ins/script-fu/scripts/swirltile.scm: don't call gimp-edit-*
functions on drawables which are not added to an image because
this will be forbidden soon (because it can trash the image's undo
stack).
2004-11-11 Michael Natterer <mitch@gimp.org>
* app/tools/gimpimagemaptool.c (gimp_image_map_tool_response):
call gimp_image_flush() after committing the image_map so the
menus are up-to-date. Fixes bug #157914.
2004-11-11 Philip Lafleur <plafleur@cvs.gnome.org>
* app/display/gimpdisplayshell-preview.c: Use the transform
tool coordinates when creating subdivisions, not the
texture coordinates. Fixes breakage with layers that are not
the image size.
2004-11-11 Jay Cox <jaycox@gimp.org>
* app/base/brush-scale.c: Keep computed brush values from
overflowing with large reduction factors. Fixes bug #76228.
2004-11-10 Sven Neumann <sven@gimp.org>
* app/file/file-open.c (file_open_layer): add the image to the
list of recently used documents. Fixes bug #157879.
2004-11-10 Michael Natterer <mitch@gimp.org>
* app/display/gimpdisplayshell-handlers.c
(gimp_display_shell_resolution_changed_handler): if dot_for_dot is
off, resolution change has the same effect as size change, so call
gimp_display_shell_size_changed_handler(). Fixes display garbage.
2004-11-10 Michael Schumacher <schumaml@cvs.gnome.org>
* plug-ins/winsnap/winsnap.c: applied a patch from Sven Neumann
with some minor modifications. Fixes bug #157612
Removed some unused variables.
2004-11-10 Sven Neumann <sven@gimp.org>
* app/dialogs/preferences-dialog.c: set the padding-mode to custom
color if a custom color is choosen. Fixes bug #157844.
* plug-ins/common/psd.c: Skip resources with unknown signatures
instead of quiting. Fixes bug #142468, and bug #152728
* app/core/gimpdrawable.c: in functions gimp_drawable_mask_bounds,
and gimp_drawable_mask_intersect: reinitialize the return values
after calling gimp_channel_bounds because gimp_channel_bounds
overwrites the values even when it returns false. This fixes the
bug where the gimp crashes when running color tools on layers
smaller than the image, and processes only part of the image when
the layer is larger than the image size.
2004-11-10 Michael Natterer <mitch@gimp.org>
* plug-ins/ifscompose/ifscompose.c: use a UI manager created
toolbar instead of two rows of buttons. Added a "dummy-menubar" so
the popup menu shows shortcuts again. Removed "Preview" and "Auto"
buttons since the preview doesn't block the GUI and can always be
updated.
2004-11-10 Michael Natterer <mitch@gimp.org>
* app/display/gimpstatusbar.[ch]: added new function
gimp_statusbar_push_length(), which works exactly like
push_coords() but takes only one value plus a GimpOrientationType
for specifying the value's axis.
* app/tools/gimptool.[ch]: added the corresponding
gimp_tool_push_status_length().
* app/tools/gimpmovetool.c: use gimp_tool_push_status_length()
so the guide position is shown in the selected display unit.
Cleaned up the status message code a bit.
2004-11-09 Manish Singh <yosh@gimp.org>
* plug-ins/common/bmpread.c: if the file has space in the colormap for
more than 256 entries, ignore them instead of failing. Fixes bug
#157775.
2004-11-09 Michael Natterer <mitch@gimp.org>
* app/display/gimpdisplayshell.c (gimp_display_shell_new): don't
connect to "event" and don't connect any canvas event to
gimp_display_shell_events(). Connect all tool events separately
(doesn't include "configure-event" and thus fixes bug #141543).
* app/display/gimpdisplayshell-callbacks.c
(gimp_display_shell_canvas_tool_events): call
gimp_display_shell_events() manually before doing tool event
processing.
* app/display/gimpdisplayshell.c
* app/display/gimpdisplayshell-callbacks.[ch]: connect to
"size_allocate" of the canvas, not to "configure_event"
(suggested by Owen in bug #141543).
* app/display/gimpdisplayshell-callbacks.[ch]: removed
gimp_display_shell_popup_menu().
(gimp_display_shell_origin_button_press): emit "popup-menu" on the
shell manually instead of calling above function.
* app/display/gimpdisplayshell.c: added the whole menu popup code
here.
2004-11-08 Sven Neumann <sven@gimp.org>
* app/dialogs/user-install-dialog.c (user_install_migrate_files):
don't copy menurc, the format changed anyway.
2004-11-08 Sven Neumann <sven@gimp.org>
* plug-ins/script-fu/script-fu-interface.c (script_fu_ok):
actually retrieve the value from the GtkEntry for SF-VALUE.
2004-11-08 Michael Natterer <mitch@gimp.org>
* plug-ins/script-fu/scripts/selection-round.scm: removed garbage
from beginning of file. Removed DOS line breaks.
2004-11-08 Michael Natterer <mitch@gimp.org>
* app/dialogs/resize-dialog.c (resize_dialog_response)
* app/dialogs/scale-dialog.c (scale_dialog_response): replaced
"case GTK_RESPONSE_CANCEL:" by "default:" so it also catches
hitting the escape key or clicking the WM close button.
2004-11-08 Sven Neumann <sven@gimp.org>
* app/core/gimpdrawable.c (gimp_drawable_mask_bounds)
(gimp_drawable_mask_intersect): initialize the return values before
checking if the drawable is attached. Keeps GIMP from going mad if
this assertion is ever triggered.
* plug-ins/gflare/gflare.c: removed #undef GTK_DISABLE_DEPRECATED and
use a GtkListStore instead of the long-time deprecated GtkList. Done
some small cleanups, too.
2004-11-06 Sven Neumann <sven@gimp.org>
* app/widgets/gimpbrusheditor.c: allow a smaller brush radius to
be set in the brush editor. Fixes bug #157508.
2004-11-06 Sven Neumann <sven@gimp.org>
* app/dialogs/resize-dialog.c (resize_dialog_reset): fixed most of
the Reset functionality (bug #157495). The offset box is still not
working correctly.
* app/widgets/gimpsizebox.c (gimp_size_box_update_resolution):
check for availability of the size entry before accessing it.
2004-11-06 Sven Neumann <sven@gimp.org>
New Win32 icons contributed by Jernej Simoncic:
* app/Makefile.am
* app/makefile.msc
* app/gimp.rc
* app/fileicon.ico: added new file icon for the Win32 build.
* app/wilber.ico: nicer application icon for the Win32 build.
2004-11-05 Michael Natterer <mitch@gimp.org>
* plug-ins/flame/flame.c: removed #undef GTK_DISABLE_DEPRECATED
because it's no longer needed. Cleaned up #defines and
declarations. Removed tabs and trailing whitespace.
2004-11-04 Sven Neumann <sven@gimp.org>
* app/widgets/gimpsessioninfo.c: be more tolerant and silently
skip entries that the dialog factory doesn't recognize.
* app/widgets/gimpdialogfactory.c: minor cleanup.
2004-11-04 Sven Neumann <sven@gimp.org>
* app/dialogs/user-install-dialog.c (user_install_response): don't
save the (empty) gimprc after migrating the user settings.
2004-11-04 Michael Natterer <mitch@gimp.org>
* plug-ins/common/uniteditor.c: undeprecated by using a
GtkUIManager for creating the toolbar. Some cleanup and code
reordering.
2004-11-04 Michael Natterer <mitch@gimp.org>
* configure.in: disable the whole bunch of FOO_DISABLE_DEPRECATED
only for future versions of GLib, GTK+ and Pango because the
upcoming new stable versions add no new deprecations that are
relevant for the GIMP source.
2004-11-04 Michael Natterer <mitch@gimp.org>
Don't use deprecated GtkToolbar API in GimpTextEditor:
* app/actions/Makefile.am
* app/actions/actions.c
* app/actions/text-editor-actions.[ch]
* app/actions/text-editor-commands.[ch]: added acions and
callbacks for the new "text-editor" action group.
* app/menus/menus.c: register a "<TextEditor>" UI manager.
* menus/Makefile.am
* menus/text-editor-toolbar.xml: new file for the toolbar.
* app/widgets/gimptexteditor.[ch]: use the toolbar created by the
UI manager instead of constructing it using deprecated API.
* app/tools/gimptextoptions.c: changed accordingly.
* app/widgets/gimpwidgets-utils.[ch]: added gimp_text_buffer_load()
(used by text-editor-commands.c).
2004-11-04 Michael Natterer <mitch@gimp.org>
* libgimpwidgets/gimpcolorbutton.[ch]: use a GtkUIManager instead
of a GtkItemFactory. Added virtual function ::get_action_type()
and create the manager's actions manually using that action type
instead of using gtk_action_group_add_actions().
* app/widgets/gimpcolorpanel.c: override ::get_action_type() so it
creates GimpActions (which can have a color attached) instead of
GtkActions. Changed the menu item visibility and color preview
code accordingly.
* app/widgets/Makefile.am
* app/widgets/gimpitemfactory.[ch]: finally removed.
* configure.in: added -DGTK_DISABLE_DEPRECATED to CPPFLAGS again.
2004-11-04 Michael Natterer <mitch@gimp.org>
* libgimpwidgets/gimpoldwidgets.c: #undef GTK_DISABLE_DEPRECATED
* libgimpwidgets/gimpunitmenu.h: #include <gtk/gtkoptionmenu.h>
explicitely and #undef GTK_DISABLE_DEPRECATED only around the
inclusion if it was defined before.
2004-11-03 Michael Natterer <mitch@gimp.org>
* app/dialogs/module-dialog.c
* plug-ins/dbbrowser/gimpprocbrowser.c
* plug-ins/dbbrowser/plugin-browser.c: use
gtk_tree_model_get_iter_first() instead of the deprecated
_get_iter_root().
* app/display/gimpdisplayshell-callbacks.c: don't include
"widgets/gimpitemfactory.h".
2004-11-03 Michael Natterer <mitch@gimp.org>
* app/dialogs/module-dialog.c: use gtk_tree_model_get_iter_first()
instead of the deprecated _get_iter_root().
2004-11-03 Michael Natterer <mitch@gimp.org>
* app/paint-funcs/paint-funcs.c (combine_sub_region): applied
patch from Joao S. O. Bueno which moves assignments into an "else"
branch and thus optimizes the (common) "if" branch. Did some
cosmetic cleanups.
2004-11-02 Michael Natterer <mitch@gimp.org>
* plug-ins/script-fu/script-fu-interface.c (script_fu_interface):
don't silently return when there is already a script running but
show a message instead. Unfortunately introduces two new strings,
but bugs are bugs. Fixes bug #123882.
2004-11-02 Sven Neumann <sven@gimp.org>
* app/core/gimpimagefile.c (gimp_imagefile_save_thumb): minor
cleanup.
* libgimpthumb/gimpthumb-utils.c (_gimp_thumbs_delete_others): do
the right thing. Used to do the wrong thing when called with a
thumbnail size which is not from the GimpThumbSize enum.
2004-11-02 Michael Natterer <mitch@gimp.org>
* tools/pdbgen/pdb/drawable_transform.pdb: factored out the
"invoke" bodies to two utility functions, getting rid of *tons* of
duplicated code.
* app/pdb/drawable_transform_cmds.c: regenerated (only whitespace
and comments changed).