1. 14 Apr, 2005 4 commits
    • Sven Neumann's avatar
      changed to use the location of the pointer instead of the display center. · 2f753123
      Sven Neumann authored
      2005-04-14  Sven Neumann  <sven@gimp.org>
      
      	* app/display/gimpdisplayshell-scale.c (gimp_display_shell_scale):
      	changed to use the location of the pointer instead of the display
      	center. This is the behaviour requested in bug #79384.
      2f753123
    • Sven Neumann's avatar
      app/display/gimpdisplayshell-callbacks.c reduced code duplication. · f595dfa7
      Sven Neumann authored
      2005-04-14  Sven Neumann  <sven@gimp.org>
      
      	* app/display/gimpdisplayshell-callbacks.c
      	* app/display/gimpdisplayshell-scale.[ch]: reduced code duplication.
      f595dfa7
    • Sven Neumann's avatar
      changed to keep the point under the mouse at the same location, rather · 2db22a50
      Sven Neumann authored
      2005-04-14  Sven Neumann  <sven@gimp.org>
      
      	* app/display/gimpdisplayshell-scale.c (gimp_display_shell_scale_to):
      	changed to keep the point under the mouse at the same location,
      	rather than to center it. Also added API docs.
      2db22a50
    • Simon Budig's avatar
      Started a PDB api for vectors/strokes. Not yet functional, this commit is · 5658edd0
      Simon Budig authored
      2005-04-14  Simon Budig  <simon@gimp.org>
      
      	Started a PDB api for vectors/strokes. Not yet functional, this
      	commit is to get the infrastructure up and running.
      
      	* app/vectors/gimpstroke.[ch]
      	* app/vectors/gimpvectors.[ch]: Added IDs to the strokes
      
      	* tools/pdbgen/pdb.pl: corrected "vectors" type, deleted "path" type.
      	* tools/pdbgen/pdb/image.pdb: added gimp_image_get_vectors()
      	* tools/pdbgen/pdb/vectors.pdb: New file for the vectors API
      	(just a stub for now)
      
      	* tools/pdbgen/Makefile.am: Added vectors.pdb
      	* tools/pdbgen/groups.pl: regenerated.
      
      	* plug-ins/script-fu/siod-wrapper.c: Enable the Path/Vectors type.
      
      	* libgimp/gimpvectors_pdb.[ch]
      	* app/pdb/vectors_cmds.c: new autogenerated files.
      
      	* libgimp/Makefile.am
      	* app/pdb/Makefile.am: Added new autogenerated file.
      
      	* libgimp/gimp_pdb.h
      	* libgimp/gimpimage_pdb.[ch]
      	* app/pdb/image_cmds.c
      	* app/pdb/internal_procs.c: regenerated.
      5658edd0
  2. 13 Apr, 2005 5 commits
    • Sven Neumann's avatar
      fixed gtk-doc comment. · 21a16899
      Sven Neumann authored
      2005-04-13  Sven Neumann  <sven@gimp.org>
      
      	* app/core/gimplayer.c: fixed gtk-doc comment.
      21a16899
    • Sven Neumann's avatar
      app/display/gimpdisplayshell-callbacks.c when using Ctrl-wheel to zoom · e3d08ef7
      Sven Neumann authored
      2005-04-13  Sven Neumann  <sven@gimp.org>
      
      	* app/display/gimpdisplayshell-callbacks.c
      	* app/display/gimpdisplayshell-scale.[ch]: when using Ctrl-wheel
      	to zoom in/out, center on the mouse position (bug #79384).
      e3d08ef7
    • Adi Attar's avatar
      Added Xhosa translation Added Xhosa translation Added Xhosa translation · b249e872
      Adi Attar authored
      2005-04-13  Adi Attar  <aattar@cvs.gnome.org>
      
      	* po/xh.po: Added Xhosa translation
      	* po-libgimp/xh.po: Added Xhosa translation
      	* po-plug-ins/xh.po: Added Xhosa translation
      	* po-script-fu/xh.po: Added Xhosa translation
      	* configure.in: Added "xh" to ALL_LINGUAS.
      b249e872
    • Sven Neumann's avatar
      set GIMP_CONFIG_PARAM_CONFIRM on the "font-path" property. Set · f04aca1e
      Sven Neumann authored
      2005-04-13  Sven Neumann  <sven@gimp.org>
      
      	* app/config/gimpcoreconfig.c: set GIMP_CONFIG_PARAM_CONFIRM on
      	the "font-path" property. Set GIMP_CONFIG_PARAM_IGNORE for
      	"font-path-writable".
      
      	* app/dialogs/preferences-dialog.c: don't use "font-path-writable".
      
      	* app/core/gimp.c (gimp_restore)
      	* app/text/gimp-fonts.c: handle --no-fonts similar to --no-data
      	and allow to load the fonts later by pressing "Refresh" in the
      	fonts dialog.
      f04aca1e
    • Sven Neumann's avatar
      register handler for the "GimpPaint" log domain. · aca3e853
      Sven Neumann authored
      2005-04-13  Sven Neumann  <sven@gimp.org>
      
      	* app/app_procs.c: register handler for the "GimpPaint" log domain.
      
      	* app/core/gimpdatafactory.c (gimp_data_factory_init): don't load
      	any data if TRUE is passed for no_data.
      
      	* app/tools/gimppainttool.c (gimp_paint_tool_draw): handle a NULL
      	brush gracefully.
      aca3e853
  3. 12 Apr, 2005 6 commits
    • Sven Neumann's avatar
      handle a NULL palette with GIMP_CUSTOM_PALETTE type, use the builtin mono · 0e678c4c
      Sven Neumann authored
      2005-04-13  Sven Neumann  <sven@gimp.org>
      
      	* app/core/gimpimage-convert.c (gimp_image_convert): handle a NULL
      	palette with GIMP_CUSTOM_PALETTE type, use the builtin mono
      	palette as fallback.
      
      	* app/dialogs/convert-dialog.c: handle empty palette container.
      
      	* app/gui/gui-vtable.c (gui_pdb_dialog_new): removed unused code.
      
      	* tools/pdbgen/pdb/convert.pdb: don't load the palettes implicitely.
      
      	* app/pdb/convert_cmds.c: regenerated.
      0e678c4c
    • Michael Natterer's avatar
      don't use the image container as display container. · bf1b9651
      Michael Natterer authored
      2005-04-13  Michael Natterer  <mitch@gimp.org>
      
      	* app/widgets/gimpimagedock.c (gimp_image_dock_image_changed):
      	don't use the image container as display container.
      bf1b9651
    • Sven Neumann's avatar
      added gimp_data_factory_refresh(). · c3807c6a
      Sven Neumann authored
      2005-04-13  Sven Neumann  <sven@gimp.org>
      
      	* app/core/gimpdatafactory.[ch]: added gimp_data_factory_refresh().
      
      	* app/actions/data-commands.c
      	* tools/pdbgen/pdb/brushes.pdb
      	* tools/pdbgen/pdb/convert.pdb
      	* tools/pdbgen/pdb/gradients.pdb
      	* tools/pdbgen/pdb/palettes.pdb
      	* tools/pdbgen/pdb/patterns.pdb: use the new function.
      
      	* app/pdb/brushes_cmds.c
      	* app/pdb/convert_cmds.c
      	* app/pdb/gradients_cmds.c
      	* app/pdb/palettes_cmds.c
      	* app/pdb/patterns_cmds.c: regenerated.
      c3807c6a
    • Sven Neumann's avatar
      n2005-04-12 Sven Neumann <sven@gimp.org> · 0c91d7d6
      Sven Neumann authored
      	* app/core/gimpcontainer.[ch]: added gimp_container_is_empty().
      
      	* app/core/gimpcontext.c
      	* app/core/gimpimage.c
      	* app/dialogs/palette-import-dialog.c
      	* app/text/gimptextlayer.c
      	* app/widgets/gimpimagedock.c: use the new function.
      0c91d7d6
    • Michael Natterer's avatar
      undo the "cosmetic changes" of 2005-03-20. Fixes bug #300269. · b64b4a8f
      Michael Natterer authored
      2005-04-12  Michael Natterer  <mitch@gimp.org>
      
      	* app/core/gimp-transform-utils.c
      	(gimp_transform_matrix_perspective): undo the "cosmetic changes"
      	of 2005-03-20. Fixes bug #300269.
      b64b4a8f
    • Raphael Quinet's avatar
      updated test for libjpeg so that it requires version 6b (27-Mar-1998) or · 5d300d57
      Raphael Quinet authored
      2005-04-12  Raphael Quinet  <raphael@gimp.org>
      
      	* configure.in: updated test for libjpeg so that it requires
      	version 6b (27-Mar-1998) or later.
      
      	* plug-ins/jpeg/jpeg.h
      	* plug-ins/jpeg/jpeg.c
      	* plug-ins/jpeg/jpeg-load.c
      	* plug-ins/jpeg/jpeg-save.h
      	* plug-ins/jpeg/jpeg-save.c: added support for loading and saving
      	XMP packets in JPEG APP1 markers, simplified the code that reads
      	comments from COM markers and removed #ifdef HAVE_PROGRESSIVE_JPEG
      	because we require jpeg-6b, which includes progressive support.
      5d300d57
  4. 11 Apr, 2005 7 commits
    • William Skaggs's avatar
      Bill Skaggs <weskaggs@primate.ucdavis.edu> · 2931f246
      William Skaggs authored
      	* plug-ins/Lighting/lighting_shade.c:  Fix typo responsible for
      	bug #300122, also revise env-mapping code to make it perform
      	better.
      2931f246
    • David Odin's avatar
      small cleanups, more will come. · 02878f0e
      David Odin authored
      * plug-ins/common/convmatrix.c: small cleanups, more will come.
      02878f0e
    • Michael Natterer's avatar
      Let the user decide whether tool options are persistant or not as · e6063f61
      Michael Natterer authored
      2005-04-11  Michael Natterer  <mitch@gimp.org>
      
      	Let the user decide whether tool options are persistant or not as
      	suggested in bug #165078:
      
      	* app/config/gimprc-blurbs.h
      	* app/config/gimpguiconfig.[ch]: added "gboolean save_tool_options".
      
      	* app/tools/gimp-tools.[ch]: implement the same logic as for
      	devicerc and essionrc: added gimp_tools_clear() which deletes the
      	stored tool options and added "save_tool_options" and
      	"always_save" parameters to gimp_tools_save(). Everything affects
      	just the primary tool options, *not* the separately saved presets
      	for each tool.
      
      	* app/gui/gui.c (gui_exit_callback): changed accordingly.
      
      	* app/dialogs/preferences-dialog.c: added GUI for the stuff above
      	in the style of the devicerc and seccionrc prefs GUIs.
      e6063f61
    • Raphael Quinet's avatar
      plug-ins/metadata/base64.h Added implementation of base64_decode(), use · fc18afbf
      Raphael Quinet authored
      2005-04-11  Raphael Quinet  <raphael@gimp.org>
      
      	* plug-ins/metadata/base64.h
      	* plug-ins/metadata/base64.c: Added implementation of
      	base64_decode(), use gsize or gssize for sizes.
      fc18afbf
    • Raphael Quinet's avatar
      Register plug_in_metadata_import and plug_in_metadata_export in the PDB. · 66f98bf3
      Raphael Quinet authored
      2005-04-11  Raphael Quinet  <raphael@gimp.org>
      
      	* plug-ins/metadata/metadata.c: Register plug_in_metadata_import
      	and plug_in_metadata_export in the PDB.
      
      	* plug-ins/metadata/Makefile.am
      	* plug-ins/metadata/base64.h
      	* plug-ins/metadata/base64.c: Added base64 decoder, needed for
      	reading the thumbnail images (base64 encoded inside XML element).
      
      	* plug-ins/metadata/xmp-parse.h
      	* plug-ins/metadata/xmp-parse.c: Added XMP_PTYPE_ALT_THUMBS for
      	parsing a list of thumbnail images.  Decode and store the base64
      	encoded images.
      
      	* plug-ins/metadata/xmpdump.c
      	* plug-ins/metadata/xmp-model.h
      	* plug-ins/metadata/xmp-model.c: Added support for thumbnails,
      	defined global symbols for standard XMP schema URIs.
      
      	* plug-ins/metadata/interface.c: Preliminary support for widget
      	cross-references just for testing - it does not save anything yet.
      	Added thumbnail tab, although the thumbnail image is not displayed
      	yet.
      66f98bf3
    • Michael Natterer's avatar
      don't include "core/gimpviewable.h" · 1fe869bb
      Michael Natterer authored
      2005-04-11  Michael Natterer  <mitch@gimp.org>
      
      	* app/widgets/gimpclipboard.c: don't include "core/gimpviewable.h"
      1fe869bb
    • Sven Neumann's avatar
      added a hint to the statusbar. Closes bug #300125. · 77379e88
      Sven Neumann authored
      2005-04-11  Sven Neumann  <sven@gimp.org>
      
      	* app/tools/gimpfuzzyselecttool.c: added a hint to the statusbar.
      	Closes bug #300125.
      77379e88
  5. 10 Apr, 2005 4 commits
  6. 09 Apr, 2005 11 commits
    • Michael Natterer's avatar
      app/file/file-utils.c app/tools/gimpfliptool.c · 09ef4b1d
      Michael Natterer authored
      2005-04-10  Michael Natterer  <mitch@gimp.org>
      
      	* app/file/file-utils.c
      	* app/tools/gimpfliptool.c
      	* app/widgets/gimpcontainertreeview.c
      	* app/widgets/gimppaletteselect.c: removed unneeded base/ includes.
      09ef4b1d
    • Sven Neumann's avatar
      Merged from gimp-2-2 branch: · bf83e514
      Sven Neumann authored
      2005-04-09  Sven Neumann  <sven@gimp.org>
      
              Merged from gimp-2-2 branch:
      
              * menus/Makefile.am
              * tips/Makefile.am: changed the validate rules to work with srcdir
              != builddir.
      bf83e514
    • Michael Natterer's avatar
      added gimp_buffer_new_from_pixbuf(). · 9d439fe0
      Michael Natterer authored
      2005-04-09  Michael Natterer  <mitch@gimp.org>
      
      	* app/core/gimpbuffer.[ch]: added gimp_buffer_new_from_pixbuf().
      
      	* app/widgets/gimpclipboard.c: removed
      	tile_manager_new_from_pixbuf() and base/ dependency.
      9d439fe0
    • Manish Singh's avatar
      #include <string.h> for strcmp, and fix gdk_atom_intern usage. · b31216d0
      Manish Singh authored
      005-04-09  Manish Singh  <yosh@gimp.org>
      
              * app/widgets/gimppixbuf.c: #include <string.h> for strcmp, and
              fix gdk_atom_intern usage.
      b31216d0
    • Sven Neumann's avatar
      quote the shell command passed to execl(). Fixes bug #169909. · 094c7ed2
      Sven Neumann authored
      2005-04-09  Sven Neumann  <sven@gimp.org>
      
      	* plug-ins/print/print.c: quote the shell command passed to execl().
      	Fixes bug #169909.
      094c7ed2
    • William Skaggs's avatar
      Bill Skaggs <weskaggs@primate.ucdavis.edu> · b41d8898
      William Skaggs authored
      	* app/tools/gimpnewrectselecttool.[ch]
      	* app/tools/gimprectangletool.[ch]: more work on rectangle
      	tool ui.
      b41d8898
    • Sven Neumann's avatar
      typos · 053a1913
      Sven Neumann authored
      053a1913
    • Michael Natterer's avatar
      Implement dragging and dropping in any GdkPixbuf supported format. Fixes · 76096459
      Michael Natterer authored
      2005-04-09  Michael Natterer  <mitch@gimp.org>
      
      	Implement dragging and dropping in any GdkPixbuf supported
      	format. Fixes bug #172794 and bug #172795.
      
      	* app/core/gimplayer.[ch] (gimp_layer_new_from_region): new
      	function which contains all stuff that was in
      	gimp_layer_new_from_tiles().
      
      	(gimp_layer_new_from_tiles): use above function.
      	(gimp_layer_new_from_pixbuf): new function.
      
      	* app/widgets/Makefile.am
      	* app/widgets/gimppixbuf.[ch]: new files containing GdkPixbuf
      	utility functions for clipboard and DnD.
      
      	* app/widgets/gimpselectiondata.[ch]: removed
      	gimp_selection_data_set,get_pixbuf(), GTK+ provides the same API.
      	Also removed GdkAtom parameters all over the place because it's
      	always the same as selection_data->target.
      
      	* app/widgets/gimpclipboard.c: use the new pixbuf utility
      	functions and gtk_selection_data_set,get_pixbuf().
      
      	* app/widgets/widgets-enums.h
      	* app/widgets/gimpdnd.[ch]: removed never-implemented
      	GIMP_DND_TYPE_PNG and added a generic GIMP_DND_TYPE_PIXBUF
      	instead. Added API to drag and drop GdkPixbufs which transparently
      	converts from/to and GdkPixbuf-supported image format. Removed
      	passing around of GdkAtoms, since they were always the same
      	as selection_data->target.
      
      	* app/widgets/gimpdnd-xds.[ch]: follow GdkAtom parameter removal.
      
      	* app/widgets/gimpcontainertreeview.[ch]: added virtual function
      	GimpContainerTreeView::drop_pixbuf().
      
      	* app/widgets/gimpcontainertreeview-dnd.c: dispatch drop_pixbuf().
      
      	* app/widgets/gimplayertreeview.c: implement drop_pixbuf().
      
      	* app/widgets/gimpdrawabletreeview.c: allow to drag all drawables
      	as pixbufs.
      
      	* app/display/gimpdisplayshell-dnd.c: allow dropping of pixbufs.
      76096459
    • William Skaggs's avatar
      Bill Skaggs <weskaggs@primate.ucdavis.edu> · 45816085
      William Skaggs authored
      	* plug-ins/common/screenshot.c: Change default back to Window
      	rather than Root.  When shooting window, delay after instead
      	of before selecting, so shooting menus etc becomes possible.
      45816085
    • Manish Singh's avatar
      GetDataBlock returns -1 on error, so count should be an int, not an · 1996db30
      Manish Singh authored
      2005-04-09  Manish Singh  <yosh@gimp.org>
      
              * plug-ins/common/gifload.c (GetCode): GetDataBlock returns -1 on
              error, so count should be an int, not an unsigned char. Fixes
              bug #173119.
      1996db30
    • Sven Neumann's avatar
      implement color counting without changing the image-type to RGB. A save · 361f8a63
      Sven Neumann authored
      2005-04-09  Sven Neumann  <sven@gimp.org>
      
      	* plug-ins/winicon/icosave.c: implement color counting without
      	changing the image-type to RGB. A save plug-in must not change the
      	image.
      361f8a63
  7. 08 Apr, 2005 3 commits