1. 30 Jul, 2005 1 commit
    • 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
  2. 29 Jul, 2005 2 commits
    • 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
      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
  3. 28 Jul, 2005 1 commit
    • 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
  4. 25 Jul, 2005 1 commit
    • 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
  5. 23 Jul, 2005 1 commit
  6. 22 Jul, 2005 3 commits
  7. 21 Jul, 2005 1 commit
  8. 19 Jul, 2005 3 commits
    • Michael Natterer's avatar
      app/widgets/Makefile.am new files keeping the render acceleration check · 19ea2a9d
      Michael Natterer authored
      2005-07-19  Michael Natterer  <mitch@gimp.org>
      
      	* app/widgets/Makefile.am
      	* app/widgets/gimprender.[ch]: new files keeping the render
      	acceleration check buffers.
      
      	* app/display/gimpdisplayshell-render.[ch]: removed them here.
      
      	* app/gui/gui.c: initialize/shutdown the new buffers.
      
      	* app/widgets/gimpcolormapeditor.c
      	* app/widgets/gimpviewrenderer.c
      	* app/widgets/gimpviewrenderergradient.c
      	* app/actions/view-actions.c
      	* app/display/gimpdisplayshell-appearance.c
      	* app/display/gimpdisplayshell-draw.c
      	* app/display/gimpdisplayshell.c: use the new stuff. Removes
      	lots of broken widgets -> display dependencies.
      19ea2a9d
    • Michael Natterer's avatar
      renamed member "palette" to "preview", cleanup. · 7e11ba99
      Michael Natterer authored
      2005-07-19  Michael Natterer  <mitch@gimp.org>
      
      	* app/widgets/gimpcolormapeditor.[ch]: renamed member "palette"
      	to "preview", cleanup.
      7e11ba99
    • Sven Neumann's avatar
      try a different style for the info labels below the histogram; mainly to · 1e76f341
      Sven Neumann authored
      2005-07-19  Sven Neumann  <sven@gimp.org>
      
      	* app/widgets/gimphistogrameditor.c: try a different style for the
      	info labels below the histogram; mainly to avoid repositioning.
      1e76f341
  9. 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
  10. 15 Jul, 2005 2 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
      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
  11. 14 Jul, 2005 3 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
    • 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
  12. 13 Jul, 2005 5 commits
  13. 10 Jul, 2005 3 commits
    • 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-ins/common/vpropagate.c
      	* plug-ins/script-fu/scripts/3d-outline.scm
      	* plug-ins/script-fu/scripts/alien-glow-bar.scm
      	* plug-ins/script-fu/scripts/alien-glow-bullet.scm
      	* plug-ins/script-fu/scripts/alien-glow-logo.scm
      	* plug-ins/script-fu/scripts/basic1-logo.scm
      	* plug-ins/script-fu/scripts/basic2-logo.scm
      	* plug-ins/script-fu/scripts/beveled-pattern-button.scm
      	* plug-ins/script-fu/scripts/blend-anim.scm
      	* plug-ins/script-fu/scripts/blended-logo.scm
      	* plug-ins/script-fu/scripts/bovinated-logo.scm
      	* plug-ins/script-fu/scripts/burn-in-anim.scm
      	* plug-ins/script-fu/scripts/carved-logo.scm
      	* plug-ins/script-fu/scripts/chalk.scm
      	* plug-ins/script-fu/scripts/chip-away.scm
      	* plug-ins/script-fu/scripts/comic-logo.scm
      	* plug-ins/script-fu/scripts/coolmetal-logo.scm
      	* plug-ins/script-fu/scripts/crystal-logo.scm
      	* plug-ins/script-fu/scripts/drop-shadow.scm
      	* plug-ins/script-fu/scripts/gimp-headers.scm
      	* plug-ins/script-fu/scripts/gimp-labels.scm
      	* plug-ins/script-fu/scripts/glowing-logo.scm
      	* plug-ins/script-fu/scripts/gradient-bevel-logo.scm
      	* plug-ins/script-fu/scripts/image-structure.scm
      	* plug-ins/script-fu/scripts/neon-logo.scm
      	* plug-ins/script-fu/scripts/perspective-shadow.scm
      	* plug-ins/script-fu/scripts/starburst-logo.scm
      	* plug-ins/script-fu/scripts/starscape-logo.scm
      	* plug-ins/script-fu/scripts/textured-logo.scm
      	* plug-ins/script-fu/scripts/title-header.scm
      	* plug-ins/script-fu/scripts/waves-anim.scm
      	* plug-ins/xjt/xjt.c: changed accordingly.
      20b4769c
    • 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
  14. 09 Jul, 2005 2 commits
    • 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
  15. 08 Jul, 2005 4 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 · 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
    • 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
      enable remote files: set local_only to FALSE if the PDB has · c6ca1a84
      Michael Natterer authored
      2005-07-08  Michael Natterer  <mitch@gimp.org>
      
      	* app/widgets/gimpfiledialog.c (gimp_file_dialog_new): enable
      	remote files: set local_only to FALSE if the PDB has
      	"file_uri_load/save" procedures (yes, this is questionable).
      c6ca1a84
  16. 07 Jul, 2005 2 commits
    • Michael Natterer's avatar
      app/actions/documents-actions.c app/actions/documents-commands.[ch] · 8611bb4c
      Michael Natterer authored
      2005-07-07  Michael Natterer  <mitch@gimp.org>
      
      	* app/actions/documents-actions.c
      	* app/actions/documents-commands.[ch]
      	* app/widgets/gimphelp-ids.h
      	* menus/documents-menu.xml: added "Copy Image Location" to the
      	document history popup menu which copies the image's URI to
      	clipbpard and primary.
      8611bb4c
    • Sven Neumann's avatar
      app/actions/gradient-editor-commands.c app/widgets/gimpcolordialog.c · 0c9b36d8
      Sven Neumann authored
      2005-07-07  Sven Neumann  <sven@gimp.org>
      
      	* app/actions/gradient-editor-commands.c
      	* app/widgets/gimpcolordialog.c
      	* app/widgets/gimpdock.c
      	* plug-ins/gflare/gflare.c
      	* plug-ins/script-fu/script-fu-server.c: specify alternative
      	button order in some places that were missed earlier (spotted by
      	Stephan Binner).
      0c9b36d8
  17. 06 Jul, 2005 1 commit
    • Michael Natterer's avatar
      set a search column. · bb3cdd53
      Michael Natterer authored
      2005-07-06  Michael Natterer  <mitch@gimp.org>
      
      	* app/widgets/gimpactionview.c (gimp_action_view_new): set a
      	search column.
      bb3cdd53
  18. 27 Jun, 2005 3 commits
    • Sven Neumann's avatar
      app/tools/gimpcurvestool.c app/tools/gimplevelstool.c added missing casts. · d9c4bdc4
      Sven Neumann authored
      2005-06-27  Sven Neumann  <sven@gimp.org>
      
      	* app/tools/gimpcurvestool.c
      	* app/tools/gimplevelstool.c
      	* app/widgets/gimpwidgets-constructors.c: added missing casts.
      d9c4bdc4
    • Sven Neumann's avatar
      added new constructor gimp_enum_combo_box_new_with_model(). Also override · b23b0350
      Sven Neumann authored
      2005-06-27  Sven Neumann  <sven@gimp.org>
      
      	* libgimpwidgets/gimpenumcombobox.[ch]: added new constructor
      	gimp_enum_combo_box_new_with_model(). Also override the "model"
      	property to make it clear that GimpEnumComboBox expects to be
      	used with GimpEnumStore.
      
      	* libgimpwidgets/gimpwidgets.def: updated.
      
      	* app/tools/gimpcurvestool.c
      	* app/tools/gimplevelstool.c
      	* app/widgets/gimpwidgets-constructors.c: use the new constructor.
      
      	* libgimpwidgets/gimpenumlabel.h
      	* libgimpwidgets/gimpenumstore.h
      	* libgimpwidgets/gimpintcombobox.h
      	* libgimpwidgets/gimpintstore.h: use "parent_class", not
      	"parent_instance" when including the parent struct.
      b23b0350
    • Sven Neumann's avatar
      dialog layout tweaks. · 7215e14c
      Sven Neumann authored
      2005-06-27  Sven Neumann  <sven@gimp.org>
      
      	* app/widgets/gimpcolordisplayeditor.c: dialog layout tweaks.
      7215e14c
  19. 25 Jun, 2005 1 commit