- 16 Dec, 2005 1 commit
-
-
Sven Neumann authored
2005-12-16 Sven Neumann <sven@gimp.org> * app/paint/paint-enums.[ch]: changed description of GIMP_CLONE_ALIGN_NO enum value. * app/tools/gimpclonetool.c (gimp_clone_options_gui): use a combo box for the align mode.
-
- 07 Dec, 2005 3 commits
-
-
Michael Natterer authored
2005-12-07 Michael Natterer <mitch@gimp.org> * app/paint/gimpclone.c (gimp_clone_motion): In fixed mode, paint incremental so the individual brushes are properly applied on top of each other. Fixes bug #322791.
-
Michael Natterer authored
2005-12-07 Michael Natterer <mitch@gimp.org> * app/paint/*: use G_DEFINE_TYPE().
-
Michael Schumacher authored
2005-12-07 Michael Schumacher <schumaml@cvs.gnome.org> * app/paint/gimpclone.c * app/paint/paint-enums.c * app/paint/paint-enums.h: added alignment mode for cloning from a fixed location source as suggested in bug #322791.
-
- 29 Oct, 2005 1 commit
-
-
Michael Natterer authored
2005-10-29 Michael Natterer <mitch@gimp.org> * app/paint/gimpconvolve.c (gimp_convolve_motion): allocate both oversize buffers with the right size, instead of one twice with the wrong size. Was broken since porting to pixel_region_init_data(). Spotted by Seth Burgess. Fixes bug #317340.
-
- 28 Oct, 2005 1 commit
-
-
Sven Neumann authored
2005-10-28 Sven Neumann <sven@gimp.org> * INSTALL * configure.in: handle gimpprint just like other libraries. It doesn't make sense any longer to require it. * app/paint/gimpink-blob.c: commented out unused code.
-
- 04 Oct, 2005 1 commit
-
-
Michael Natterer authored
2005-10-04 Michael Natterer <mitch@gimp.org> * app/paint/gimpbrushcore.c (gimp_brush_core_start): set core->jitter here for all brush-based paint tools. (gimp_brush_core_interpolate): cleanup. * app/paint/gimpbrushcore.h: removed trailing whitespace. * app/paint/gimpclone.c (gimp_clone_motion) * app/paint/gimppaintbrush.c (_gimp_paintbrush_motion): removed jitter stuff here.
-
- 03 Oct, 2005 1 commit
-
-
William Skaggs authored
* gimp/app/paint/gimpbrushcore.c * gimp/app/paint/gimpbrushcore.h * gimp/app/paint/gimpclone.c * gimp/app/paint/gimppaintbrush.c * gimp/app/paint/gimppaintoptions.c * gimp/app/paint/gimppaintoptions.h * gimp/app/tools/gimppaintoptions-gui.c: Apply patch from Adrian Likins to add "jitter" to paint tools (bug #163049), with small fixes for coding style and default jitter set to 0.2 instead of 0.0.
-
- 24 Sep, 2005 1 commit
-
-
Michael Natterer authored
2005-09-24 Michael Natterer <mitch@gimp.org> * app/paint/gimppaintcore.h * app/tools/gimpimagemaptool.c * tools/test-clipboard.c: indentation fixes.
-
- 03 Sep, 2005 2 commits
-
-
Michael Natterer authored
2005-09-03 Michael Natterer <mitch@gimp.org> * app/paint/gimppaintcore.c (gimp_paint_core_get_orig_image) (gimp_paint_core_get_orig_proj): replaced manual calculation of the offset of a pixel in a tile (marked as /* dubious... */ for a reason) by simply using the offset parameters of tile_data_pointer().
-
Michael Natterer authored
2005-09-03 Michael Natterer <mitch@gimp.org> * app/base/pixel-region.[ch]: some general cleanup. (pixel_region_init_temp_buf) (pixel_region_init_data): new functions which initialize pixel regions on TempBufs and on raw contiguous arrays of pixel data. (pixel_region_configure): fixed a bug that has probably been there forever: when processing contiguous (non-tiled) data, interpret the original x and y coordinates of the region as offsets into the data. Before this fix, the initial x and y were simply ignored (by using them in a broken way), thus always forcing the upper left corner of the region being the beginning of the passed data. Lots of code was working around this problem by setting the pixel_region's data pointer to the proper starting pixel of the region in the middle the buffer. * libgimp/gimppixelrgn.c: some general cleanup. (gimp_pixel_rgn_configure): same fix as above. Fortunately, nobody seems to know that libgimp pixel regions can be used on arrays of data, just as core ones. Only two plug-ins were using this feature, and they are antique and written by spencer and federico, respectively. They both don't use offsets into the buffers and are not affected by this change. It's highly unlikely that anybody out there knows/uses this feature, so it can IMHO be safely changed. * app/base/temp-buf.c * app/core/gimpbuffer.c * app/core/gimpdrawable-combine.c * app/core/gimpdrawable-preview.c * app/core/gimpimage-preview.c * app/core/gimplayer.c * app/paint/gimpbrushcore.c * app/paint/gimpclone.c * app/paint/gimpconvolve.c * app/paint/gimpdodgeburn.c * app/paint/gimppaintcore.c * app/paint/gimpsmudge.c * app/tools/gimpiscissorstool.c * app/tools/gimppainttool.c: use the pixel_region_init_foo() functions instead of initializing regions of TempBufs and raw data manually. Removed lots of workarounds for the broken offset handling. The changed places of code are much more readable now.
-
- 29 Aug, 2005 1 commit
-
-
Michael Natterer authored
2005-08-29 Michael Natterer <mitch@gimp.org> The previous commit added tons of code just to completely break clone align behavior. Reverted lots of the changes and do the sample-merged stuff at the innermost place (gimp_clone_motion). This change also enables changing sample-merged between paint strokes. * app/paint/gimpclone.[ch] (struct GimpClone): changed member "src_pickable" back to "src_drawable". (gimp_clone_paint): completely reverted. (gimp_clone_motion): do the drawable/projection -> pickable stuff and drawable offset handling here. Fixed signal handling to connect to the drawable's "removed" signal (not "disconnect", eek). Disconnect from the signal once the drawable has been removed. * app/tools/gimpclonetool.c: changed accordingly.
-
- 28 Aug, 2005 1 commit
-
-
Michael Natterer authored
2005-08-28 Michael Natterer <mitch@gimp.org> Immplement "Sample Merged" for the clone tool. Fixes bug #123627. * app/paint/gimppaintcore.[ch] (struct GimpPaintCore): added members "saved_proj_tiles" which stores the unmodified projection, "orig_proj_buf" which stores the unmodified temp paint application buf and "use_saved_proj" which controls if all the additional stuff should be allocated and managed. (gimp_paint_core_start): allocate the saved_proj_tiles if needed. (gimp_paint_core_get_orig_proj): new function like gimp_paint_core_get_orig_image() which returns unmodified projection pixels for paint application. (gimp_paint_core_validate_saved_proj_tiles): new function like gimp_paint_core_validate_undo_tiles() which copies the tiles that will be dirtied to saved_proj_tiles. (gimp_paint_core_paste): call above save_proj_tiles() so projection tiles are saved before dirtying them. * app/paint/gimpclone.[ch]: replaced member src_drawable by src_pickable and use the image's projection if sample_merged it TRUE. Adjust src offsets accordingly and use GimpPaintCore's new get_orig_proj() API to get the src pixels. * app/paint/gimpcloneoptions.[ch]: added boolean "sample_merged" property. * app/tools/gimpclonetool.c: follow GimpClone's src_drawable -> src_pickable change. (gimp_clone_tool_button_press): set the paint_core's "use_saved_proj" boolean before chaining up. (gimp_clone_options_gui): add a "Sample Merged" toggle button.
-
- 21 Aug, 2005 3 commits
-
-
Jens Seidel authored
-
Michael Natterer authored
2005-08-21 Michael Natterer <mitch@gimp.org> * app/paint/gimppencil.h * app/paint/gimppenciloptions.[ch] * app/widgets/widgets-types.h * app/widgets/gimptooldialog.h: don't simply typedef object instance structs which add no members as their parent instance structs. Give them their own instance structs. Fixes gtk-doc confusion.
-
Michael Natterer authored
2005-08-21 Michael Natterer <mitch@gimp.org> * app/paint/gimppencil.h * app/paint/gimppenciloptions.h * app/widgets/widgets-types.h * app/widgets/gimptooldialog.h: don't simply typedef object instance structs which add no members as their parent instance structs. Give them their own instance structs. Fixes gtk-doc confusion.
-
- 20 Aug, 2005 1 commit
-
-
Michael Natterer authored
2005-08-20 Michael Natterer <mitch@gimp.org> * app/base/boundary.[ch]: renamed puclic functions, defines and enums to live in a proper "boundary" namespace. Cleaned up and simplified internal code even more. * app/core/gimpchannel.c * app/core/gimpdrawable-stroke.c * app/core/gimplayer-floating-sel.c * app/paint/gimppaintcore-stroke.c * app/tools/gimpeditselectiontool.c * app/tools/gimpfuzzyselecttool.c * app/tools/gimppainttool.c: changed accordingly.
-
- 27 May, 2005 1 commit
-
-
Sven Neumann authored
2005-05-27 Sven Neumann <sven@gimp.org> * (lots of files): Use the canonical form for signal names in lots of places (but by far not all).
-
- 21 Mar, 2005 1 commit
-
-
Sven Neumann authored
2005-03-21 Sven Neumann <sven@gimp.org> * app/paint/gimpink.c: changed time-smoother code to use guint32 time values externally, guint64 internally. Proper fix for bug #164272.
-
- 26 Feb, 2005 1 commit
-
-
Sven Neumann authored
2005-02-27 Sven Neumann <sven@gimp.org> * app/core/gimpgradient.[ch]: removed the "last_visited" field from GimpGradient. Instead added the new function gimp_gradient_get_color_at_segment() that allows the caller to do the same optimization. * app/actions/gradient-editor-commands.c * app/core/gimpdrawable-blend.c * app/core/gimppalette-import.c * app/paint/gimppaintoptions.c * app/widgets/gimpgradienteditor.c * app/widgets/gimpgradientselect.c * app/widgets/gimpviewrenderergradient.c: changed accordingly. * app/pdb/gradient_cmds.c * app/pdb/gradients_cmds.c: regenerated.
-
- 19 Feb, 2005 1 commit
-
-
Hans Breuer authored
2005-02-19 Hans Breuer <hans@breuer.org> * app/base/pixel-processor.c : TILE_WIDTH is used unconditionally so always include "tile.h" * app/base/tile-swap.c : WIN32 needs <process.h> for _getpid() * app/dialogs/user-install-dialog.c : include gimpwin32-io.h * libgimpbase/gimpwin32-io.h : there are no group or other flags in msvcrt, define S_IGRP etc in terms of _S_IREAD etc * plug-ins/script-fu/script-fu.c plug-ins/script-fu/siod-wrapper.c : no script-fu server on win32, make respective function calls conditional * libgimpconfig/makefile.msc : new file * **/makefile.msc app/gimpcore.def : updated, gimp builds and runs once more with ms toolchain
-
- 13 Feb, 2005 1 commit
-
-
Sven Neumann authored
2005-02-13 Sven Neumann <sven@gimp.org> * configure.in: check for gthread-2.0 unless the --disable-mp option is given. * app/app_procs.c (app_libs_init): call g_thread_init(). * app/base/pixel-processor.c: ported to GThread. * app/Makefile.am * app/*/Makefile.am: use @GTHREAD_CFLAGS@.
-
- 25 Jan, 2005 1 commit
-
-
William Skaggs authored
-
- 23 Jan, 2005 1 commit
-
-
Sven Neumann authored
2005-01-23 Sven Neumann <sven@gimp.org> * app/paint/paint-enums.h * libgimpbase/gimpbaseenums.h: moved enums to libgimpbase (from app/paint and libgimp). The remaining enums in app/paint/paint-enums.h need special treatment. * app/paint/paint-enums.c: * libgimp/gimpenums.h * libgimpbase/gimpbaseenums.c * tools/pdbgen/enums.pl: regenerated. * libgimpbase/gimpbase.def * libgimp/gimp.def: updated.
-
- 22 Jan, 2005 1 commit
-
-
Sven Neumann authored
2005-01-22 Sven Neumann <sven@gimp.org> * app/widgets/gimppropwidgets.[ch]: added gimp_prop_expander_new(). * app/paint/gimppaintoptions.[ch]: added a property to track the state of the "Pressure sensitivity" expander. * app/tools/gimppaintoptions-gui.c: use gimp_prop_expander_new() to create the "Pressure sensitivity" expander.
-
- 14 Jan, 2005 3 commits
-
-
Michael Natterer authored
2005-01-14 Michael Natterer <mitch@gimp.org> * app/paint/gimppaintcore-undo.c: doesn't need "gimp-intl.h" either.
-
Sven Neumann authored
2005-01-14 Sven Neumann <sven@gimp.org> * app/paint/gimpink-undo.c: doesn't need to include "gimp-intl.h".
-
Michael Natterer authored
2005-01-14 Michael Natterer <mitch@gimp.org> * app/core/core-enums.[ch] (enum GimpUndoType): added GIMP_UNDO_INK. * app/paint/gimppaintcore.[ch]: added virtual function GimpPaintCore::push_undo() and call it. * app/paint/gimppaintcore-undo.[ch]: made it the default implementation. * app/paint/gimpink-blob.[ch]: added blob_duplicate(). * app/paint/gimpink.[ch]: added a "start_blob" (just like GimpPaintCore::start_coords) which gets set whenever we start a new stroke or line. Removed ink->lastx and ink->lasty because they are the same as paint_core->last_coords. * app/paint/Makefile.am * app/paint/gimpink-undo.[ch]: new files implementing an undo step for ink which restores the last blob used along with the whole ink state. Fixes bug #163670.
-
- 03 Jan, 2005 1 commit
-
-
Michael Natterer authored
2005-01-03 Michael Natterer <mitch@gimp.org> * app/paint/gimpbrushcore.c * app/paint/gimppaintoptions.[ch] * app/tools/gimppaintoptions-gui.c: renamed "invsize" to "inverse-size" and reordered it to be after "size".
-
- 02 Jan, 2005 1 commit
-
-
Sven Neumann authored
2005-01-03 Sven Neumann <sven@gimp.org> * app/paint/gimpink.[ch]: handle event time as guint32. That's the type we deal with here and it avoids a crash that occured when autoscrolling with the Ink tool. * app/display/gimpdisplayshell-autoscroll.c: cosmetics.
-
- 01 Jan, 2005 1 commit
-
-
William Skaggs authored
* app/paint/gimpbrushcore.c * app/paint/gimppaintoptions.c * app/paint/gimppaintoptions.h * app/tools/gimppaintoptions-gui.c: reverted last change, and applied full patch from Dave Ahlswede in bug #149576.
-
- 31 Dec, 2004 3 commits
-
-
William Skaggs authored
* app/paint/gimpbrushcore.c: make previously committed change in pressure-size relationship apply only to airbrush, as intended.
-
Sven Neumann authored
2004-12-31 Sven Neumann <sven@gimp.org> * tools/kernelgen.c: fixed rounding so that all brush kernels are created with a constant sum of 256. * app/paint/gimpbrushcore-kernels.h: regenerated. * app/paint/gimpbrushcore.c (gimp_brush_core_subsample_mask): use the constant defined un app/paint/gimpbrushcore-kernels.h. Should give a tiny speedup.
-
William Skaggs authored
* app/paint/gimpbrushcore.c: invert dependence of brush size on pressure, using formula from Dave Ahlswede in bug #149576.
-
- 28 Dec, 2004 1 commit
-
-
Sven Neumann authored
2004-12-28 Sven Neumann <sven@gimp.org> * app/paint/gimpbrushcore.c (gimp_brush_core_subsample_mask): reverted Bill's change since it is obviously not the right fix. Allocate the array larger to avoid the crash. We need to investigate bug #161323 further.
-
- 27 Dec, 2004 1 commit
-
-
William Skaggs authored
* app/paint/gimpbrushcore.c (gimp_brush_core_subsample_mask): don't set array outside its bounds. Should fix bug #161323.
-
- 16 Nov, 2004 1 commit
-
-
Michael Natterer authored
2004-11-16 Michael Natterer <mitch@gimp.org> * app/core/gimpchannel-select.c * app/core/gimpchannel.c * app/core/gimpdrawable-desaturate.c * app/core/gimpdrawable-equalize.c * app/core/gimpdrawable-histogram.c * app/core/gimpdrawable-invert.c * app/core/gimpdrawable-levels.c * app/core/gimpdrawable-offset.c * app/core/gimpdrawable-stroke.c * app/core/gimpdrawable-transform.c * app/core/gimpdrawable.c * app/core/gimpitem-linked.c * app/core/gimpitem.c * app/core/gimplayer.c * app/core/gimpselection.c * app/paint/gimppaintcore-stroke.c * app/text/gimptextlayer.c: in all functions which somehow (explicitely or implicitely) touch undo, either g_return_if_fail() on gimp_item_is_attached() or simply don't push an undo step if feasible (e.g. for simple stuff like layer opacity). * tools/pdbgen/pdb/color.pdb * tools/pdbgen/pdb/drawable.pdb * tools/pdbgen/pdb/image.pdb * tools/pdbgen/pdb/layer.pdb * tools/pdbgen/pdb/paint_tools.pdb: let PDB wrappers fail accordingly so they don't run into the assertions added above. * app/pdb/color_cmds.c * app/pdb/drawable_cmds.c * app/pdb/image_cmds.c * app/pdb/layer_cmds.c * app/pdb/paint_tools_cmds.c: regenerated.
-
- 25 Oct, 2004 1 commit
-
-
Michael Natterer authored
2004-10-25 Michael Natterer <mitch@gimp.org> Don't store human readable and translatable enum/flag strings in GEnumValue's and GTypeValue's fields but attach them to their GType using separate structs and utility functions: * tools/gimp-mkenums: added params and perl voodoo to support generating a second array of values, which is used by the Makefiles below to create and register arrays of value descriptions. * libgimpbase/gimpbasetypes.[ch]: added API to attach/retreive arrays of translatable strings to/from enum and flags types. Added structs GimpEnumDesc and GimpFlagsDesc for that purpose. * libgimpbase/gimputils.[ch]: changed existing enum utility functions, added new ones and added a symmetric API for flags. * app/base/Makefile.am * app/core/Makefile.am * app/display/Makefile.am * app/paint/Makefile.am * app/text/Makefile.am * app/tools/Makefile.am * app/widgets/Makefile.am * libgimp/Makefile.am * libgimpbase/Makefile.am: changed *-enums.c generation rules accordingly. * app/base/base-enums.c * app/core/core-enums.c * app/display/display-enums.c * app/paint/paint-enums.c * app/text/text-enums.c * app/tools/tools-enums.c * app/widgets/widgets-enums.c * libgimpbase/gimpbaseenums.c: regenerated. * app/widgets/gimpenumstore.c * app/widgets/gimpenumwidgets.c * app/widgets/gimptemplateeditor.c * libgimpwidgets/gimppreviewarea.c: follow the enum utility function API changes.
-
- 24 Sep, 2004 1 commit
-
-
Michael Natterer authored
2004-09-24 Michael Natterer <mitch@gimp.org> * app/paint/gimpairbrushoptions.c * app/paint/gimpcloneoptions.c * app/paint/gimpconvolveoptions.c * app/paint/gimpdodgeburnoptions.c * app/paint/gimperaseroptions.c * app/paint/gimpinkoptions.c * app/paint/gimppaintoptions.c * app/paint/gimppenciloptions.c * app/paint/gimpsmudgeoptions.c * app/tools/gimpblendoptions.c * app/tools/gimpbucketfilloptions.c * app/tools/gimpcoloroptions.c * app/tools/gimpcolorpickeroptions.c * app/tools/gimpcropoptions.c * app/tools/gimpflipoptions.c * app/tools/gimphistogramoptions.c * app/tools/gimpimagemapoptions.c * app/tools/gimpmagnifyoptions.c * app/tools/gimpmeasureoptions.c * app/tools/gimpmoveoptions.c * app/tools/gimppaintoptions-gui.c * app/tools/gimpselectionoptions.c * app/tools/gimptextoptions.c * app/tools/gimptransformoptions.c * app/tools/gimpvectoroptions.c: code cleanup: untabified and trailing whitespace removal, removed empty instance_init() funcions, cleaned up variable declarations/initializations.
-
- 31 Aug, 2004 1 commit
-
-
Michael Natterer authored
2004-08-31 Michael Natterer <mitch@gimp.org> * app/paint/gimppaintoptions.[ch]: added "GimpPaintInfo *paint_info" member and construct property. Changed gimp_paint_options_new() to take only a GimpPaintInfo parameter. * app/core/gimpitem.c (gimp_item_stroke) * app/core/gimppaintinfo.c (gimp_paint_info_new): changed accordingly. * app/core/gimpchannel.c (gimp_channel_stroke) * app/vectors/gimpvectors.c (gimp_vectors_stroke): use paint_options->paint_info->paint_type directly instead of casting to GimpToolOptions and using tool_options->tool_info->paint_info->paint_type (eek). Fixes crash when stroking via the PDB because newly created GimpToolOptions instances have no "tool_info" pointer yet. * tools/pdbgen/pdb/paint_tools.pdb: changed all paint PDB wrappers accordingly. * app/pdb/paint_tools_cmds.c: regenerated.
-