- 11 Dec, 2003 9 commits
-
-
Michael Natterer authored
2003-12-12 Michael Natterer <mitch@gimp.org> * app/widgets/gimphistogramview.[ch]: added a hack that allows to render the histogram in a brighter color. Fixed initial range for views that are not selectable. * app/tools/gimpcurvestool.[ch]: replaced the GtkDrawingArea by a bright GimpHistogramView and render the curves tool controls on top of the histogram. Fixes bug #71633.
-
Sven Neumann authored
2003-12-11 Sven Neumann <sven@gimp.org> * app/widgets/gimpdockable.c (gimp_dockable_init): suppress button_press events that reach the dockable widget but don't originate from the title area.
-
Danilo Šegan authored
-
David Odin authored
-
Michael Natterer authored
2003-12-11 Michael Natterer <mitch@gimp.org> * app/widgets/gimphistogramview.[ch]: added properties "border-width" and "subdivisions". Fixed rendering (it off-by-one worked just accidentially because border-width was hardcoded to 1). * app/widgets/gimphistogrambox.c: use the histogram view's border width for the color area below the histogram. Conect to the right signal to update the area. Added (#ifdef DEBUG_VIEW) debugging spinbuttons to change the histogram view's new properties on the fly.
-
Jordi Mallach authored
2003-12-11 Jordi Mallach <jordi@sindominio.net> * ca.po: Updated Catalan translation by Xavier Beà <xbea@pie.xtec.es>.
-
Stanislav Visnovsky authored
2003-12-11 Stanislav Visnovsky <visnovsky@nenya.ms.mff.cuni.cz> * sk.po: Updated Slovak translation by Zdenko Podobny.
-
Michael Natterer authored
2003-12-11 Michael Natterer <mitch@gimp.org> * app/widgets/gimphistogramview.[ch]: applied (modified) patch from Ed Halley which adds "quintile marks". Fixes bug #129050. Render the histogram on a base_gc background and use text_gc and text_aa_gc for rendering the histogram and the helper lines. Fixed rendering of the 1px border around the histogram. Removed separate drawing of baseline, left and right helper lines and draw a rectangle which marks the entire area of possible values. Fixed size_request calculation. Added missing getters. Cleanup. * app/tools/gimpcurvestool.c: use the same color scheme as the histogram. * app/tools/gimpcurvestool.c (curves_load,save_callback) * app/tools/gimplevelstool.c (levels_load,save_callback): gtk_window_present() the file dialog if it is already visible.
-
Sven Neumann authored
2003-12-11 Sven Neumann <sven@gimp.org> * app/display/gimpdisplayshell-callbacks.c (gimp_display_shell_events): switch off fullscreen mode on Escape key press events only. The shell should not react on the key release event it gets when a dialog is closed using the Escape key.
-
- 10 Dec, 2003 4 commits
-
-
David Odin authored
stuff, before moving it into its own, no_inst library.
-
David Odin authored
-
David Odin authored
-
David Odin authored
-
- 09 Dec, 2003 12 commits
-
-
Michael Natterer authored
2003-12-09 Michael Natterer <mitch@gimp.org> * app/core/gimpimage-scale.c (gimp_image_scale_check): renamed variable and added comments to make the calculation clear.
-
Michael Natterer authored
2003-12-09 Michael Natterer <mitch@gimp.org> * app/core/gimpimage-duplicate.c: Removed unused #includes. Copy the colormap using the provided API. Use gimp_item_convert() instead of gimp_item_duplicate() and gimp_item_set_image() to create layers, channels and vectors for the new image. Don't leak the new image's grid. Cleanup.
-
Michael Natterer authored
2003-12-09 Michael Natterer <mitch@gimp.org> Fixed memory management of layers and channels which were created using the PDB: * app/core/gimpitem.[ch]: added "gboolean floating" flag to GimpItem. Items are created with floating == TRUE. Added gimp_item_sink() which resets the floating flag and unrefs the item if it was TRUE. Added gimp_item_is_floating() accessor. * app/core/gimpimage.c (gimp_image_add_layer,channel,vectors): g_object_ref()/gimp_item_sink() added items to take ownership of them. * app/core/gimplayer.c (gimp_layer_add_mask): g_object_ref()/gimp_item_sink() the mask. * app/gui/layers-commands.c * app/xcf/xcf-load.c: don't unref layer masks after adding them to the layer. * tools/pdbgen/pdb/drawable.pdb (drawable_delete): gimp_item_sink() the drawable if it's floating and fail if it's not. Fixes bug #128881. * tools/pdbgen/pdb/layer.pdb (layer_create_mask): fixed docs. * app/pdb/drawable_cmds.c * app/pdb/layer_cmds.c * libgimp/gimplayer_pdb.c: regenerated.
-
Michael Natterer authored
2003-12-09 Michael Natterer <mitch@gimp.org> * app/core/core-enums.[ch]: removed enum value GIMP_UNDO_GROUP_EDIT_COPY (I have no idea why we used to push an undo group around "Copy"...). * app/core/gimp-edit.c (gimp_edit_extract): new utility function which does everything needed for cut and copy and does not push an undo group for copy. (gimp_edit_cut,copy): removed lots of duplicated code and call gimp_edit_extract(). (gimp_edit_paste,paste_as_new): no need to call gimp_item_set_image() on newly created layers.
-
Michael Natterer authored
2003-12-09 Michael Natterer <mitch@gimp.org> * app/core/gimplayer-floating-sel.c (floating_sel_attach): changed absolutely unclear comment.
-
Michael Natterer authored
2003-12-09 Michael Natterer <mitch@gimp.org> * app/widgets/gimptoolbox-dnd.c (gimp_toolbox_drop_drawable): use gimp_item_convert() instead of gimp_item_duplicate() to create the layer for the new image. Cleanup.
-
Michael Natterer authored
2003-12-09 Michael Natterer <mitch@gimp.org> * app/base/tile-manager.c (tile_manager_get_memsize): return a more exact result. * app/core/gimpimage-scale.[ch] (gimp_image_scale_check): estimate the new memsize by separating parts of the image that are constant from parts that will scale. Also take undo logic into account. Return the estimated new memsize since it's not trivial to calculate. * app/gui/image-commands.c (image_scale_callback): use the memsize returned by gimp_image_scale_check() for the warning message. Free allocated strings.
-
Michael Natterer authored
2003-12-09 Michael Natterer <mitch@gimp.org> * app/core/core-enums.h: changed GimpImageScaleCheckType enum values to GIMP_IMAGE_SCALE_*. * app/core/gimpimage-scale.c (gimp_image_scale_check): return GIMP_IMAGE_SCALE_TOO_BIG only if we are scaling up. * app/gui/image-commands.c: changed accordingly. Whitespace and indentation cleanup.
-
Sven Neumann authored
2003-12-09 Sven Neumann <sven@gimp.org> * plug-ins/script-fu/scripts/spyrogimp.scm: added missing parameter to gimp-gradients-get-gradient-data call.
-
Michael Natterer authored
2003-12-09 Michael Natterer <mitch@gimp.org> * tools/pdbgen/pdb/image.pdb (image_list): iterate gimp->images directly rather than building a (leaked) temp GList using gimp_container_foreach(). Removed gimlist_cb() utility function. * app/pdb/image_cmds.c: regenerated.
-
Michael Natterer authored
2003-12-09 Michael Natterer <mitch@gimp.org> * app/core/core-enums.h: export enum GimpRotationType to libgimp. * tools/pdbgen/pdb/image.pdb: added gimp_image_rotate() PDB wrapper. * app/pdb/image_cmds.c * app/pdb/internal_procs.c * libgimp/gimpenums.h * libgimp/gimpimage_pdb.[ch] * plug-ins/pygimp/gimpenums.py * plug-ins/script-fu/script-fu-constants.c * tools/pdbgen/enums.pl: regenerated. 2003-12-09 Michael Natterer <mitch@gimp.org> * libgimp/libgimp-sections.txt * libgimp/tmpl/gimpenums.sgml * libgimp/tmpl/gimpimage.sgml: added gimp_image_rotate().
-
Manish Singh authored
2003-12-08 Manish Singh <yosh@gimp.org> * Makefile.am * configure.in: added --disable-devel-docs, to skip the devel-docs dir entirely. Also, changed --enable-gimpdir to --with-gimpdir since that semantic makes more sense.
-
- 08 Dec, 2003 14 commits
-
-
Michael Natterer authored
2003-12-08 Michael Natterer <mitch@gimp.org> * tools/pdbgen/pdb/image.pdb: marked gimp_image_add_layer_mask() and gimp_image_remove_layer_mask() as deprecated. Didnn't remove them from the PDB because the new functions' signature differs and they are used very often in scripts, but removed them from the libgimp C wrappers. * tools/pdbgen/pdb/layer.pdb: added gimp_layer_add_mask() and gimp_layer_remove_mask(). * libgimp/gimpcompat.h: added compat cruft. * app/pdb/image_cmds.c * app/pdb/internal_procs.c * app/pdb/layer_cmds.c * libgimp/gimpimage_pdb.[ch] * libgimp/gimplayer_pdb.[ch]: regenerated. * libgimp/gimpexport.c * plug-ins/common/curve_bend.c * plug-ins/common/psd.c * plug-ins/pygimp/pygimp-image.c * plug-ins/script-fu/scripts/3d-outline.scm * plug-ins/script-fu/scripts/alien-neon-logo.scm * plug-ins/script-fu/scripts/blended-logo.scm * plug-ins/script-fu/scripts/burn-in-anim.scm * plug-ins/script-fu/scripts/carve-it.scm * plug-ins/script-fu/scripts/carved-logo.scm * plug-ins/script-fu/scripts/chrome-it.scm * plug-ins/script-fu/scripts/chrome-logo.scm * plug-ins/script-fu/scripts/coolmetal-logo.scm * plug-ins/script-fu/scripts/crystal-logo.scm * plug-ins/script-fu/scripts/fade-outline.scm * plug-ins/script-fu/scripts/frosty-logo.scm * plug-ins/script-fu/scripts/image-structure.scm * plug-ins/script-fu/scripts/news-text.scm * plug-ins/script-fu/scripts/rendermap.scm * plug-ins/script-fu/scripts/slide.scm * plug-ins/script-fu/scripts/sota-chrome-logo.scm * plug-ins/script-fu/scripts/speed-text.scm * plug-ins/script-fu/scripts/starburst-logo.scm * plug-ins/script-fu/scripts/textured-logo.scm * plug-ins/script-fu/scripts/weave.scm * plug-ins/script-fu/scripts/xach-effect.scm * plug-ins/xjt/xjt.c: changed accordingly. 2003-12-08 Michael Natterer <mitch@gimp.org> * libgimp/libgimp-sections.txt * libgimp/tmpl/gimpimage.sgml * libgimp/tmpl/gimplayer.sgml: follow layer mask API change.
-
Dave Neary authored
2003-12-08 Dave Neary <bolsh@gimp.org> * app/core/core-enums.h: * app/core/gimpimage-scale.[ch]: Added the GimpImageScaleCheckType enum and used it in gimp_image_scale_check() which used to be gimp_image_check_scaling(). * app/gui/image_commands.c: Used the above when checking scaling parameters to display a message if the image is too big or too small after scaling. Closes bug #21028.
-
Michael Natterer authored
2003-12-08 Michael Natterer <mitch@gimp.org> * tools/pdbgen/pdb/image.pdb: renamed PDB function gimp_image_active_drawable() to gimp_image_get_active_drawable() so it's consistent with all other drawable getters. * app/pdb/procedural_db.c * libgimp/gimpcompat.h: added compat stuff. * app/pdb/image_cmds.c * libgimp/gimpimage_pdb.[ch]: regenerated. * plug-ins/pygimp/pygimp-image.c * plug-ins/script-fu/scripts/add-bevel.scm * plug-ins/script-fu/scripts/carved-logo.scm * plug-ins/script-fu/scripts/chrome-it.scm * plug-ins/script-fu/scripts/crystal-logo.scm * plug-ins/script-fu/scripts/round-corners.scm * plug-ins/script-fu/scripts/slide.scm * plug-ins/script-fu/scripts/sota-chrome-logo.scm: changed accordingly. 2003-12-08 Michael Natterer <mitch@gimp.org> * libgimp/libgimp-sections.txt * libgimp/tmpl/gimpimage.sgml: updated.
-
Michael Natterer authored
2003-12-08 Michael Natterer <mitch@gimp.org> Some PDB fixes/cosmetics before doing real changes again: * tools/pdbgen/pdb/drawable.pdb * tools/pdbgen/pdb/layer.pdb: changed order of generated functions to make more sense. * tools/pdbgen/pdb/misc_tools.pdb: doc cosmetics, removed unused subroutines. * tools/pdbgen/pdb/image.pdb: reordered generated functions as above, fixed resolution and unit accessors to use functions instead of setting gimage->foo directly, use &image_accessors() for the tattoo_state functions, cleanup. * app/pdb/drawable_cmds.c * app/pdb/image_cmds.c * app/pdb/layer_cmds.c * app/pdb/misc_tools_cmds.c * libgimp/gimpdrawable_pdb.[ch] * libgimp/gimpimage_pdb.[ch] * libgimp/gimplayer_pdb.[ch] * libgimp/gimpmisctools_pdb.c: regenerated.
-
Sven Neumann authored
2003-12-08 Sven Neumann <sven@gimp.org> * libgimpthumb/gimpthumbnail.c (gimp_thumbnail_load_thumb): don't scale the pixbuf, always return the pixbuf as loaded from disk. * app/core/gimpimagefile.c (gimp_imagefile_get_description): return NULL when being asked for a description on a thumbnail without an image_uri.
-
Michael Natterer authored
2003-12-08 Michael Natterer <mitch@gimp.org> * app/core/gimpdatafactory.c: code review / cleanup. * app/plug-in/plug-in.c * app/plug-in/plug-in-message.c: unified messages about plug-in errors. Changed lots of g_warning()s to g_message()s because g_warning() is for programming errors and the user should be informed that the plug-in was killed and did not simply crash.
-
Sven Neumann authored
2003-12-08 Sven Neumann <sven@gimp.org> * libgimpthumb/gimpthumb-utils.[ch]: renamed a function, added another one. * libgimpthumb/gimpthumb.def * libgimpthumb/gimpthumbnail.c: changed accordingly. 2003-12-08 Sven Neumann <sven@gimp.org> * Makefile.am: removed unnecessary stuff. * libgimpthumb/libgimpthumb-sections.txt * libgimpthumb/tmpl/gimpthumb-utils.sgml: updated.
-
Miloslav Trmac authored
-
Michael Natterer authored
2003-12-08 Michael Natterer <mitch@gimp.org> * tools/pdbgen/pdb/channel.pdb * tools/pdbgen/pdb/display.pdb * tools/pdbgen/pdb/drawable.pdb * tools/pdbgen/pdb/image.pdb: don't use "alias"es just to rename variables, they just clutter the code and there is no reason why e.g. a GimpDisplay variable must be called "gdisp" instead of "display". Cleanup. * app/pdb/channel_cmds.c * app/pdb/display_cmds.c * app/pdb/drawable_cmds.c * app/pdb/image_cmds.c: regenerated.
-
Michael Natterer authored
2003-12-08 Michael Natterer <mitch@gimp.org> * tools/pdbgen/pdb/brushes.pdb * tools/pdbgen/pdb/fonts.pdb * tools/pdbgen/pdb/gradients.pdb * tools/pdbgen/pdb/palettes.pdb * tools/pdbgen/pdb/patterns.pdb: removed comments that gimp_data_factory_data_init() should return a boolean indicating success, since it is highly unclear when to return FALSE. This function just always succeeds. Changed docs accordingly. Cleanup. * tools/pdbgen/pdb/brush_select.pdb * tools/pdbgen/pdb/font_select.pdb * tools/pdbgen/pdb/gradient_select.pdb * tools/pdbgen/pdb/palette_select.pdb * tools/pdbgen/pdb/pattern_select.pdb: minor cleanups. * app/pdb/brush_select_cmds.c * app/pdb/brushes_cmds.c * app/pdb/font_select_cmds.c * app/pdb/fonts_cmds.c * app/pdb/gradient_select_cmds.c * app/pdb/gradients_cmds.c * app/pdb/palette_select_cmds.c * app/pdb/palettes_cmds.c * app/pdb/pattern_select_cmds.c * app/pdb/patterns_cmds.c * libgimp/gimpbrushes_pdb.c * libgimp/gimpfonts_pdb.c * libgimp/gimpgradients_pdb.c * libgimp/gimppalettes_pdb.c * libgimp/gimppatterns_pdb.c: regenerated.
-
Sven Neumann authored
-
Sven Neumann authored
2003-12-08 Sven Neumann <sven@gimp.org> * configure.in: bumped version number to 1.3.24. (AC_CONFIG_FILES): added files in devel-docs/libgimpthumb. * gimp.spec.in: added files from libgimpthumb. 2003-12-08 Sven Neumann <sven@gimp.org> * Makefile.am * libgimpthumb/Makefile.am * libgimpthumb/libgimpthumb-docs.sgml * libgimpthumb/libgimpthumb-sections.txt * libgimpthumb/libgimpthumb.types * libgimpthumb/version.in * libgimpthumb/tmpl/gimpthumb-enums.sgml * libgimpthumb/tmpl/gimpthumb-error.sgml * libgimpthumb/tmpl/gimpthumb-utils.sgml * libgimpthumb/tmpl/gimpthumbnail.sgml: added framework for libgimpthumb documentation.
-
Sven Neumann authored
2003-12-08 Sven Neumann <sven@gimp.org> * app/tools/gimpcroptool.c (gimp_crop_tool_draw): an XOR line was being drawn twice; spotted by Marco Munari.
-
Sven Neumann authored
2003-12-08 Sven Neumann <sven@gimp.org> * Makefile.am (SUBDIRS): added libgimpthumb. * libgimpthumb/gimpthumb-utils.c * libgimpthumb/gimpthumbnail.c: basic functionality is implemented and seems to be working. * app/Makefile.am: link the application against libgimpthumb. * app/core/core-types.h: include libgimpthumb/gimpthumb-types.h. * app/core/gimpimagefile.[ch]: removed thumbnail handling routines and use libgimpthumb instead. Fixes bug #127914. * app/gui/file-open-dialog.c * app/widgets/gimpdocumentview.c: changed accordingly.
-
- 07 Dec, 2003 1 commit
-
-
Danilo Šegan authored
2003-12-08 Danilo Šegan <dsegan@gmx.net> * po-script-fu/sr.po, po-script-fu/sr@Latn.po: Updated Serbian translation of Gimp Script Fu (by Translation-Fu).
-