- 26 May, 2004 4 commits
-
-
Michael Natterer authored
2004-05-26 Michael Natterer <mitch@gimp.org> * app/paint/gimpbrushcore.h * app/paint/gimppaintcore.h: some cleanup.
-
Michael Natterer authored
2004-05-26 Michael Natterer <mitch@gimp.org> * app/paint/gimppaintcore.c: don't do special stuff if a virtual function doesn't exist. Instead, added default implementations which do the special stuff and call the virtual functions unconditionally. * app/tools/gimppainttool.c: some stylistic cleanup.
-
Michael Natterer authored
2004-05-26 Michael Natterer <mitch@gimp.org> * app/paint/gimppaintcore.[ch] (gimp_paint_core_paste) (gimp_paint_core_replace): replaced the "MaskBuf *paint_mask" parameters by "PixelRegion *mask_bufPR", so subclasses can pass in any kind of paint_mask buffer and are not restricted to MaskBufs. Also removes implicit knowledge about the MaskBuf originating from a brush in paint_mask_to_canvas_buf() and _to_canvas_tiles() which don't need to offset the mask by width/2 height/2 any more. Made gimp_paint_core_validate_undo_tiles() and gimp_paint_core_validate_canvas_tiles() protected functions. * app/paint/gimpbrushcore.c (gimp_brush_core_paste_canvas) (gimp_brush_core_replace_canvas): create correctly positioned PixelRegions from the MaskBufs before passing them to the paint_core.
-
Michael Natterer authored
2004-05-26 Michael Natterer <mitch@gimp.org> * app/paint/gimppaintcore.[ch]: removed "gdouble scale" parameter and added "GimpPaintOptions" in GimpPaintCore::get_paint_area(). Check if virtual functions exist befoe calling them. * app/paint/gimpbrushcore.[ch]: added "gdouble scale" to GimpBrushCore and "gboolean use_scale" to GimpBrushCoreClass (defaults to TRUE). Set scale from paint_options in GimpPaintCore::get_paint_area(). Removed "scale" parameter from gimp_brush_core_paste_canvas() and _replace_canvas(). * app/paint/gimpsmudge.c (gimp_smudge_class_init): set use_scale to FALSE. * app/paint/gimpclone.c * app/paint/gimpconvolve.c * app/paint/gimpdodgeburn.c * app/paint/gimperaser.c * app/paint/gimppaintbrush.c: removed all scale calculations and simply pass paint_options to GimpPaintCore::get_paint_area().
-
- 25 May, 2004 1 commit
-
-
Michael Natterer authored
2004-05-25 Michael Natterer <mitch@gimp.org> * app/paint/Makefile.am * app/paint/gimpbrushcore-kernels.h * app/paint/gimpbrushcore.[ch]: new GimpPaintCore subclass containing all the brush painting specific stuff. * app/paint/gimppaintcore-kernels.h: removed this file. * app/paint/gimppaintcore.[ch]: removed all brush stuff. * app/paint/gimpairbrush.c * app/paint/gimpclone.[ch] * app/paint/gimpconvolve.[ch] * app/paint/gimpdodgeburn.[ch] * app/paint/gimperaser.[ch] * app/paint/gimppaintbrush.[ch] * app/paint/gimppencil.c * app/paint/gimpsmudge.[ch]: changed accordingly. Derive all classes which used to derive directly from GimpPaintCore from GimpBrushCore now. Lots of cleanup. * app/paint/paint-types.h * app/paint/gimp-paint.c * app/paint/gimppaintcore-stroke.c * app/tools/gimppainttool.c * tools/kernelgen.c: changed accordingly.
-
- 24 May, 2004 2 commits
-
-
Sven Neumann authored
2004-05-24 Sven Neumann <sven@gimp.org> * plug-ins/maze/maze_face.c: fixed a compiler warning. 2004-05-24 Sven Neumann <sven@gimp.org> Applied a patch from Philip Lafleur (bug #142808): * app/paint/gimppaintcore.h: define PRESSURE_SCALE to 1.5 * app/paint/gimpairbrush.c * app/paint/gimpclone.c * app/paint/gimpconvolve.c * app/paint/gimpdodgeburn.c * app/paint/gimperaser.c * app/paint/gimppaintbrush.c * app/paint/gimpsmudge.c: use the PRESSURE_SCALE constant.
-
Michael Natterer authored
2004-05-24 Michael Natterer <mitch@gimp.org> Long overdue core container cleanup: * app/core/gimplist.[ch]: added "unique-names" and "sort-func" properties and merged the resp. code from GimpDataList into GimpList. Removed "policy" parameters from gimp_list_new() and added "unique_names". Added new constructor gimp_list_new_weak(). Made public function gimp_list_uniquefy_name() private. * app/core/Makefile.am * app/core/core-types.h * app/core/gimpdatalist.[ch]: removed. Its functionality is entirely in GimpList now. * app/core/gimpdata.[ch]: added gimp_data_name_compare() which used to live in GimpDataList. * app/core/gimp.c * app/core/gimpdatafactory.c * app/core/gimpimage.c * app/core/gimptoolinfo.c * app/core/gimpundostack.c * app/paint/gimp-paint.c * app/tools/gimp-tools.c * app/widgets/gimpdevices.c * app/widgets/gimptemplateeditor.c * app/widgets/gimpundoeditor.c: changed list creation accordingly. Made gimp->templates, gimp->named_buffers, tool_info->presets and the image's lists of layers, channels and vectors automatically ensure unique names. * app/widgets/gimptemplateview.c * app/actions/file-commands.c * app/actions/templates-commands.c * app/actions/tool-options-commands.c: removed calls to gimp_list_uniquefy_name(). * app/core/gimpitem.c: removed major insanity where the items themselves where ensuring their unique names. Bah! * app/core/gimplayer.c (gimp_layer_name_changed): chain up conditionally. * app/core/gimplayermask.c (gimp_layer_mask_name_changed): removed because there is no need any more to keep the parent implementation from being invoked.
-
- 21 May, 2004 1 commit
-
-
Sven Neumann authored
2004-05-21 Sven Neumann <sven@gimp.org> * app/paint/gimppaintcore.c (gimp_paint_core_interpolate): better fix for bug #123811; patch provided by Philip Lafleur.
-
- 19 May, 2004 1 commit
-
-
Sven Neumann authored
2004-05-19 Sven Neumann <sven@gimp.org> * app/paint/gimppaintcore.c (gimp_paint_core_interpolate): make sure that pressure never becomes negative. Fixes bug #123811; thanks to Philip Lafleur for investigating this problem.
-
- 04 May, 2004 2 commits
-
-
Sven Neumann authored
2004-05-04 Sven Neumann <sven@gimp.org> * app/tools/gimpblendoptions.c * app/tools/gimpbucketfilloptions.c * app/tools/gimpcoloroptions.c * app/tools/gimpinkoptions.c * app/tools/gimppaintoptions-gui.c * app/tools/gimpselectionoptions.c * app/tools/gimptooloptions-gui.c * app/tools/gimptransformoptions.c: use GimpFrames where GtkFrame was used. Put "Pressure Sensitivity" frame into a GtkExpander.
-
Michael Natterer authored
2004-05-04 Michael Natterer <mitch@gimp.org> Treat FG/BG just like all other context properties: * app/paint/gimppaintoptions.h: added GIMP_CONTEXT_FOREGROUND_MASK and _BACKGROUND_MASK to GIMP_PAINT_OPTIONS_CONTEXT_MASK to specify that they are used by GimpPaintOptions (automatically affects all paint tools). * app/tools/gimpblendtool.c * app/tools/gimpbucketfilltool.c * app/tools/gimpinktool.c: set FOREGROUND_MASK and BACKGROUND_MASK manually here. * app/tools/tool_manager.c (tool_manager_tool_changed): decide about the globality of FG and BG at the same place where we decide about the brush's, pattern's etc. globality, but hardcode them to global = TRUE instead of looking at GimpConfig. Fixes bug #141786.
-
- 29 Apr, 2004 1 commit
-
-
Michael Natterer authored
2004-04-29 Michael Natterer <mitch@gimp.org> * app/tools/gimp*tool.c (gimp_*_tool_register): stripped the menu paths from the "menu_path". Will be renamed to "action_name" or something soon... * plug-ins/dbbrowser/dbbrowser.c * plug-ins/common/plugindetails.c * plug-ins/common/uniteditor.c: register under the new "Extensions" placeholder.
-
- 14 Apr, 2004 1 commit
-
-
Michael Natterer authored
2004-04-15 Michael Natterer <mitch@gimp.org> Get rid of the "current_context" which was in fact just a bunch of global variables. Instead, pass the needed context all the way from the GUI and the PDB to the core. This is a prerequisite for macro recording and generally helps separating the various subsystems from each other. Work in progress... * app/core/gimp.[ch]: removed member "current_context" and gimp_[get|set]_current_context(). * app/core/gimp-edit.[ch] * app/core/gimpdrawable-blend.[ch] * app/core/gimpdrawable-bucket-fill.[ch] * app/core/gimpdrawable-offset.[ch] * app/core/gimpdrawable-transform.[ch] * app/core/gimpimage-crop.[ch] * app/core/gimpimage-flip.[ch] * app/core/gimpimage-merge.[ch] * app/core/gimpimage-resize.[ch] * app/core/gimpimage-rotate.[ch] * app/core/gimpimage.[ch] * app/core/gimpimagefile.[ch] * app/core/gimpitem-linked.[ch] * app/core/gimpitem.[ch] * app/core/gimplayer.[ch] * app/core/gimpselection.[ch] * app/core/gimptemplate.[ch] * app/file/file-open.[ch] * app/file/file-save.[ch] * app/pdb/procedural_db.[ch] * app/text/gimptext-compat.[ch] * app/text/gimptextlayer-transform.[ch] * app/gui/brush-select.[ch] * app/gui/font-select.[ch] * app/gui/gradient-select.[ch] * app/gui/palette-select.[ch] * app/gui/pattern-select.[ch]: added tons of "GimpContext *context" parameters and use the passed context instead of gimp_get_current_context(). * app/app_procs.c * app/batch.c * app/core/gimpchannel.c * app/core/gimpdrawable.c * app/paint/gimperaser.c * app/paint/gimppaintbrush.c * app/plug-in/plug-in-message.c * app/plug-in/plug-ins.c * app/text/gimptextlayer.c * app/tools/gimpblendtool.c * app/tools/gimpbucketfilltool.c * app/tools/gimpcroptool.c * app/tools/gimpeditselectiontool.c * app/tools/gimpfliptool.c * app/tools/gimpinktool.c * app/tools/gimptransformtool.c * app/vectors/gimpvectors.c * app/gui/convert-dialog.c * app/gui/drawable-commands.c * app/gui/edit-commands.c * app/gui/file-commands.c * app/gui/file-new-dialog.c * app/gui/file-open-dialog.c * app/gui/file-save-dialog.c * app/gui/image-commands.c * app/gui/layers-commands.c * app/gui/offset-dialog.c * app/gui/select-commands.c * app/gui/vectors-commands.c * app/widgets/gimpdnd.c * app/widgets/gimpdocumentview.c * app/widgets/gimphelp.c * app/widgets/gimpthumbbox.c: pass gimp_get_user_context() or GIMP_CONTEXT(tool_options) or whatever is the right context to the changed core functions. * tools/pdbgen/app.pl: pass "GimpContext *context" to all generated PDB invokers. * tools/pdbgen/pdb/brush_select.pdb * tools/pdbgen/pdb/brushes.pdb * tools/pdbgen/pdb/drawable.pdb * tools/pdbgen/pdb/edit.pdb * tools/pdbgen/pdb/font_select.pdb * tools/pdbgen/pdb/gradient_select.pdb * tools/pdbgen/pdb/gradients.pdb * tools/pdbgen/pdb/image.pdb * tools/pdbgen/pdb/layer.pdb * tools/pdbgen/pdb/paint_tools.pdb * tools/pdbgen/pdb/palette.pdb * tools/pdbgen/pdb/palette_select.pdb * tools/pdbgen/pdb/palettes.pdb * tools/pdbgen/pdb/paths.pdb * tools/pdbgen/pdb/pattern_select.pdb * tools/pdbgen/pdb/patterns.pdb * tools/pdbgen/pdb/selection.pdb * tools/pdbgen/pdb/text_tool.pdb * tools/pdbgen/pdb/transform_tools.pdb: pass the new context parameter to the changed core functions. * app/pdb/*_cmds.c: regenerated.
-
- 12 Mar, 2004 1 commit
-
-
Sven Neumann authored
2004-03-12 Sven Neumann <sven@gimp.org> * app/tools/gimpcurvestool.c * app/tools/gimpinktool.c * app/tools/gimptool.c: print debug output to stderr.
-
- 23 Feb, 2004 2 commits
-
-
Michael Natterer authored
2004-02-23 Michael Natterer <mitch@gimp.org> * app/core/core-types.h: added #defines for GimpCoords' default pressure, tilt and wheel values. * app/display/gimpdisplayshell-callbacks.c * app/paint/gimppaintcore-stroke.c * app/text/gimptext-vectors.c * tools/pdbgen/pdb/paint_tools.pdb: use them. Fixes lots more buggy default values for tilt (in fact all of them were wrong). * app/pdb/paint_tools_cmds.c: regenerated.
-
Simon Budig authored
2004-02-23 Simon Budig <simon@gimp.org> * app/tools/gimpinktool-blob.c: don't access the array before checking if the index is within the valid bounds...
-
- 18 Feb, 2004 2 commits
-
-
Sven Neumann authored
2004-02-18 Sven Neumann <sven@gimp.org> * tile-cache.c * tile-private.h * tile.[ch]: removed trailing whitespace, added some newlines, let tile_is_valid() return a gboolean instead of a gint. * app/core/gimpimage-projection.c * app/core/gimpimage-undo-push.c * app/paint/gimppaintcore.c * app/tools/gimpinktool.c: use the return value from tile_is_valid() as a boolean.
-
Michael Natterer authored
2004-02-18 Michael Natterer <mitch@gimp.org> Some code review: * app/config/gimpconfig-deserialize.c * app/config/gimpconfig-serialize.c: removed obsolete code which made sure serialize_property()/deserialize_property() are only called for properties of the correct class. We do it the right way for quite a while now and clear the inherited function pointers in gimp_config_iface_base_init(). * app/config/gimprc.c (gimp_rc_dispose): don't forget to chain up. * app/base/gimplut.c * app/base/lut-funcs.c * app/config/gimpconfig-deserialize.c * app/config/gimpconfig-serialize.c * app/config/gimpconfig-types.c * app/config/gimprc.c * app/core/gimp-modules.c * app/core/gimpbrush.c * app/core/gimpcontainer.c * app/core/gimpdocumentlist.c * app/core/gimpitem.c * app/gui/about-dialog.c * app/gui/color-notebook.c * app/gui/gui.c * app/gui/tips-dialog.c * app/paint/gimppaintcore.c * app/paint-funcs/paint-funcs.c * app/widgets/gimpcolorpanel.c * app/widgets/gimpcontainergridview.c * app/widgets/gimpcontainermenuimpl.c * app/widgets/gimpselectioneditor.c: removed I/O includes from files which don't use lowlevel APIs any more. Also removes a whole bunch of G_OS_WIN32 special casing. Removed trailing whitespace. Misc tiny cleanups.
-
- 09 Feb, 2004 1 commit
-
-
Manish Singh authored
2004-02-09 Manish Singh <yosh@gimp.org> * app/file/Makefile.am * app/paint/Makefile.am * app/text/Makefile.am * app/xcf/Makefile.am: changed GTK_CFLAGS to GDK_PIXBUF_CFLAGS, since we don't use any gtk/gdk functions here. This especially helps in the text directory, since it avoids problems on broken setups with old fontconfig stuff in the X11 directory lying around.
-
- 07 Feb, 2004 1 commit
-
-
Hans Breuer authored
2004-02-07 Hans Breuer <hans@breuer.org> * gimpdefs.msc : new file to keep common definitions for the msc build * **/makefile.msc : use common defintions, e.g. GIMP_VER * Makefile.am : add the former to EXTRA_DIST
-
- 29 Jan, 2004 1 commit
-
-
Sven Neumann authored
2004-01-29 Sven Neumann <sven@gimp.org> * app/tools/gimpcurvestool.c * app/tools/gimpinkoptions.c * app/tools/gimplevelstool.c: removed explicit grabs. The pointer is already implicitely grabbed while the button is pressed.
-
- 28 Jan, 2004 1 commit
-
-
Manish Singh authored
2004-01-27 Manish Singh <yosh@gimp.org> * app/paint/gimppaintcore.c (gimp_paint_core_interpolate): Use a real GimpVector2 for vector operations, instead of stuffing everything into a GimpCoords. C99 aliasing fix.
-
- 18 Jan, 2004 3 commits
-
-
Michael Natterer authored
2004-01-18 Michael Natterer <mitch@gimp.org> * app/tools/gimpinktool.c (ink_set_paint_area): use gimp_drawable_bytes_with_alpha().
-
Michael Natterer authored
2004-01-18 Michael Natterer <mitch@gimp.org> * app/core/gimpimage.[ch] (gimp_image_get_color): also return the color's alpha byte if it has alpha, not only the converted RGB values. Return OPAQUE_OPACITY for drawables without alpha. Fixes bug #131706. * app/core/gimpdrawable.c (gimp_drawable_get_color_at) * app/core/gimpimage-contiguous-region.c (gimp_image_contiguous_region_by_color) * app/core/gimpimage-projection.c (gimp_image_projection_get_color_at) * app/core/gimpimagemap.c (gimp_image_map_get_color_at) * app/paint/gimpclone.c (gimp_clone_line_image): removed separate handling of the alpha byte from all users of gimp_image_get_color().
-
Michael Natterer authored
2004-01-18 Michael Natterer <mitch@gimp.org> * app/paint/gimppaintcore.c (gimp_paint_core_get_paint_area): use gimp_drawable_bytes_with_alpha().
-
- 06 Jan, 2004 1 commit
-
-
Michael Natterer authored
2004-01-06 Michael Natterer <mitch@gimp.org> Enabled skipping enum values for either the PDB or GType registration (don't always skip both targets): * tools/gimp-mkenums: skip enum values only if there is a literal "skip" (don't match "pdb-skip"). * tools/pdbgen/enumgen.pl: skip only "pdb-skip" values, not "skip" ones. * app/base/base-enums.h * app/core/core-enums.h * app/paint/paint-enums.h * libgimpbase/gimpbaseenums.h: use the right "pdb-skip"/"skip" combination to skip enum values. Changed comments accordingly. Cleaned up the fill functions: * app/core/core-enums.[ch]: added GIMP_PATTERN_FILL enum value to the GimpFillType enum. Don't export GIMP_NO_FILL to the PDB because it's completely useless to export a NOP. * app/core/gimp-edit.c (gimp_edit_fill, gimp_edit_fill_internal): handle pattern fill requests. * app/core/gimpdrawable.[ch] (gimp_drawable_fill): added GimpPattern parameter and fill with it if it's non-NULL. (gimp_drawable_fill_by_type): handle pattern fill and pass the current pattern to gimp_drawable_fill(). * app/text/gimptextlayer.c: changed accordingly. * app/gui/edit-commands.c * app/gui/image-menu.c: use gimp_edit_fill() instead of gimp_drawable_bucket_fill() for FG, BG and pattern filling. * libgimp/gimpcompat.h * plug-ins/script-fu/siod-wrapper.c: removed NO_IMAGE_FILL compat enum value. It should have never been exported to the PDB. * app/pdb/drawable_cmds.c * app/pdb/edit_cmds.c * libgimp/gimpenums.h * plug-ins/pygimp/gimpenums.py * plug-ins/script-fu/script-fu-constants.c * tools/pdbgen/enums.pl: regenerated.
-
- 31 Dec, 2003 1 commit
-
-
Simon Budig authored
2003-12-31 Simon Budig <simon@gimp.org> * app/core/gimpdrawable-stroke.c * app/paint/gimppaintcore-stroke.c: Don't simplify the border of the selection. Quite some people were confused by the polygonal look of a stroked ellipse. The old behaviour doesn't look good, but the new one isn't really better. Since the old behaviour is more predictable, I am reverting this for now (Please note that the function to simplify the boundary still is available, it just is unused). Hopefully at some point it will be possible to have non-integer boundary coordinates or even a more sophisticated set of "vector-selection" tools.
-
- 13 Dec, 2003 1 commit
-
-
Hans Breuer authored
2003-12-12 Hans Breuer <hans@breuer.org> [ I've postponed my reservations against pangoft2/fontconfig/freetype2 usage, so The Gimp should now build with msvc without patching it. ] * app/makefile.msc app/text/makefile.msc : use $(PANGOFT2_CFLAGS) etc. * libgimpthumb/makefile.msc : (new file) * makefile.msc : added libgimpthumb * libgimpthumb/gimpthumbnail.c : include gimpwin32-io.h * libgimpthumb/gimpthumb-utils.c : don't compare size pointer with GIMP_THUMB_SIZE_FAIL but *size * plug-ins/makefile.msc : handle libgimpoldpreview * plug-ins/common/decompose.c : define cbrt() if not __GLIBC__ * plug-ins/common/winclipboard.c : make it compile without gimpcompat.h * plug-ins/imagemap/imagemap_csim_lex.c : its a generated file but still win32/msvc has no unistd.h * plug-ins/pygimp/makefile.msc : (new file) to use the binary you need to patch glib, see bug #98737 * plug-ins/libgimpoldpreview.c : use <libgimp/gimp.h> instead of "gimp.h" * **/Makefile.am : added makefile.msc to EXTRA_DIST
-
- 12 Dec, 2003 1 commit
-
-
Michael Natterer authored
2003-12-12 Michael Natterer <mitch@gimp.org> * app/tools/gimpblendoptions.c (gimp_blend_options_gui) * app/tools/gimpcoloroptions.c (gimp_color_options_gui) * app/tools/gimpinkoptions.c (gimp_ink_options_gui): removed calls to gtk_frame_set_shadow_type (frame, GTK_SHADOW_ETCHED_IN) because that's the default anyway.
-
- 30 Nov, 2003 1 commit
-
-
Michael Natterer authored
2003-11-30 Michael Natterer <mitch@gimp.org> * app/paint/gimp-paint.c (gimp_paint_init): reordered GimpDodgeBurn to the end of the paint info list so the paint tool menu in the stroke dialog has same order as the paint tools in the toolbox.
-
- 25 Nov, 2003 1 commit
-
-
Sven Neumann authored
2003-11-25 Sven Neumann <sven@gimp.org> * app/paint/gimppaintcore.c (gimp_paint_core_scale_mask): invalidate the solid brush cache as well. Should fix #127681.
-
- 16 Nov, 2003 1 commit
-
-
Hans Breuer authored
2003-11-16 Hans Breuer <hans@breuer.org> * app/text/*.c : still unacceptable patched to compile without FT2, see bug #113681 * **makefile.msc : updated * app/config/gimpconfig-dump.c : include gimpwin32-io.h * app/plug-in/plug-ins.c : don't depend on g_print handling %s with NULL pointers, it doesn't anymore with glib cvs at least not on win32 * app/widgets/gimppropwidgets.c libgimpbase/gimputils.c libgimpwidgets/gimpmemsizeentry.c : sorry about the mess, need to work-around a stupi not able to cast from guint64 to double * app/widgets/gimppropwidgets.c (gimp_prop_memsize_entry_new) : avoid 'overflow in floating-point constant arithmetic' by disabling an imho alays questionable g_return_val_if_fail() for _MSC_VER only * libgimpmodule/gimpmodule.def : sorted * libgimpwidgets/gimpfileselection.c : removed unused S_ISDIR definition * app/gui/themes.c : filenames in rc files need to be escaped
-
- 12 Oct, 2003 1 commit
-
-
Sven Neumann authored
2003-10-12 Sven Neumann <sven@gimp.org> * app/paint/gimppaintcore.c: removed debugging output that shouldd have never been committed.
-
- 11 Oct, 2003 1 commit
-
-
Sven Neumann authored
2003-10-11 Sven Neumann <sven@gimp.org> * app/widgets/gimpdocked.[ch] * app/widgets/widgets-types.h: renamed GimpDockedIface to GimpDockedInterface. * app/display/gimpnavigationview.c * app/widgets/gimpcoloreditor.c * app/widgets/gimpcontainereditor.c * app/widgets/gimpcontainerview.c * app/widgets/gimpeditor.c * app/widgets/gimpimageeditor.c * app/widgets/gimpitemtreeview.c * app/widgets/gimptooloptionseditor.c: changed accordingly. * app/config/config-types.h * app/config/gimpconfig.[ch] * app/config/gimpconfig-deserialize.[ch] * app/config/gimpconfig-serialize.[ch] * app/config/gimpconfig-utils.[ch]: added a GimpConfig typedef and changed the GimpConfig API to take GimpConfig instead of GObject pointers. * app/config/gimpconfig-dump.c * app/config/gimprc.c * app/config/test-config.c * app/core/gimp-documents.c * app/core/gimp-parasites.c * app/core/gimp-templates.c * app/core/gimp.[ch] * app/core/gimpcontainer.c * app/core/gimpcontext.c * app/core/gimpdocumentlist.c * app/core/gimpgrid.c * app/core/gimpimage-duplicate.c * app/core/gimpimage-new.c * app/core/gimpimage.c * app/core/gimpparasitelist.c * app/core/gimptemplate.c * app/core/gimptooloptions.c * app/core/gimpviewable.c * app/gui/grid-dialog.c * app/gui/preferences-dialog.c * app/gui/stroke-dialog.c * app/gui/templates-commands.c * app/gui/tool-options-commands.c * app/paint/gimppaintcore.c * app/pdb/gimprc_cmds.c * app/text/gimptext-parasite.c * app/text/gimptext.c * app/text/gimptextlayer.c * app/tools/gimp-tools.c * app/tools/gimptexttool.c * app/widgets/gimpdevices.c * app/widgets/gimptemplateeditor.c * app/widgets/gimptemplateview.c * tools/pdbgen/pdb/gimprc.pdb: changed accordingly.
-
- 06 Oct, 2003 3 commits
-
-
Manish Singh authored
2003-10-06 Manish Singh <yosh@gimp.org> * app/gui/image-menu.c * app/gui/layers-menu.c * etc/ps-menurc: "Imagesize" isn't a real word. Fix to "Image Size". * app/paint/gimppaintcore.c: add declaration for rotate_pointers which was inadvertently took out. * tools/pdbgen/pdb/layer.pdb: add gimp_layer_resize_to_image_size. Fix failure reporting logic for gimp_layer_delete. * app/pdb/internal_procs.c * app/pdb/layer_cmds.c * libgimp/gimplayer_pdb.[ch]: regenerated. * plug-ins/common/tiff.c: always compare used unsigned chars for 7bit ASCII check.
-
Michael Natterer authored
2003-10-06 Michael Natterer <mitch@gimp.org> * app/core/gimpdrawable.[ch]: added new virtual functions GimpDrawable::get_active_components(), apply_region() and replace_region(). * app/core/Makefile.am * app/core/gimpdrawable-combine.[ch]: new files containing apply_region()'s and replace_region()'s default implementation. They are identical to the ones removed from GimpImage except that they don't mask the selection with itself (bug #107949). * app/core/gimpchannel.c * app/core/gimplayer.c: implement get_active_components(). * app/core/gimpchannel.c: implement apply_region() and replace_region() and invalidate the channel's boundary before upchaining (bug #107949). * app/core/gimpimage.[ch]: removed gimp_image_apply_image(), gimp_image_replace_image() and gimp_image_get_active_components(). * app/core/gimpimage-undo-push.c (undo_pop_image): invalidate boundary and bounds if the drawable is a channel (bug #107949). (undo_pop_mask) (undo_pop_channel_mod): finish previous commit :) * app/core/gimp-edit.c * app/core/gimpdrawable-blend.c * app/core/gimpdrawable-bucket-fill.c * app/core/gimpdrawable-stroke.c * app/core/gimpimagemap.c * app/core/gimplayer-floating-sel.c * app/paint/gimppaintcore.c * app/tools/gimpinktool.c: changed accordingly.
-
Michael Natterer authored
2003-10-06 Michael Natterer <mitch@gimp.org> Treat changes to the selection like changes to any other drawable: * app/core/gimpchannel.c * app/core/gimpchannel-combine.c: call gimp_drawable_update() after changing the channel. * app/core/gimpimage.[ch]: added struct GimpImageFlushAccumulator with one member "gboolean mask_changed". Connect to "update" of the selection and set accum.mask_changed to TRUE in the callback. Added default implementation for GimpImage::flush() and emit "mask_changed" there. Unrelated: * app/core/gimpimage.h: removed GimpGuide struct... * app/core/gimpimage-guides.h: ...and added it here. * app/core/gimpimage-undo-push.c (undo_pop_mask) (undo_pop_channel_mod): don't distinguish between selection and non-selection channels and just call gimp_drawable_update(). * app/core/gimpundo.h * app/core/gimpimage-undo.c: removed "gboolean mask_changed" from the GimpUndoAccumulator struct since we don't have to care about that signal explicitly any more. * app/display/gimpdisplay-foreach.[ch]: removed gimp_displays_flush(). * tools/pdbgen/pdb/display.pdb (displays_flush_invoker): call gimp_image_flush() on all images so the flush accumulator is honored. This generalization enables the removal of more special purpose code which was needed to treat the selection different: * app/core/gimpimage-mask-select.[ch]: removed... * app/core/gimpchannel-select.[ch]: ...and added under a new name because it's not selection specific any more. * app/core/gimpimage-mask.[ch]: removed... * app/core/gimpselection.[ch]: ...added the two remaining functions here. Removed all calls to gimp_image_mask_changed(). * app/core/Makefile.am * app/core/gimp-edit.c * app/core/gimpdrawable-transform.c * app/core/gimpimage-scale.c * app/core/gimpimage-snap.c * app/display/gimpdisplayshell.c * app/gui/channels-commands.c * app/gui/layers-commands.c * app/gui/select-commands.c * app/gui/vectors-commands.c * app/tools/gimpbycolorselecttool.c * app/tools/gimpeditselectiontool.c * app/tools/gimpellipseselecttool.c * app/tools/gimpfreeselecttool.c * app/tools/gimpfuzzyselecttool.c * app/tools/gimpiscissorstool.c * app/tools/gimprectselecttool.c * app/tools/gimptransformtool.c * app/widgets/gimpchanneltreeview.c * app/widgets/gimpselectioneditor.c * app/widgets/gimpvectorstreeview.c * app/xcf/xcf-save.c * tools/pdbgen/pdb/paths.pdb * tools/pdbgen/pdb/selection.pdb * tools/pdbgen/pdb/selection_tools.pdb: changed accordingly. * app/core/gimpdrawable-bucket-fill.c * app/core/gimpimage-colormap.c * app/core/gimplayer-floating-sel.c * app/core/gimplayer.c * app/gui/image-menu.c * app/paint/gimppaintcore.c * app/tools/gimpcroptool.c * app/tools/gimpinkoptions.c * app/tools/gimpvectortool.c: removed useless and/or obsolete #includes. * app/pdb/display_cmds.c * app/pdb/paths_cmds.c * app/pdb/selection_cmds.c * app/pdb/selection_tools_cmds.c: regenerated.
-
- 01 Oct, 2003 1 commit
-
-
Simon Budig authored
2003-10-01 Simon Budig <simon@gimp.org> * app/base/boundary.[ch]: a little bit of tweaking. * app/paint/gimppaintcore-stroke.c: Use it here too.
-
- 30 Sep, 2003 2 commits
-
-
Michael Natterer authored
2003-09-30 Michael Natterer <mitch@gimp.org> * app/core/gimpscanconvert.[ch]: removed "width", "height" and "antialias" from the GimpScanConvert struct and from gimp_scan_convert_new(). Removed gimp_scan_convert_to_channel(). Added "gboolean antialias" to gimp_scan_convert_render(). Some general cleanup. * app/core/gimpdrawable-stroke.c * app/core/gimpimage-mask-select.c * app/tools/gimpiscissorstool.c: changed accordingly. * app/core/gimpdrawable-stroke.c: renamed gimp_drawable_stroke_scanconvert_stroke() to gimp_drawable_stroke_scan_convert() and removed the "gboolean use_mask_bounds" parameter since we can't decide if it's the selection's boundary which is stroked. Instead use gimp_channel_is_empty() on the selection which will return FALSE while the selection is being stroked. * app/paint/gimppaintcore-stroke.c: cleanup. (gimp_paint_core_stroke_boundary): don't use "gint i" twice. (gimp_paint_core_stroke_vectors): no need to manually close a closed stroke.
-
Michael Natterer authored
2003-09-30 Michael Natterer <mitch@gimp.org> * app/paint/gimppaintcore-stroke.c: cleanup. (gimp_paint_core_stroke_boundary): don't push a separate undo for each part of the boundary. * app/core/gimpdrawable-stroke.[ch]: added empty stub gimp_drawable_stroke_boundary(). Changed gimp_drawable_stroke_vectors() to take the GimpStrokeOptions as second parameter. * app/core/gimpchannel.c (gimp_channel_stroke): use it. No need to push an undo group around gimp_paint_core_stroke_boundary(). * app/vectors/gimpvectors.c: changed accordingly. * app/widgets/gimpselectioneditor.[ch]: added a GimpStrokeItemFunc pointer and use it for stroking. * app/gui/edit-commands.[ch] (edit_stroke_selection): a GimpStrokeItemFunc which strokes the selection using the stroke-dialog. * app/gui/dialogs-constructors.c: use it for the selection editor.
-