1. 30 Jul, 2005 2 commits
    • Sven Neumann's avatar
      loop unrolling. · 26eecddb
      Sven Neumann authored
      2005-07-30  Sven Neumann  <sven@gimp.org>
      
      	* app/base/gimphistogram.c (gimp_histogram_calculate_sub_region):
      	loop unrolling.
      
      	* app/dialogs/about-dialog.c
      	* app/widgets/gimpselectiondata.c
      	* plug-ins/bmp/bmpread.c (ReadBMP)
      	* plug-ins/gfig/gfig.c (gfig_load)
      	* plug-ins/imagemap/imap_preview.c
      	* plug-ins/imagemap/imap_selection.c
      	* plug-ins/jpeg/jpeg-exif.c
      	* plug-ins/common/dicom.c: fixed signedness warnings.
      26eecddb
    • Sven Neumann's avatar
      increase the size of the swap file in chunks of 16MB instead of only · 2300e2b7
      Sven Neumann authored
      2005-07-30  Sven Neumann  <sven@gimp.org>
      
      	* app/base/tile-swap.c: increase the size of the swap file in
      	chunks of 16MB instead of only 256KB. Check the return value of
      	ftruncate().
      2300e2b7
  2. 29 Jul, 2005 9 commits
    • Sven Neumann's avatar
      added "tools-foreground-select" to the Selection Tools menu. · f4adf361
      Sven Neumann authored
      2005-07-29  Sven Neumann  <sven@gimp.org>
      
      	* menus/image-menu.xml.in: added "tools-foreground-select" to the
      	Selection Tools menu.
      
      	* app/tools/gimpforegroundselecttool.c: resolved clashing mnemonic.
      f4adf361
    • Sven Neumann's avatar
      themes/Default/images/Makefile.am · b8fc8e60
      Sven Neumann authored
      2005-07-29  Sven Neumann  <sven@gimp.org>
      
      	* themes/Default/images/Makefile.am
      	* themes/Default/images/tools/stock-tool-foreground-select-16.png
      	* themes/Default/images/tools/stock-tool-foreground-select-22.png:
      	added placeholder for yet-to-be-drawn tool icon.
      
      	* libgimpwidgets/gimpstock.[ch]: register it.
      
      	* app/tools/gimpforegroundselecttool.c: use it.
      
      	* app/widgets/gimpclipboard.[ch] (gimp_clipboard_get_svg): return
      	a signed char pointer.
      
      	* app/actions/edit-commands.c
      	* app/tools/gimpinkoptions-gui.c: fixed signedness issues.
      b8fc8e60
    • Sven Neumann's avatar
      app/base/siox.[ch] pass progress_callback and progress_data to · a0265244
      Sven Neumann authored
      2005-07-29  Sven Neumann  <sven@gimp.org>
      
      	* app/base/siox.[ch]
      	* app/core/gimpdrawable-foreground-extract.c: pass progress_callback
      	and progress_data to siox_foreground_extract().
      a0265244
    • Sven Neumann's avatar
      keep a tail pointer. Speeds up the benchmark by about 50%. · 9dfb56a4
      Sven Neumann authored
      2005-07-29  Sven Neumann  <sven@gimp.org>
      
      	* app/base/siox.c (add_to_list): keep a tail pointer. Speeds up
      	the benchmark by about 50%.
      9dfb56a4
    • Sven Neumann's avatar
      added a progress parameter. · 2580f0c0
      Sven Neumann authored
      2005-07-29  Sven Neumann  <sven@gimp.org>
      
      	* app/core/gimpdrawable-foreground-extract.[ch]: added a progress
      	parameter.
      
      	* app/tools/gimpforegroundselecttool.[ch]: changed the "select"
      	method to take a GimpDisplay instead of a GimpImage.
      
      	* tools/pdbgen/pdb/drawable.pdb
      	* app/tools/gimpforegroundselecttool.c: changed accordingly.
      
      	* app/pdb/drawable_cmds.c: regenerated.
      2580f0c0
    • Sven Neumann's avatar
      added GimpForegroundExtractMode in preparation for other implementations · 23666d8f
      Sven Neumann authored
      2005-07-29  Sven Neumann  <sven@gimp.org>
      
      	* libgimpbase/gimpbaseenums.[ch]: added GimpForegroundExtractMode
      	in preparation for other implementations to be added in the future.
      
      	* libgimp/gimpenums.c.tail
      	* tools/pdbgen/enums.pl: regenerated.
      
      	* app/core/gimpdrawable-foreground-extract.[ch]
      	* app/tools/gimpforegroundselecttool.c
      	* tools/pdbgen/pdb/drawable.pdb: added the mode parameter.
      
      	* app/pdb/drawable_cmds.c
      	* libgimp/gimpdrawable_pdb.[ch]: regenerated.
      23666d8f
    • Sven Neumann's avatar
      no antialiasing for the foreground selection tool (yet). · 74345379
      Sven Neumann authored
      2005-07-29  Sven Neumann  <sven@gimp.org>
      
      	* app/tools/gimpselectionoptions.c (gimp_selection_options_gui): no
      	antialiasing for the foreground selection tool (yet).
      74345379
    • Sven Neumann's avatar
      added gimp_scan_convert_render_value(), a variant of · a5abd453
      Sven Neumann authored
      2005-07-29  Sven Neumann  <sven@gimp.org>
      
      	* app/core/gimpscanconvert.[ch]: added
      	gimp_scan_convert_render_value(), a variant of
      	gimp_scan_convert_render() that allows to pass the foreground value.
      
      	* app/tools/gimpfreeselecttool.[ch]: added a virtual "select" method.
      
      	* app/tools/Makefile.am
      	* app/tools/gimp-tools.c
      	* app/tools/gimpforegroundselecttool.[ch]: added a rough first
      	version of foreground selection tool based on the SIOX algorithm.
      	Work in progress...
      
      	* app/widgets/gimphelp-ids.h: added help-id for the new tool.
      a5abd453
    • Sven Neumann's avatar
      minor cleanup. · 81b81e33
      Sven Neumann authored
      2005-07-29  Sven Neumann  <sven@gimp.org>
      
      	* app/tools/gimpfreeselecttool.c: minor cleanup.
      81b81e33
  3. 28 Jul, 2005 4 commits
    • Sven Neumann's avatar
      minor cleanup. · fde49937
      Sven Neumann authored
      2005-07-29  Sven Neumann  <sven@gimp.org>
      
      	* app/base/siox.c (siox_foreground_extract): minor cleanup.
      fde49937
    • Sven Neumann's avatar
      added gimp_undo_stack_get_depth(). · 0728f76b
      Sven Neumann authored
      2005-07-29  Sven Neumann  <sven@gimp.org>
      
      	* app/core/gimpundostack.[ch]: added gimp_undo_stack_get_depth().
      
      	* app/widgets/gimpimagepropview.[ch]: display number and memory
      	usage of undo/redo steps.
      
      	* app/core/gimpimage-merge.c: fixed signedness issue.
      0728f76b
    • Sven Neumann's avatar
      accept an offset between pixels and mask, work only on the intersection · b82d4c46
      Sven Neumann authored
      2005-07-28  Sven Neumann  <sven@gimp.org>
      
      	* app/base/siox.[ch]: accept an offset between pixels and mask,
      	work only on the intersection rectangle.
      
      	* app/core/gimpdrawable-foreground-extract.c: pass the drawable
      	offsets to siox_foreground_extract().
      b82d4c46
    • Sven Neumann's avatar
      allow to enable some debug output. · 55f7b68c
      Sven Neumann authored
      2005-07-28  Sven Neumann  <sven@gimp.org>
      
      	* app/base/siox.c: allow to enable some debug output.
      55f7b68c
  4. 27 Jul, 2005 2 commits
    • Manish Singh's avatar
      #include gimpimage-colormap.h · bd5d4106
      Manish Singh authored
      2005-07-27  Manish Singh  <yosh@gimp.org>
      
              * app/core/gimpdrawable-foreground-extract.c: #include
              gimpimage-colormap.h
      bd5d4106
    • Sven Neumann's avatar
      app/core/Makefile.am moved cpercep from here ... · d429a944
      Sven Neumann authored
      2005-07-28  Sven Neumann  <sven@gimp.org>
      
      	* app/core/Makefile.am
      	* app/core/cpercep.[ch]: moved cpercep from here ...
      
      	* app/base/Makefile.am
      	* app/base/cpercep.[ch]: ... to here.
      
      	* app/base/siox.[ch]: use the cpercep routines for RGB->LAB
      	conversion, gives a 20% speedup. Removed normalization which seems
      	redundant. Make it work for grayscale and indexed, not only RGB.
      
      	* app/core/gimpdrawable-foreground-extract.c
      	* app/core/gimpimage-convert.c: changed accordingly.
      d429a944
  5. 25 Jul, 2005 2 commits
    • Michael Natterer's avatar
      Some DND fixes / cleanup: · c1c876a9
      Michael Natterer authored
      2005-07-25  Michael Natterer  <mitch@gimp.org>
      
      	Some DND fixes / cleanup:
      
      	* app/widgets/widgets-enums.h: renamed GIMP_DND_TYPE_TOOL to
      	GIMP_DND_TYPE_TOOL_INFO.
      
      	* app/widgets/gimpselectiondata.[ch]: s/tool/tool_info/g. Moved
      	private functions to the end of the file. Include GIMP's PID in
      	all GtkSelectionData strings which are used to pass around stuff
      	by reference. For things which are referenced by name, also encode
      	the object's address in the GtkSelectionData so having a brush
      	called "Standard" or a named buffer called "Global Buffer" will
      	work together with DND.
      
      	* app/widgets/gimpdnd.[ch]: s/tool/tool_info/g. Renamed
      	gimp_dnd_get_data_data() to gimp_dnd_get_object_data() since it's
      	not limited to GimpData objects. Follow above selection data API
      	changes. Cleanup.
      
      	* libgimp/gimpbrushmenu.c
      	* libgimp/gimpdrawablecombobox.c
      	* libgimp/gimpfontselectbutton.c
      	* libgimp/gimpgradientmenu.c
      	* libgimp/gimpimagecombobox.c
      	* libgimp/gimppalettemenu.c
      	* libgimp/gimppatternmenu.c: follow GtkSelectionData format change
      	and check the dropped things' PID against the return value of
      	gimp_getpid().
      c1c876a9
    • Sven Neumann's avatar
      on Win32, include <process.h> for getpid(). · 1999d56e
      Sven Neumann authored
      2005-07-25  Sven Neumann  <sven@gimp.org>
      
      	* tools/pdbgen/pdb/misc.pdb: on Win32, include <process.h> for
      	getpid().
      
      	* app/pdb/misc_cmds.c: regenerated.
      1999d56e
  6. 24 Jul, 2005 1 commit
    • Michael Natterer's avatar
      added gimp_getpid(). · 52329c57
      Michael Natterer authored
      2005-07-25  Michael Natterer  <mitch@gimp.org>
      
      	* tools/pdbgen/pdb/misc.pdb: added gimp_getpid().
      
      	* libgimp/gimp.def: changed accordingly.
      
      	* app/pdb/internal_procs.c
      	* app/pdb/misc_cmds.c
      	* libgimp/gimpmisc_pdb.[ch]: regenerated.
      52329c57
  7. 23 Jul, 2005 2 commits
  8. 22 Jul, 2005 3 commits
  9. 21 Jul, 2005 1 commit
  10. 20 Jul, 2005 1 commit
  11. 19 Jul, 2005 5 commits
  12. 18 Jul, 2005 1 commit
  13. 17 Jul, 2005 1 commit
    • Sven Neumann's avatar
      added missing casts. · 2c544f73
      Sven Neumann authored
      2005-07-17  Sven Neumann  <sven@gimp.org>
      
      	* app/widgets/gimpdnd-xds.c: added missing casts.
      2c544f73
  14. 16 Jul, 2005 1 commit
  15. 15 Jul, 2005 3 commits
    • Sven Neumann's avatar
      also show the number of pixels. · e2832729
      Sven Neumann authored
      2005-07-16  Sven Neumann  <sven@gimp.org>
      
      	* app/widgets/gimpimagepropview.[ch]: also show the number of pixels.
      e2832729
    • Sven Neumann's avatar
      fixed implementations. · 395c6dbf
      Sven Neumann authored
      2005-07-15  Sven Neumann  <sven@gimp.org>
      
      	* app/paint-funcs/paint-funcs.c (erode_region) (dilate_region):
      	fixed implementations.
      395c6dbf
    • Sven Neumann's avatar
      don't crash on empty palettes. · 873dec37
      Sven Neumann authored
      2005-07-15  Sven Neumann  <sven@gimp.org>
      
      	* app/widgets/gimpviewrendererpalette.c
      	(gimp_view_renderer_palette_render): don't crash on empty palettes.
      873dec37
  16. 14 Jul, 2005 2 commits
    • Michael Natterer's avatar
      app/widgets/gimphistogramview.c cleanup. · 8d856ef5
      Michael Natterer authored
      2005-07-14  Michael Natterer  <mitch@gimp.org>
      
      	* app/widgets/gimphistogramview.c
      	* app/widgets/gimpnavigationview.c: cleanup.
      8d856ef5
    • Michael Natterer's avatar
      added "entry-clicked" and "color-dropped" signals. Completely handle color · d280c77f
      Michael Natterer authored
      2005-07-14  Michael Natterer  <mitch@gimp.org>
      
      	* app/widgets/gimppaletteview.[ch]: added "entry-clicked" and
      	"color-dropped" signals. Completely handle color DND. Cleanup.
      
      	* app/core/gimpmarshal.list: marshallers for above signals.
      
      	* app/widgets/gimppaletteeditor.[ch]: chopped and reassembled.
      	Remove tons of code and use a GimpPaletteView instead of the
      	deprecated GtkPreview. Addresses bug #102204.
      d280c77f