1. 29 Mar, 2008 7 commits
    • Michael Natterer's avatar
      undef GIMP_DISABLE_DEPRECATED. · fc0885e6
      Michael Natterer authored
      2008-03-29  Michael Natterer  <mitch@gimp.org>
      
      	* libgimpmath/gimpmd5.c: undef GIMP_DISABLE_DEPRECATED.
      
      
      svn path=/trunk/; revision=25299
      fc0885e6
    • Michael Natterer's avatar
      <gdk/gdkx.h> needs #ifdef GDK_WINDOWING_X11. · a8156adf
      Michael Natterer authored
      2008-03-29  Michael Natterer  <mitch@gimp.org>
      
      	* app/gui/gui-vtable.c: <gdk/gdkx.h> needs #ifdef GDK_WINDOWING_X11.
      
      	* app/gui/gui.c: remove the include i accidentially added here.
      
      
      svn path=/trunk/; revision=25298
      a8156adf
    • Mukund Sivaraman's avatar
      Use #warning only if compiler is gcc. · 3c6b68c9
      Mukund Sivaraman authored
      2008-03-29  Mukund Sivaraman  <muks@mukund.org>
      
              * app/core/gimpdrawable-operation.c: Use #warning only if
              compiler is gcc.
      
      
      svn path=/trunk/; revision=25297
      3c6b68c9
    • Mukund Sivaraman's avatar
      plug-ins/imagemap/imap_cmd_move.c plug-ins/imagemap/imap_cmd_object_up.c · f87f2ba9
      Mukund Sivaraman authored
      2008-03-29  Mukund Sivaraman  <muks@mukund.org>
      
              * plug-ins/imagemap/imap_cmd_move.c
              * plug-ins/imagemap/imap_cmd_object_up.c
              * plug-ins/imagemap/imap_cmd_move_up.c
              * plug-ins/imagemap/imap_cmd_move_selected.c
              * plug-ins/imagemap/imap_cmd_move_sash.c
              * plug-ins/imagemap/imap_cmd_object_move.c
              * plug-ins/imagemap/imap_cmd_object_down.c
              * plug-ins/imagemap/imap_object.c
              * plug-ins/imagemap/imap_cmd_move_down.c
              * plug-ins/map-object/map-object-shade.c
              * plug-ins/map-object/map-object-apply.c
              * plug-ins/maze/maze.h
              * plug-ins/maze/maze_face.c
              * plug-ins/selection-to-path/selection-to-path.c
              * plug-ins/selection-to-path/edge.c
              * plug-ins/selection-to-path/pxl-outline.c
              * plug-ins/selection-to-path/fit.c
              * plug-ins/xjt/xjt.c
              * plug-ins/metadata/xmp-parse.c
              * plug-ins/print/print-draw-page.c
              * plug-ins/print/print-settings.c
              * plug-ins/lighting/lighting-preview.c: Cleanups / fixes for
              issues reported by Sparse.
      
      
      svn path=/trunk/; revision=25296
      f87f2ba9
    • Mukund Sivaraman's avatar
      plug-ins/common/sinus.c plug-ins/common/compose.c · 82166386
      Mukund Sivaraman authored
      2008-03-28  Mukund Sivaraman  <muks@mukund.org>
      
              * plug-ins/common/sinus.c
              * plug-ins/common/compose.c
              * plug-ins/common/screenshot.c
              * plug-ins/common/mng.c
              * plug-ins/common/wind.c
              * plug-ins/common/gif-save.c
              * plug-ins/common/video.c
              * plug-ins/common/sphere-designer.c
              * plug-ins/common/hot.c
              * plug-ins/common/red-eye-removal.c
              * plug-ins/common/tile-small.c
              * plug-ins/common/gbr.c
              * plug-ins/common/jigsaw.c
              * plug-ins/common/glob.c
              * plug-ins/common/despeckle.c
              * plug-ins/common/noise-randomize.c
              * plug-ins/common/convolution-matrix.c
              * plug-ins/common/gif-load.c
              * plug-ins/common/psd-save.c
              * plug-ins/common/emboss.c
              * plug-ins/common/csource.c
              * plug-ins/common/cml-explorer.c
              * plug-ins/common/grid.c
              * plug-ins/common/pcx.c
              * plug-ins/common/engrave.c
              * plug-ins/common/curve-bend.c: Cleanups / fixes for issues
              reported by Sparse.
      
      
      svn path=/trunk/; revision=25295
      82166386
    • Mukund Sivaraman's avatar
      gimp_md5_get_digest() is deprecated; using GChecksum instead. · 1a0db1b5
      Mukund Sivaraman authored
      2008-03-28  Mukund Sivaraman  <muks@mukund.org>
      
              * plug-ins/common/lcms.c: gimp_md5_get_digest() is deprecated;
              using GChecksum instead.
      
      
      svn path=/trunk/; revision=25294
      1a0db1b5
    • Mukund Sivaraman's avatar
      Fixes for some Sparse reported issues in app, libgimp*/ · 9ed6b3c7
      Mukund Sivaraman authored
      2008-03-28  Mukund Sivaraman  <muks@mukund.org>
      
              Fixes for some Sparse reported issues in app, libgimp*/
      
              * app/gui/gui-vtable.c: Included <gdk/gdkx.h>
      
              * libgimp/gimpprocview.c: author, date, copyright are pointers.
      
              * libgimpwidgets/gimpcolorprofilestore.c: Last argument of
              g_scanner_scope_add_symbol() is a pointer.
      
      
      svn path=/trunk/; revision=25293
      9ed6b3c7
  2. 28 Mar, 2008 18 commits
    • Mukund Sivaraman's avatar
      Fixes for some Sparse reported issues in app/ · 0708ffea
      Mukund Sivaraman authored
      2008-03-28  Mukund Sivaraman  <muks@mukund.org>
      
              Fixes for some Sparse reported issues in app/
      
              * app/core/gimpdrawable-operation.c: Added prototype for            
              gegl_node_add_child().
      
              * app/core/gimpcurve.c: Remove C99 code       
                                      
              * app/tools/gimpcurvestool.c 
              * app/tools/gimpperspectiveclonetool.c 
              * app/vectors/gimpstroke.c: Mark functions as static.
      
              * app/base/siox.c: state is a pointer.
      
              * app/plug-in/gimppluginprocframe.c: values is a pointer.
      
              * app/plug-in/plug-in-rc.c: plug_in_rc_parse() returns a pointer.
      
              * app/plug-in/gimpinterpreterdb.c: Check program[0] for '\0'
              instead of the pointer program itself.
      
      
      svn path=/trunk/; revision=25292
      0708ffea
    • Mukund Sivaraman's avatar
      Fixed a bug where a pointer to a gint is passed to a function which · 4831a428
      Mukund Sivaraman authored
      2008-03-28  Mukund Sivaraman  <muks@mukund.org>
      
              * plug-ins/common/png.c: Fixed a bug where a pointer to a gint
              is passed to a function which expects gsize, which can cause
              out of bounds access.
      
      
      svn path=/trunk/; revision=25291
      4831a428
    • Michael Natterer's avatar
      #include <gdk/gdkx.h> · a25d7c04
      Michael Natterer authored
      2008-03-28  Michael Natterer  <mitch@gimp.org>
      
      	* app/gui/gui.c: #include <gdk/gdkx.h>
      
      
      svn path=/trunk/; revision=25290
      a25d7c04
    • Michael Natterer's avatar
      plug-ins/script-fu/scripts/guides-from-selection.scm · 658d9f8d
      Michael Natterer authored
      2008-03-28  Michael Natterer  <mitch@gimp.org>
      
      	* plug-ins/script-fu/scripts/guides-from-selection.scm
      	* plug-ins/script-fu/scripts/guides-new-percent.scm
      	* plug-ins/script-fu/scripts/guides-new.scm
      	* plug-ins/script-fu/scripts/guides-remove-all.scm: use "*" as
      	image type (not "") so the menu item is disabled when there is no
      	image.
      
      
      svn path=/trunk/; revision=25289
      658d9f8d
    • Sven Neumann's avatar
      deprecate gimp_md5_get_digest() in favor of GCheckSum. · b29a050c
      Sven Neumann authored
      2008-03-28  Sven Neumann  <sven@gimp.org>
      
      	* libgimpmath/gimpmd5.[ch]: deprecate gimp_md5_get_digest() in
      	favor of GCheckSum.
      
      	* libgimpmath/test-md5.c: undef GIMP_DISABLE_DEPRECATED.
      
      svn path=/trunk/; revision=25288
      b29a050c
    • Sven Neumann's avatar
      use GCheckSum instead of the MD5 routine from libgimpmath. · 8203e1ac
      Sven Neumann authored
      2008-03-28  Sven Neumann  <sven@gimp.org>
      
      	* libgimpthumb/gimpthumb-utils.c (gimp_thumb_png_name): use
      	GCheckSum instead of the MD5 routine from libgimpmath.
      
      	* gimpthumb.pc.in
      	* libgimpthumb/Makefile.am: removed libgimpmath dependency from
      	libgimpthumb.
      
      svn path=/trunk/; revision=25287
      8203e1ac
    • Sven Neumann's avatar
      bumped glib version. · 369738ea
      Sven Neumann authored
      2008-03-28  Sven Neumann  <sven@gimp.org>
      
      	* app/sanity.c (sanity_check_glib): bumped glib version.
      
      svn path=/trunk/; revision=25286
      369738ea
    • Sven Neumann's avatar
      deprecate gimp_memsize_to_string() in favor of · fc93cc19
      Sven Neumann authored
      2008-03-28  Sven Neumann  <sven@gimp.org>
      
      	* libgimpbase/gimpmemsize.[ch]: deprecate gimp_memsize_to_string()
      	in favor of g_format_size_for_display().
      
      	* app/actions/edit-commands.c
      	* app/core/gimpimagefile.c
      	* app/dialogs/image-new-dialog.c
      	* app/dialogs/image-scale-dialog.c
      	* app/display/gimpdisplayshell-title.c
      	* app/widgets/gimpimagepropview.c
      	* app/widgets/gimptemplateeditor.c
      	* app/widgets/gimpthumbbox.c
      	* plug-ins/uri/uri-backend-gnomevfs.c
      	* plug-ins/uri/uri-backend-gvfs.c
      	* plug-ins/uri/uri-backend-libcurl.c
      	* plug-ins/uri/uri-backend-wget.c: use g_format_size_for_display()
      	instead of gimp_memsize_to_string().
      
      svn path=/trunk/; revision=25285
      fc93cc19
    • Sven Neumann's avatar
      put GIO check back in as we need it to initialize GIO_CFLAGS and GIO_LIBS. · 3f18f32c
      Sven Neumann authored
      2008-03-28  Sven Neumann  <sven@gimp.org>
      
      	* configure.in: put GIO check back in as we need it to initialize
      	GIO_CFLAGS and GIO_LIBS. Renamed --without-gio to --without-gvfs.
      
      	* INSTALL: changed accordingly.
      
      	* plug-ins/uri/Makefile.am
      	* plug-ins/uri/uri-backend-gio.c
      	* plug-ins/uri/uri-backend-gvfs.c: renamed the gio backend to gvfs.
      
      svn path=/trunk/; revision=25284
      3f18f32c
    • Djihed Afifi's avatar
      Updated Arabic Translation by . · 18605017
      Djihed Afifi authored
      svn path=/trunk/; revision=25277
      18605017
    • Michael Natterer's avatar
      move the call to gimp-selection-save inside the undo group. · 3a52a89c
      Michael Natterer authored
      2008-03-28  Michael Natterer  <mitch@gimp.org>
      
      	* plug-ins/script-fu/scripts/line-nova.scm (script-fu-line-nova):
      	move the call to gimp-selection-save inside the undo group.
      
      	(script-fu-register): use "*" as image type (not "") so the menu
      	item is disabled when there is no image.
      
      
      svn path=/trunk/; revision=25276
      3a52a89c
    • Michael Natterer's avatar
      require glib >= 2.16.1. Don't warn about deprecations for glib >= 2.19.0 · cd0c52d5
      Michael Natterer authored
      2008-03-28  Michael Natterer  <mitch@gimp.org>
      
      	* configure.in: require glib >= 2.16.1. Don't warn about
      	deprecations for glib >= 2.19.0 and gtk+ >= 2.15.0. Remove check
      	for GIO but keep the --without-gio option for the URI plugin.
      
      
      svn path=/trunk/; revision=25275
      cd0c52d5
    • Sven Neumann's avatar
      use a smaller font for the "Press F1..." label · e9e4fe24
      Sven Neumann authored
      svn path=/trunk/; revision=25274
      e9e4fe24
    • Sven Neumann's avatar
      show a custom tooltip for menu items and inform the user the she can get · a152374b
      Sven Neumann authored
      2008-03-28  Sven Neumann  <sven@gimp.org>
      
      	* libgimpwidgets/gimphelpui.c: show a custom tooltip for menu
      	items and inform the user the she can get more help by pressing F1.
      
      svn path=/trunk/; revision=25273
      a152374b
    • Sven Neumann's avatar
      more documentation updates · c6da8a38
      Sven Neumann authored
      svn path=/trunk/; revision=25272
      c6da8a38
    • Sven Neumann's avatar
      updated documentation. · 8ff74eea
      Sven Neumann authored
      2008-03-28  Sven Neumann  <sven@gimp.org>
      
      	* libgimpwidgets/gimphelpui.c: updated documentation.
      
      svn path=/trunk/; revision=25271
      8ff74eea
    • Sven Neumann's avatar
      app/dialogs/tips-parser.[ch] improved the creation of fallback tips in · 2206c6a8
      Sven Neumann authored
      2008-03-28  Sven Neumann  <sven@gimp.org>
      
      	* app/dialogs/tips-parser.[ch]
      	* app/dialogs/tips-dialog.c: improved the creation of fallback
      	tips in case of an error parsing the tips file.
      	(tips_dialog_create): simplified dialog layout.
      	
      	* app/dialogs/preferences-dialog.c: removed the check button for
      	the "show-tips" option.
      
      
      svn path=/trunk/; revision=25270
      2206c6a8
    • Sven Neumann's avatar
      data/tips/gimp-tips.dtd data/tips/gimp-tips.xml.in reverted some of the · 848a3e19
      Sven Neumann authored
      2008-03-28  Sven Neumann  <sven@gimp.org>
      
      	* data/tips/gimp-tips.dtd
      	* data/tips/gimp-tips.xml.in
      	* app/dialogs/tips-parser.[ch]: reverted some of the changes 
      from
      	yesterday. The simplification went too far and we inadvertently
      	lost an important feature.
      
      
      svn path=/trunk/; revision=25269
      848a3e19
  3. 27 Mar, 2008 15 commits
    • Sven Neumann's avatar
      changed message to say "Unsupported maximum value" instead of "Invalid · cdb1dd17
      Sven Neumann authored
      2008-03-27  Sven Neumann  <sven@gimp.org>
      
      	* plug-ins/common/pnm.c (load_image): changed message to say
      	"Unsupported maximum value" instead of "Invalid maximum value"
      	as suggested in bug #149723.
      
      
      svn path=/trunk/; revision=25268
      cdb1dd17
    • Sven Neumann's avatar
      data/tips/gimp-tips.dtd simplified the gimp-tips XML format as we do not · c64ae510
      Sven Neumann authored
      2008-03-27  Sven Neumann  <sven@gimp.org>
      
      	* data/tips/gimp-tips.dtd
      	* data/tips/gimp-tips.xml.in: simplified the gimp-tips XML 
      format
      	as we do not any longer need a special welcome tip.
      
      	* app/dialogs/tips-dialog.c
      	* app/dialogs/tips-parser.[ch]: changed accordingly.
      
      
      svn path=/trunk/; revision=25267
      c64ae510
    • Sven Neumann's avatar
      removed SHOW_TIPS_BLURB. · 9fba58b3
      Sven Neumann authored
      2008-03-27  Sven Neumann  <sven@gimp.org>
      
      	* app/config/gimprc-blurbs.h: removed SHOW_TIPS_BLURB.
      
      
      svn path=/trunk/; revision=25266
      9fba58b3
    • Sven Neumann's avatar
      Preparing for a revamp of the "Tip of the Day" feature: · 019b2439
      Sven Neumann authored
      2008-03-27  Sven Neumann  <sven@gimp.org>
      
      	Preparing for a revamp of the "Tip of the Day" feature:
      
      	* app/config/gimpguiconfig.[ch]: removed "show-tips" property.
      
      	* app/gui/gui.[ch]: removed gui_post_init() as it's only purpose 
      was
      	to show the tips dialog.
      
      	* app/app.c: changed accordingly.
      
      	* app/dialogs/tips-dialog.c: removed some stuff that we are not
      	going to need any longer.
      
      
      svn path=/trunk/; revision=25265
      019b2439
    • Sven Neumann's avatar
      minor improvements to the API docs. · 8d12e185
      Sven Neumann authored
      2008-03-27  Sven Neumann  <sven@gimp.org>
      
      	* libgimp/gimp.c: minor improvements to the API docs.
      
      
      svn path=/trunk/; revision=25264
      8d12e185
    • Sven Neumann's avatar
      Properly pass the focus from the core to plug-in dialogs: · 26d1021e
      Sven Neumann authored
      2008-03-27  Sven Neumann  <sven@gimp.org>
      
      	Properly pass the focus from the core to plug-in dialogs:
      
      	* libgimpbase/gimpprotocol.[ch]: added a user_time member to the
      	GimpConfig struct. Bumped the protocol version to 0x0012.
      
      	* app/core/gimp-gui.[ch]
      	* app/gui/gui-vtable.c: added gimp_get_user_time() to get the
      	timestamp of the last user interaction.
      
      	* app/plug-in/gimppluginmanager-call.c
      	(gimp_plug_in_manager_call_run): pass the timestamp to in the
      	GimpConfig message.
      
      	* libgimp/gimp.[ch]:
      	* libgimp/gimp.def: added method to access the timestamp as set
      	in the config message.
      
      	* libgimp/gimpui.c (gimp_ui_init): construct a fake startup ID and
      	set the DESKTOP_STARTUP_ID environment variable.
      
      svn path=/trunk/; revision=25263
      26d1021e
    • Sven Neumann's avatar
      open the new dock window at the mouse pointer position. · cca470e0
      Sven Neumann authored
      2008-03-27  Sven Neumann  <sven@gimp.org>
      
      	* app/widgets/gimpdockable.c (gimp_dockable_detach): open the new
      	dock window at the mouse pointer position.
      
      svn path=/trunk/; revision=25262
      cca470e0
    • Sven Neumann's avatar
      don't flush if there's no image. (gimp_display_shell_dnd_flush): use · ded9a6c3
      Sven Neumann authored
      2008-03-27  Sven Neumann  <sven@gimp.org>
      
      	* app/display/gimpdisplayshell-dnd.c
      	(gimp_display_shell_drop_uri_list): don't flush if there's no image.
      	(gimp_display_shell_dnd_flush): use gtk_window_present() instead of
      	gdk_window_focus().
      
      svn path=/trunk/; revision=25261
      ded9a6c3
    • Sven Neumann's avatar
      use a button with icon for the progress cancel button. · f98c7370
      Sven Neumann authored
      2008-03-27  Sven Neumann  <sven@gimp.org>
      
      	* app/display/gimpstatusbar.c: use a button with icon for the
      	progress cancel button.
      
      svn path=/trunk/; revision=25260
      f98c7370
    • Sven Neumann's avatar
      added an arbitrary number to the minimum height. · be216eea
      Sven Neumann authored
      2008-03-27  Sven Neumann  <sven@gimp.org>
      
      	* app/display/gimpdisplayshell.c (gimp_display_shell_style_set):
      	added an arbitrary number to the minimum height.
      
      svn path=/trunk/; revision=25259
      be216eea
    • Sven Neumann's avatar
      make sure that the statusbar frame requests enough space to hold it's · bfa3e921
      Sven Neumann authored
      2008-03-27  Sven Neumann  <sven@gimp.org>
      
      	* app/display/gimpstatusbar.c: make sure that the statusbar frame
      	requests enough space to hold it's children, also the invisible ones.
      
      	* app/display/gimpdisplayshell.c (gimp_display_shell_style_set):
      	don't add 1 pixel here, this spacing is gone.
      
      svn path=/trunk/; revision=25258
      bfa3e921
    • Sven Neumann's avatar
      derive GimpStatusbar from GtkStatusbar. Use the normal statusbar label for · 81c46c38
      Sven Neumann authored
      2008-03-27  Sven Neumann  <sven@gimp.org>
      
      	* app/display/gimpstatusbar.[ch]: derive GimpStatusbar from
      	GtkStatusbar. Use the normal statusbar label for statusbar
      	messages and only show the progressbar when progress is active.
      
      	* app/display/gimpdisplayshell.c (gimp_display_shell_new): removed
      	spacing from the main vertical box.
      
      svn path=/trunk/; revision=25257
      81c46c38
    • Sven Neumann's avatar
      cosmetic changes. · afc6fc11
      Sven Neumann authored
      2008-03-27  Sven Neumann  <sven@gimp.org>
      
      	* plug-ins/common/dicom.c (dicom_loader): cosmetic changes.
      
      svn path=/trunk/; revision=25256
      afc6fc11
    • Mukund Sivaraman's avatar
      Validated samples_per_pixel, changed the loop counter data type, and · e147e1de
      Mukund Sivaraman authored
      2008-03-27  Mukund Sivaraman  <muks@mukund.org>
      
              * plug-ins/common/dicom.c: Validated samples_per_pixel, changed
              the loop counter data type, and patched code to work on big endian
              CPUs.
      
      
      svn path=/trunk/; revision=25255
      e147e1de
    • Sven Neumann's avatar
      disable automatic startup notification. (gui_restore_after_callback): · 2df60469
      Sven Neumann authored
      2008-03-27  Sven Neumann  <sven@gimp.org>
      
      	* app/gui/gui.c (gui_init): disable automatic startup 
      notification.
      	(gui_restore_after_callback): notify the display enviroment that
      	the application has finished loading.
      
      	* app/gui/splash.c: no need to deal with startup notification 
      here
      	any longer.
      
      
      svn path=/trunk/; revision=25254
      2df60469