1. 14 Jul, 2005 1 commit
    • Michael Natterer's avatar
      app/widgets/Makefile.am app/widgets/widgets-types.h new widget which · c0a10c83
      Michael Natterer authored
      2005-07-14  Michael Natterer  <mitch@gimp.org>
      
      	* app/widgets/Makefile.am
      	* app/widgets/widgets-types.h
      	* app/widgets/gimppaletteview.[ch]: new widget which manages the
      	selected palette entry itself and emits "selected", "activated"
      	and "context" signals. Not used yet.
      
      	* app/widgets/gimpviewrendererpalette.[ch]: reimplemented palette
      	drawing: added optional grid drawing and APIs to configure the
      	renderer. Should be ready for the palette editor now.
      c0a10c83
  2. 13 Jul, 2005 9 commits
  3. 12 Jul, 2005 3 commits
  4. 11 Jul, 2005 8 commits
    • Michael Natterer's avatar
      swapped the opacity scale and the paint mode menu to be consistent with · 470c11a8
      Michael Natterer authored
      2005-07-12  Michael Natterer  <mitch@gimp.org>
      
      	* app/tools/gimppaintoptions-gui.c (gimp_paint_options_gui):
      	swapped the opacity scale and the paint mode menu to be consistent
      	with the layers dialog. Also makes the paint options look more
      	balanced.
      470c11a8
    • Sven Neumann's avatar
      for now, implement smooth_mask() by means of gaussian_blur_region(). · 1aae154a
      Sven Neumann authored
      2005-07-11  Sven Neumann  <sven@gimp.org>
      
      	* app/base/segmentator.c: for now, implement smooth_mask() by
      	means of gaussian_blur_region().
      1aae154a
    • Sven Neumann's avatar
      minor fixes to the API docs. · 5d7b80c7
      Sven Neumann authored
      2005-07-11  Sven Neumann  <sven@gimp.org>
      
      	* libgimpwidgets/gimppropwidgets.c: minor fixes to the API docs.
      5d7b80c7
    • Michael Natterer's avatar
      added GimpPickable::get_opacity_at() · d64bf356
      Michael Natterer authored
      2005-07-11  Michael Natterer  <mitch@gimp.org>
      
      	* app/core/gimppickable.[ch]: added GimpPickable::get_opacity_at()
      
      	* app/core/gimpchannel.[ch]: removed gimp_channel_value() and
      	implement ::get_opacity_at() instead.
      
      	* app/core/gimplayer.[ch]: removed gimp_layer_pick_correlate()
      	and implement ::get_opacity_at() instead.
      
      	* app/core/gimpselection.c: GimpChannel::value() doesn't exist
      	any more.
      
      	* app/core/gimpprojection.c: implement ::get_opacity_at(), always
      	returns OPAQUE.
      
      	* app/core/gimpimage.c
      	* app/tools/gimpbucketfilltool.c
      	* app/tools/gimpclonetool.c
      	* app/tools/gimpfliptool.c
      	* app/tools/gimpiscissorstool.c
      	* app/tools/gimpnewrectselecttool.c
      	* app/tools/gimprectangletool.c
      	* app/tools/gimpselectiontool.c
      	* app/tools/gimptransformtool.c
      	* tools/pdbgen/pdb/selection.pdb: changed accordingly.
      
      	* app/pdb/selection_cmds.c: regenerated.
      d64bf356
    • Michael Natterer's avatar
      simplify check for "inside selected region". · d420a5bf
      Michael Natterer authored
      2005-07-11  Michael Natterer  <mitch@gimp.org>
      
      	* app/tools/gimpclonetool.c (gimp_clone_tool_cursor_update):
      	simplify check for "inside selected region".
      d420a5bf
    • Michael Natterer's avatar
      added read-only properties "opacity", "mode" and "lock-alpha". · fea22909
      Michael Natterer authored
      2005-07-11  Michael Natterer  <mitch@gimp.org>
      
      	* app/core/gimplayer.c: added read-only properties "opacity",
      	"mode" and "lock-alpha".
      fea22909
    • Sven Neumann's avatar
      plugged memory leaks (bug #309967). Invalidate the preview when the · ecb99a72
      Sven Neumann authored
      2005-07-11  Sven Neumann  <sven@gimp.org>
      
      	* plug-ins/common/gauss.c: plugged memory leaks (bug #309967).
      	Invalidate the preview when the algorithm is changed; default to
      	RLE since it appears to be faster for the cases I tried.
      ecb99a72
    • Carol Spears's avatar
      docs/Wilber_Construction_Kit.xcf.gz · e31653d9
      Carol Spears authored
      2005-07-10  Carol Spears  <carol@gimp.org>
      
      	* docs/Wilber_Construction_Kit.xcf.gz
      e31653d9
  5. 10 Jul, 2005 5 commits
    • Manish Singh's avatar
      actually return a value. · e68206f0
      Manish Singh authored
      2005-07-10  Manish Singh  <yosh@gimp.org>
      
              * libgimp/gimplayer.c (gimp_layer_set_preserve_trans): actually
              return a value.
      
              * plug-ins/pygimp/pygimp-drawable.c: create new lock_alpha attribute,
              and deprecate old preserve_trans attribute.
      
              * plug-ins/pygimp/plug-ins/shadow_bevel.py: use new lock_alpha API.
      e68206f0
    • Michael Natterer's avatar
      moved the lock alpha toggle to a separate "Lock:" line. · e1be822e
      Michael Natterer authored
      2005-07-10  Michael Natterer  <mitch@gimp.org>
      
      	* app/widgets/gimplayertreeview.c (gimp_layer_tree_view_init):
      	moved the lock alpha toggle to a separate "Lock:" line.
      e1be822e
    • Michael Natterer's avatar
      app/actions/layers-actions.c app/actions/layers-commands.[ch] · 20b4769c
      Michael Natterer authored
      2005-07-10  Michael Natterer  <mitch@gimp.org>
      
      	* app/actions/layers-actions.c
      	* app/actions/layers-commands.[ch]
      	* app/core/core-enums.[ch]
      	* app/core/gimpimage-undo-push.[ch]
      	* app/core/gimplayer-floating-sel.c
      	* app/core/gimplayer.[ch]
      	* app/text/gimptextlayer-xcf.c
      	* app/widgets/gimphelp-ids.h
      	* app/widgets/gimplayertreeview.[ch]
      	* app/xcf/xcf-load.c
      	* app/xcf/xcf-private.h
      	* app/xcf/xcf-save.c
      	* tools/pdbgen/pdb/layer.pdb
      	* menus/image-menu.xml.in
      	* libgimp/gimp.def: did a global s/preserve_trans/lock_alpha/ in
      	preparation for more layer locking flags.
      
      	* app/pdb/procedural_db.c
      	* libgimp/gimplayer.[ch]: added compat stuff for preserve_trans.
      
      	* app/pdb/layer_cmds.c
      	* libgimp/gimplayer_pdb.[ch]: regenerated.
      
      	* plug-ins/common/colortoalpha.c
      	* plug-ins/common/iwarp.c
      	* plug-ins/common/psd.c
      	* plug-ins/common/psd_save.c
      	* plug-ins/common/psp.c
      	* plug-ins/common/rotate.c
      	* plug-ins/common/threshold_alpha.c
      	* plug-...
      20b4769c
    • Sven Neumann's avatar
      unified strings. · da0adc4f
      Sven Neumann authored
      2005-07-10  Sven Neumann  <sven@gimp.org>
      
      	* app/batch.c (batch_run): unified strings.
      da0adc4f
    • Hans Breuer's avatar
      updated dont include "gimpmessagedialog.c" to avoid redefinitions. Instead · d9ac028c
      Hans Breuer authored
      2005-07-10  Hans Breuer  <hans@breuer.org>
      
      	* **/makefile.msc app/gimpcore.def : updated
      	* app/widgets/gimpcontrollerlist.c : dont include
      	"gimpmessagedialog.c" to avoid redefinitions.
      	Instead include gimpmessagebox.h and gimpmessagedialog.h
      
      	* plug-ins/common/raw.c : include <io.h>
      	* plug-ins/common/screenshot.c : make it compile. It
      	still has no code to actually work on win32.
      d9ac028c
  6. 09 Jul, 2005 6 commits
    • Sven Neumann's avatar
      ported to GIMP data structures. There are still some TODOs, smooth_mask() · f2382a6e
      Sven Neumann authored
      2005-07-10  Sven Neumann  <sven@gimp.org>
      
      	* app/base/segmentator.[ch]: ported to GIMP data structures. There
      	are still some TODOs, smooth_mask() isn't implemented yet.
      
      	* app/core/Makefile.am
      	* app/core/gimpdrawable-foreground-extract.[ch]: thin wrapper around
      	the new segmentation algorithm.
      
      	* tools/pdbgen/pdb/drawable.pdb: added a first draft of a PDB API
      	for foreground extraction.
      
      	* app/pdb/drawable_cmds.c
      	* app/pdb/internal_procs.c
      	* libgimp/gimpdrawable_pdb.[ch]: regenerated.
      f2382a6e
    • Michael Natterer's avatar
      removed if(image) checks where the image can't be NULL. · 9b9052b8
      Michael Natterer authored
      2005-07-09  Michael Natterer  <mitch@gimp.org>
      
      	* app/core/gimplayer.c: removed if(image) checks where the image
      	can't be NULL.
      9b9052b8
    • Sven Neumann's avatar
      formatting. · 841144ef
      Sven Neumann authored
      2005-07-09  Sven Neumann  <sven@gimp.org>
      
      	* app/base/pixel-surround.[ch]: formatting.
      841144ef
    • Sven Neumann's avatar
      gaussian_blur_region() writes to the pixel data, need to initialize the · 4b29677d
      Sven Neumann authored
      2005-07-09  Sven Neumann  <sven@gimp.org>
      
      	* app/core/gimpchannel.c (gimp_channel_real_feather):
      	gaussian_blur_region() writes to the pixel data, need to initialize
      	the pixel region with dirty == TRUE;
      
      	* app/paint-funcs/paint-funcs-generic.h: formatting.
      4b29677d
    • Michael Natterer's avatar
      added "sample-merged" property and API. Pass it to · df4aa071
      Michael Natterer authored
      2005-07-09  Michael Natterer  <mitch@gimp.org>
      
      	* app/widgets/gimpsamplepointeditor.[ch]: added "sample-merged"
      	property and API. Pass it to gimp_image_pick_color().
      
      	* app/actions/Makefile.am
      	* app/actions/actions.c
      	* app/actions/sample-point-editor-actions.[ch]
      	* app/actions/sample-point-editor-commands.[ch]: actions and
      	callbacks for the sample point editor's menu.
      
      	* app/widgets/gimphelp-ids.h: its help IDs.
      
      	* app/menus/menus.c
      	* menus/Makefile.am
      	* menus/sample-point-editor-menu.xml: the sample point editor menu.
      df4aa071
    • Michael Natterer's avatar
      if sample_merged is FALSE and drawable is NULL, just get the image's · 2a71ce5e
      Michael Natterer authored
      2005-07-09  Michael Natterer  <mitch@gimp.org>
      
      	* app/core/gimpimage-pick-color.c (gimp_image_pick_color): if
      	sample_merged is FALSE and drawable is NULL, just get the image's
      	active drawable instead of bailing out.
      
      	* app/widgets/gimpcursorview.c (gimp_cursor_view_update_cursor):
      	use gimp_image_pick_color() insted of duplicating its code.
      2a71ce5e
  7. 08 Jul, 2005 8 commits
    • Sven Neumann's avatar
      ellipsize the name label. · 184895d9
      Sven Neumann authored
      2005-07-09  Sven Neumann  <sven@gimp.org>
      
      	* app/widgets/gimpviewabledialog.c: ellipsize the name label.
      184895d9
    • Michael Natterer's avatar
      added boolean "sample-merged" property, API and GUI. Pick from the active · d928e769
      Michael Natterer authored
      2005-07-09  Michael Natterer  <mitch@gimp.org>
      
      	* app/widgets/gimpcursorview.[ch]: added boolean "sample-merged"
      	property, API and GUI. Pick from the active drawable if it's
      	FALSE.
      
      	* app/actions/Makefile.am
      	* app/actions/actions.c
      	* app/actions/cursor-info-actions.[ch]
      	* app/actions/cursor-info-commands.[ch]: new files with actions
      	and callbacks for the cursor info dialog's menu.
      
      	* app/widgets/gimphelp-ids.h: help IDs for above actions.
      
      	* app/actions/dialogs-actions.c
      	* app/dialogs/dialogs.c: follow help ID change.
      
      	* app/menus/menus.c
      	* menus/Makefile.am
      	* menus/cursor-info-menu.xml: add the cursor-info menu.
      
      	* app/dialogs/dialogs-constructors.c: pass the menu factory to
      	gimp_cursor_view_new().
      d928e769
    • Michael Natterer's avatar
      added boolean "sample-merged" property, API and GUI. Pick from the active · 2f7388db
      Michael Natterer authored
      2005-07-09  Michael Natterer  <mitch@gimp.org>
      
      	* app/widgets/gimpcursorview.[ch]: added boolean "sample-merged"
      	property, API and GUI. Pick from the active drawable if it's
      	FALSE.
      
      	* app/actions/Makefile.am
      	* app/actions/actions.c
      	* app/actions/cursor-info-actions.[ch]
      	* app/actions/cursor-info-commands.[ch]: new files with actions
      	and callbacks for the cursor info dialog's menu.
      
      	* app/widgets/gimphelp-ids.h: help IDs for above actions.
      
      	* app/dialogs/dialogs.c: follow help ID change.
      
      	* app/menus/menus.c
      	* menus/Makefile.am
      	* menus/cursor-info-menu.xml: add the cursor-info menu.
      
      	* app/dialogs/dialogs-constructors.c: pass the menu factory to
      	gimp_cursor_view_new().
      2f7388db
    • Sven Neumann's avatar
      plugged memory leaks. · 6248b954
      Sven Neumann authored
      2005-07-09  Sven Neumann  <sven@gimp.org>
      
      	* app/base/segmentator.c: plugged memory leaks.
      6248b954
    • Sven Neumann's avatar
      minor cleanup, use a GQueue instead of a custom queue implementation. · edc6dc95
      Sven Neumann authored
      2005-07-08  Sven Neumann  <sven@gimp.org>
      
      	* app/base/segmentator.c: minor cleanup, use a GQueue instead of a
      	custom queue implementation.
      edc6dc95
    • Sven Neumann's avatar
      minor cleanup. · 447ee796
      Sven Neumann authored
      2005-07-08  Sven Neumann  <sven@gimp.org>
      
      	* app/base/segmentator.c: minor cleanup.
      447ee796
    • Michael Natterer's avatar
      pass the color index value to gimp_color_frame_set_color() so it would · 7a883afa
      Michael Natterer authored
      2005-07-08  Michael Natterer  <mitch@gimp.org>
      
      	* app/widgets/gimpcursorview.c (gimp_cursor_view_update_cursor):
      	pass the color index value to gimp_color_frame_set_color() so it
      	would show up in the frame if we actually picked from indexed
      	things.
      7a883afa
    • Michael Natterer's avatar
      initialize the parent_class pointer with NULL. · ddfcad77
      Michael Natterer authored
      2005-07-08  Michael Natterer  <mitch@gimp.org>
      
      	* app/tools/gimpclonetool.c: initialize the parent_class pointer
      	with NULL.
      ddfcad77