1. 30 Sep, 2005 10 commits
    • Michael Natterer's avatar
      app/actions/image-commands.c app/actions/layers-commands.c · e7e2296f
      Michael Natterer authored
      2005-09-30  Michael Natterer  <mitch@gimp.org>
      
      	* app/actions/image-commands.c
      	* app/actions/layers-commands.c
      	* app/actions/view-actions.c
      	* app/core/gimpdrawable-foreground-extract.c
      	* app/core/gimpimagefile.c
      	* app/core/gimpprogress.c
      	* app/dialogs/convert-dialog.c
      	* app/tools/gimpblendtool.c
      	* app/tools/gimpperspectivetool.c
      	* app/tools/gimprotatetool.c
      	* app/tools/gimpscaletool.c
      	* app/tools/gimpsheartool.c
      	* app/tools/gimptransformtool.c
      	* app/widgets/gimpthumbbox.c
      	* tools/pdbgen/pdb/drawable_transform.pdb
      	* tools/pdbgen/pdb/edit.pdb
      	* tools/pdbgen/pdb/transform_tools.pdb: removed '...' from
      	progress messages. Removed spaces between the text and the '...'
      	in some other places.
      
      	* app/pdb/drawable_transform_cmds.c
      	* app/pdb/edit_cmds.c
      	* app/pdb/transform_tools_cmds.c: regenerated.
      e7e2296f
    • Michael Natterer's avatar
      a-r-g-h!!! · 3ddaa79b
      Michael Natterer authored
      3ddaa79b
    • Michael Natterer's avatar
      oops... · e74278f5
      Michael Natterer authored
      e74278f5
    • Michael Natterer's avatar
      added stubs of two new snapping functions. · 8db6b9cf
      Michael Natterer authored
      2005-09-30  Michael Natterer  <mitch@gimp.org>
      
      	* app/vectors/gimpstroke.[ch]: added stubs of two new snapping
      	functions.
      
      	* app/core/gimpimage-snap.c: removed their #defines here.
      8db6b9cf
    • Sven Neumann's avatar
      app/core/core-enums.[ch] moved GimpGridStyle enum to libgimpbase. · f6b37095
      Sven Neumann authored
      2005-09-30  Sven Neumann  <sven@gimp.org>
      
      	* app/core/core-enums.[ch]
      	* libgimpbase/gimpbaseenums.[ch]: moved GimpGridStyle enum to
      	libgimpbase.
      
      	* app/core/gimpimage-grid.h: indentation.
      
      	* app/pdb/Makefile.am
      	* libgimp/Makefile.am
      	* tools/pdbgen/Makefile.am
      	* tools/pdbgen/pdb/grid.pdb: applied slightly modified patch by
      	Sylvain FORET that adds a PDB API for the image grid.
      
      	* app/pdb/grid_cmds.c
      	* app/pdb/internal_procs.c
      	* libgimp/gimp_pdb.h
      	* libgimp/gimpenums.c.tail
      	* libgimp/gimpgrid_pdb.[ch]
      	* tools/pdbgen/enums.pl
      	* tools/pdbgen/groups.pl: (re)generated.
      
      	* libgimp/gimp.def
      	* libgimpbase/gimpbase.def: updated.
      f6b37095
    • Michael Natterer's avatar
      use GIMP_STOCK_CHAR_PICKER for the keyboard shortcuts dialog. Not quite · 9bab9caf
      Michael Natterer authored
      2005-09-30  Michael Natterer  <mitch@gimp.org>
      
      	* app/actions/dialogs-actions.c (dialogs_toplevel_actions): use
      	GIMP_STOCK_CHAR_PICKER for the keyboard shortcuts dialog. Not
      	quite right but at least greppable when we have a proper icon.
      9bab9caf
    • Michael Natterer's avatar
      removed forgotten foreign registration of · 50eb1684
      Michael Natterer authored
      2005-09-30  Michael Natterer  <mitch@gimp.org>
      
      	* app/dialogs/dialog.c: removed forgotten foreign registration of
      	"gimp-keyboard-shortcuts-dialog".
      50eb1684
    • Sven Neumann's avatar
      app/actions/dialogs-actions.c app/dialogs/dialogs-constructors.[ch] · f3bfb29a
      Sven Neumann authored
      2005-09-30  Sven Neumann  <sven@gimp.org>
      
      	* app/actions/dialogs-actions.c
      	* app/dialogs/dialogs-constructors.[ch]
      	* app/dialogs/dialogs.c
      	* app/dialogs/keyboard-shortcuts-dialog.[ch]: register the keyboard
      	shortcut dialog with the dialog factory as singleton toplevel dialog.
      
      	* app/dialogs/preferences-dialog.c: changed accordingly.
      
      	* menus/image-menu.xml.in: added a "Keyboard Shortcuts" entry to
      	the Edit menu.
      f3bfb29a
    • Sven Neumann's avatar
      actually add the new files · b762bed4
      Sven Neumann authored
      * app/dialogs/keyboard-shortcuts-dialog.[ch]: actually add the new files
      b762bed4
    • Sven Neumann's avatar
      app/dialogs/Makefile.am app/dialogs/keyboard-shortcuts-dialog.[ch] · 14d7fb7f
      Sven Neumann authored
      2005-09-30  Sven Neumann  <sven@gimp.org>
      
      	* app/dialogs/Makefile.am
      	* app/dialogs/keyboard-shortcuts-dialog.[ch]
      	* app/dialogs/preferences-dialog.c
      	* app/widgets/gimphelp-ids.h: moved Keyboard Shortcuts dialog into
      	it's own file.
      14d7fb7f
  2. 29 Sep, 2005 2 commits
    • Sven Neumann's avatar
      app/base/tile-cache.c app/base/tile-manager.c app/base/tile-private.h · c995db3c
      Sven Neumann authored
      2005-09-29  Sven Neumann  <sven@gimp.org>
      
      	* app/base/tile-cache.c
      	* app/base/tile-manager.c
      	* app/base/tile-private.h
      	* app/base/tile-swap.c
      	* app/base/tile.c: keep the data size of a tile in the Tile struct
      	instead of recalculating it over and over again. Adds an overhead
      	of 4 bytes per tile but speeds up the tile cache significantly.
      c995db3c
    • Sven Neumann's avatar
      optimizations by Tobias Lenz. · b3a7108d
      Sven Neumann authored
      2005-09-29  Sven Neumann  <sven@gimp.org>
      
      	* app/base/siox.c: optimizations by Tobias Lenz.
      b3a7108d
  3. 28 Sep, 2005 3 commits
  4. 27 Sep, 2005 7 commits
    • Sven Neumann's avatar
      replaced binary operations with a naive but faster implementation using a · f478549b
      Sven Neumann authored
      2005-09-28  Sven Neumann  <sven@gimp.org>
      
      	* app/paint-funcs/paint-funcs-generic.h (swap_pixels): replaced
      	binary operations with a naive but faster implementation using a
      	local variable.
      
      	* app/composite/gimp-composite-generic.c
      	(gimp_composite_swap_any_any_any_generic): same change here.
      f478549b
    • Sven Neumann's avatar
      replaced the binary XOR operations with a naive but faster implementation · 8c9e9140
      Sven Neumann authored
      2005-09-28  Sven Neumann  <sven@gimp.org>
      
      	* app/paint-funcs/paint-funcs-generic.h (swap_pixels): replaced
      	the binary XOR operations with a naive but faster implementation
      	using a local variable.
      8c9e9140
    • Sven Neumann's avatar
      minor code cleanups by Tobias Lenz. · 46644093
      Sven Neumann authored
      2005-09-27  Sven Neumann  <sven@gimp.org>
      
      	* app/base/siox.c: minor code cleanups by Tobias Lenz.
      46644093
    • Michael Natterer's avatar
      app/actions/data-commands.c app/actions/file-commands.c · 9412ca8e
      Michael Natterer authored
      2005-09-27  Michael Natterer  <mitch@gimp.org>
      
      	* app/actions/data-commands.c
      	* app/actions/file-commands.c
      	* app/actions/templates-commands.c
      	* app/dialogs/image-scale-dialog.c
      	* app/dialogs/resize-dialog.c
      	* app/dialogs/vectors-options-dialog.c
      	* app/tools/gimptexttool.c
      	* libgimpwidgets/gimpcolorbutton.c
      	* plug-ins/Lighting/lighting_ui.c
      	* plug-ins/common/AlienMap2.c
      	* plug-ins/common/aa.c
      	* plug-ins/gimpressionist/orientmap.c
      	* plug-ins/script-fu/script-fu-interface.c
      	* plug-ins/xjt/xjt.c: fixed indentation in calls to
      	gtk_dialog_set_alternative_button_order().
      9412ca8e
    • Michael Natterer's avatar
      added gimp-buffers-get-list, should probably get its own PDB group. · 4503b4a2
      Michael Natterer authored
      2005-09-27  Michael Natterer  <mitch@gimp.org>
      
      	* tools/pdbgen/pdb/buffer.pdb: added gimp-buffers-get-list,
      	should probably get its own PDB group.
      
      	* libgimp/gimp.def: changed accordingly.
      
      	* app/pdb/buffer_cmds.c
      	* app/pdb/internal_procs.c
      	* libgimp/gimpbuffer_pdb.[ch]: regenerated.
      4503b4a2
    • Sven Neumann's avatar
      app/core/gimp-gui.h app/core/gimp-utils.h app/core/gimpimage-undo.h · 489aebab
      Sven Neumann authored
      2005-09-27  Sven Neumann  <sven@gimp.org>
      
      	* app/core/gimp-gui.h
      	* app/core/gimp-utils.h
      	* app/core/gimpimage-undo.h
      	* app/text/gimptextlayer.h
      	* app/widgets/gimpeditor.h
      	* app/widgets/gimpmenufactory.h
      	* app/widgets/gimpmessagedialog.h
      	* app/widgets/gimpsessioninfo.h
      	* app/widgets/gimptooldialog.h
      	* app/widgets/gimpviewabledialog.h: use G_GNUC_NULL_TERMINATED
      	where appropriate.
      489aebab
    • Michael Natterer's avatar
      added gimp_buffer_get_bytes() and gimp_buffer_get_image_type(). · 30f1e8ef
      Michael Natterer authored
      2005-09-27  Michael Natterer  <mitch@gimp.org>
      
      	* app/core/gimpbuffer.[ch]: added gimp_buffer_get_bytes()
      	and gimp_buffer_get_image_type().
      
      	* tools/pdbgen/pdb/edit.pdb: removed edit_named_rename() and
      	edit_named_delete().
      
      	* tools/pdbgen/Makefile.am
      	* tools/pdbgen/groups.pl
      	* tools/pdbgen/pdb/buffer.pdb: new PDB group featuring
      	buffer_rename(), delete(), get_width(), get_height(), get_bytes(),
      	get_image_type().
      
      	* app/pdb/Makefile.am
      	* libgimp/Makefile.am
      	* libgimp/gimp.def: changed accordingly.
      
      	* app/pdb/buffer_cmds.c
      	* app/pdb/edit_cmds.c
      	* app/pdb/internal_procs.c
      	* libgimp/gimp_pdb.h
      	* libgimp/gimpbuffer_pdb.[ch]
      	* libgimp/gimpedit_pdb.[ch]: (re)generated.
      30f1e8ef
  5. 26 Sep, 2005 6 commits
    • Sven Neumann's avatar
      applied patch from Robert Ögren that works around problem creating guides · 06a27d21
      Sven Neumann authored
      2005-09-26  Sven Neumann  <sven@gimp.org>
      
      	* app/display/gimpdisplayshell.c (gimp_display_shell_new): applied
      	patch from Robert Ögren that works around problem creating guides
      	with a tablet on Windows by enabling extension events for the
      	rulers.  Fixes the first problem described in bug #168516.
      
      	* configure.in: bumped version to 2.3.5.
      06a27d21
    • Michael Natterer's avatar
      Allow to disable the color picker info dialog. Fixes bug #315011: · 6a4bf029
      Michael Natterer authored
      2005-09-26  Michael Natterer  <mitch@gimp.org>
      
      	Allow to disable the color picker info dialog. Fixes bug #315011:
      
      	* app/tools/tools-enums.[ch] (enum GimpColorPickerMode): added
      	value GIMP_COLOR_PICK_MODE_PALETTE.
      
      	* app/tools/gimpcolorpickeroptions.[ch]: deprecated property
      	"add-to-palette" and added property "use-info-window". Changed
      	tool options GUI accordingly.
      
      	* app/tools/gimpcolorpickertool.c
      	(gimp_color_picker_tool_modifier_key): made <shift> toggle
      	the use-info-window property.
      
      	(gimp_color_picker_tool_picked): moved palette picking code
      	into the pick_mode switch() statement.
      
      	* app/tools/gimpcolortool.c (gimp_color_tool_cursor_update):
      	show a "plus" cursor when adding to the palette.
      6a4bf029
    • Michael Natterer's avatar
      resurrected. · ee509002
      Michael Natterer authored
      2005-09-26  Michael Natterer  <mitch@gimp.org>
      
      	* app/actions/debug-commands.c (debug_dump_menus_cmd_callback)
      	(debug_dump_menus_recurse_menu): resurrected.
      ee509002
    • Michael Natterer's avatar
      Allow plug-ins to register menu entries in the <Brushes>, <Gradients>, · 48cdc653
      Michael Natterer authored
      2005-09-26  Michael Natterer  <mitch@gimp.org>
      
      	Allow plug-ins to register menu entries in the <Brushes>,
      	<Gradients>, <Palettes>, <Patterns> and <Fonts> menus:
      
      	* app/actions/actions.c (action_data_get_gimp): return a Gimp
      	also if "data" is a GimpContainerView or GimpContainerEditor.
      
      	* app/gui/gui-vtable.c (gui_menus_add_proc)
      	* app/plug-in/plug-in-params.c (plug_in_proc_args_check): support
      	the new plug-in menu locations.
      
      	* app/menus/menus.c (menus_init): add the "plug-in" action group
      	to the resp. UI managers.
      
      	* menus/brushes-menu.xml
      	* menus/buffers-menu.xml
      	* menus/fonts-menu.xml
      	* menus/gradients-menu.xml
      	* menus/palettes-menu.xml
      	* menus/patterns-menu.xml: added separators at the end of the menus.
      
      	* plug-ins/script-fu/scripts/font-map.scm: -> <Fonts>
      	* plug-ins/script-fu/scripts/gradient-example.scm: -> <Gradients>
      	* plug-ins/script-fu/scripts/mkbrush.scm: -> <Brushes>
      
      	* plug-ins/script-fu/script-fu.c (script_fu_extension_init): don't
      	register the "Make Brush" menu branch.
      48cdc653
    • Michael Natterer's avatar
      renamed action back to "Paste as New" and added a second action with the · f9812220
      Michael Natterer authored
      2005-09-26  Michael Natterer  <mitch@gimp.org>
      
      	* app/actions/edit-actions.c: renamed action back to "Paste as
      	New" and added a second action with the "New Image" label. The
      	original label is needed for <Toolbox>/File/Acquire.
      
      	* menus/image-menu.xml.in: changed accordingly.
      f9812220
    • Michael Natterer's avatar
      drop the restriction that plug-ins registered in <Image> must have · 0c2d06f7
      Michael Natterer authored
      2005-09-26  Michael Natterer  <mitch@gimp.org>
      
      	* app/plug-in/plug-in-params.c (plug_in_proc_args_check): drop the
      	restriction that plug-ins registered in <Image> must have
      	RUN-MODE, IMAGE, DRAWABLE parameters because everything but
      	RUN-MODE is actually treated as optional be the rest of the code.
      
      	* plug-ins/script-fu/scripts/paste-as-brush.scm
      	* plug-ins/script-fu/scripts/paste-as-pattern.scm: removed IMAGE
      	and DRAWABLE parameters.
      
      	* plug-ins/common/screenshot.c
      	* plug-ins/twain/twain.c
      	* plug-ins/winsnap/winsnap.c: register menu entries in
      	<Image>/File/Acquire
      0c2d06f7
  6. 25 Sep, 2005 12 commits
    • Sven Neumann's avatar
      app/core/gimpdata.c app/file/file-save.c use g_access() from gstdio.h. · 48392713
      Sven Neumann authored
      2005-09-26  Sven Neumann  <sven@gimp.org>
      
      	* app/core/gimpdata.c
      	* app/file/file-save.c
      	* app/file/file-open.c: use g_access() from gstdio.h.
      
      	* app/config/gimpconfig-file.c (gimp_config_file_copy)
      	* libgimpthumb/gimpthumbnail.c: use g_chmod() from gstdio.h.
      
      	* app/file/gimprecentlist.c
      	* libgimpconfig/gimpconfigwriter.c: use g_creat() from gstdio.h.
      48392713
    • Sven Neumann's avatar
      INSTALL bumped the required version of glib to 2.8. · cef547b0
      Sven Neumann authored
      2005-09-26  Sven Neumann  <sven@gimp.org>
      
      	* INSTALL
      	* configure.in: bumped the required version of glib to 2.8.
      
      	* app/main.c: use G_OPTION_ARG_NONE flag with callback options
      	that take no argument. Fixes command-line options needed for 'make
      	dist', such as '--dump-gimprc'
      cef547b0
    • Michael Natterer's avatar
      app/actions/edit-actions.c added "Edit/Paste as" submenu and moved "Paste · 642c4735
      Michael Natterer authored
      2005-09-25  Michael Natterer  <mitch@gimp.org>
      
      	* app/actions/edit-actions.c
      	* menus/image-menu.xml.in: added "Edit/Paste as" submenu and moved
      	"Paste as new" there (renamed to "New Image").
      
      	* plug-ins/script-fu/scripts/Makefile.am
      	* plug-ins/script-fu/scripts/paste-as-brush.scm
      	* plug-ins/script-fu/scripts/paste-as-pattern.scm: new scripts
      	roughly derived from select-to-brush and select-to-pattern.
      
      	* plug-ins/script-fu/scripts/select-to-brush.scm
      	* plug-ins/script-fu/scripts/select-to-image.scm
      	* plug-ins/script-fu/scripts/select-to-pattern.scm: don't register
      	menu entries.
      642c4735
    • Sven Neumann's avatar
      applied patch from Gerald Friedland and Tobias Lenz. Introduces a hash · d43c5c07
      Sven Neumann authored
      2005-09-25  Sven Neumann  <sven@gimp.org>
      
      	* app/base/siox.[ch]: applied patch from Gerald Friedland and
      	Tobias Lenz. Introduces a hash table to speed up the algorithm
      	and changes the post-processing so that multiple disjunct objects
      	can be selected.
      
      	* app/tools/gimpforegroundselecttool.c: changed tooltip, the tool
      	doesn't any longer extract single objects only.
      d43c5c07
    • Hans Breuer's avatar
      updated · 0b515bec
      Hans Breuer authored
      2005-09-24  Hans Breuer  <hans@breuer.org>
      
      	* **makefile.msc : updated
      
      	* app/dialogs/user-install-dialog.c : only add the migrate page if
      	there is something to migrate from. Avoids on version being NULL.
      
      	* app/dialogs/file-save-dialog.c : the g_print() output was crashing
      	on the assumption that ->menu_label != NULL. It is for colorhtml.py.
      
      	* app/widgets/gimpselectiondata.c : use HAVE_UNISTD_H and move
      	* process.h definition by G_OS_WIN32 below it being defined
      	* app/widgets/gimpwidgets-utils.c(gimp_window_get_native) : cast
      	return value to (GdkNativeWindow) it is not necessary an int.
      
      	* libgimpwidgets/gimpwidgets.def : added gimp_zoom_type_get_type
      
      	* plug-ins/help/gimp-help-lookup.c : dynamic lookup of help_root
      	instead of hard-coding DATADIR/GIMP_HELP_PREFIX
      
      	* plug-ins/xjt/xjt.c : there is no pid_t with msvc, typedef one.
      0b515bec
    • Michael Natterer's avatar
      app/actions/plug-in-actions.c get rid of Filters/Effects because it · 1abb0139
      Michael Natterer authored
      2005-09-25  Michael Natterer  <mitch@gimp.org>
      
      	* app/actions/plug-in-actions.c
      	* menus/image-menu.xml.in: get rid of Filters/Effects because it
      	doesn't mean anything. Added Filters/Generic and Filters/Combine
      	back instead. Not perfect either but more meaningful.
      
      	* plug-ins/common/depthmerge.c
      	* plug-ins/common/film.c: -> Filters/Combine
      
      	* plug-ins/common/convmatrix.c
      	* plug-ins/common/vpropagate.c: -> Filters/Generic
      
      	* plug-ins/script-fu/scripts/erase-rows.scm: -> Filters/Distorts
      
      	* plug-ins/script-fu/scripts/predator.scm: -> Filters/Artistic
      1abb0139
    • Michael Natterer's avatar
      app/dialogs/convert-dialog.c added icons to the affirmative action · 70bfb88a
      Michael Natterer authored
      2005-09-25  Michael Natterer  <mitch@gimp.org>
      
      	* app/dialogs/convert-dialog.c
      	* app/dialogs/palette-import-dialog.c: added icons to the
      	affirmative action buttons.
      70bfb88a
    • Michael Natterer's avatar
      use GIMP_STOCK_CHAR_PICKER for the actions which are only there for · e73303d8
      Michael Natterer authored
      2005-09-25  Michael Natterer  <mitch@gimp.org>
      
      	* app/actions/view-actions.c (view_zoom_actions): use
      	GIMP_STOCK_CHAR_PICKER for the actions which are only there for
      	keyboard shortcuts. Not perfect but better than before.
      e73303d8
    • Michael Natterer's avatar
      made Shift+Ctrl+W the shortcut for "Close all". · 24cb1cf4
      Michael Natterer authored
      2005-09-25  Michael Natterer  <mitch@gimp.org>
      
      	* app/actions/file-actions.c (file_actions): made Shift+Ctrl+W the
      	shortcut for "Close all".
      24cb1cf4
    • Sven Neumann's avatar
      libgimpwidgets/gimpwidgets.def added gimp_zoom_model_zoom() and changed · 1f0aff2b
      Sven Neumann authored
      2005-09-25  Sven Neumann  <sven@gimp.org>
      
      	* libgimpwidgets/gimpwidgets.def
      	* libgimpwidgets/gimpzoommodel.[ch]: added gimp_zoom_model_zoom()
      	and changed gimp_zoom_model_get_fraction() to take a model instead
      	of the zoom factor.
      
      	* app/display/gimpdisplayshell.[ch]: use a GimpZoomModel for the
      	display scale factor.
      
      	* app/actions/image-commands.c
      	* app/actions/view-actions.c
      	* app/actions/view-commands.c
      	* app/display/gimpdisplayshell-callbacks.c
      	* app/display/gimpdisplayshell-scale.c
      	* app/display/gimpdisplayshell-title.c
      	* app/display/gimpnavigationeditor.c
      	* app/display/gimpstatusbar.c
      	* app/tools/gimpeditselectiontool.c
      	* app/tools/gimpmagnifytool.c: changed accordingly.
      1f0aff2b
    • Karine Delvare's avatar
      fixed assignment of local variable "rectangle_exists". · 13041a7e
      Karine Delvare authored
      2005-09-25  Karine Delvare  <kdelvare@nerim.net>
      
        * app/tools/gimpcroptool.c: fixed assignment of local variable
        "rectangle_exists".
      13041a7e
    • Sven Neumann's avatar
      fixed assignment of local variable "rectangle_exists". · 44ba7755
      Sven Neumann authored
      2005-09-25  Sven Neumann  <sven@gimp.org>
      
      	* app/tools/gimpnewrectselecttool.c: fixed assignment of local
      	variable "rectangle_exists".
      44ba7755